home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!sgigate!sgi!fido!texas!robert
- From: robert@texas.asd.sgi.com (Robert Skinner)
- Newsgroups: comp.graphics.explorer
- Subject: Re: Need help with my module
- Date: 27 Jan 1993 01:02:48 GMT
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 38
- Message-ID: <1k4mvoINNt20@fido.asd.sgi.com>
- References: <1993Jan25.195823.12754@alw.nih.gov>
- NNTP-Posting-Host: texas.asd.sgi.com
-
-
- In article <1993Jan25.195823.12754@alw.nih.gov>, howardy@freud.nia.nih.gov writes:
- >
- > /*x_dim is number of colums while y_dim is number of row*/
- > cxOutputDataSet(cxOutputPortOpen("slice_lattice"), lattice_2d);
-
- Everything looks OK to me. I'd start debugging at the output
- and work my way up:
-
- what does cxOutputPortOpen("slice_lattice") return?
- -- should be >= 0, if not, then port "slice_lattice"
- doesn't exist
-
- what is lattice_2d?
- -- should not be != NULL, if it is, then something
- is wrong with the inputs to cxLatNew. Print them
- out. If its not obvious what the problem is, post
- another article.
-
-
-
- Robert Skinner
-
- PSALM OF THE TWENTY-THIRD YEAR
-
- Dr. ( ) is my professor
- I shall not pass.
- He maketh me to exhibit mine ignorance before the whole class.
- He telleth me more than I can write.
- He lowreth mine grades.
- Yea, though I walk through the corridors of knowledge, I do not learn.
- He tryeth to teach me.
- He writeth equations before me in hopes that I will understand them.
- He bombardeth my head with integrations.
- My calculator freezeth up.
- Surely enthalpies and entropies shall follow me all the days of my life
- And I shall dwell in the School of
- Engineering forever.
-