01-25-2010 05:09 PM
Please see attached image first.
In this VI, I have an 'image in', then process the image in a FOR loop and out to an image display. But the weird thing is I got nothing in the image display. I set the 'Snapshot' mode, and I even tried to probe each image wire, even the probes don't return any visible image. This puzzled me so bad. Does any one knwo the reason? By the way, the image is definitely there, because the next VI following this one physically saves all the images into my harddrive.
Thanks much.
01-25-2010 05:27 PM
01-26-2010 12:07 PM
01-26-2010 12:12 PM
01-26-2010 01:09 PM
01-26-2010 01:35 PM
My next question is where the image data coming from? Is it 1. generated in one of vis inside FOR loop or does it 2. come from just before FOR loop and being manipulated inside the loop?
In case 1 I would examine the vi that produces the image data, probe for any errors and verify that you can see the image
in case 2 pretty much same as 1, except it has nothing to do with FOR loop, you have to go back to where the image data is being generated and verify that it is there prior to getting into FOR loop.
01-26-2010 02:03 PM
I appreciate your time to help. Thanks much.
The image is set before the loop. Inside the FOR loop, for each iteration, a small image was stitched into this image. I probed each individual small images and I can see them.
And I did probe where the image size was set; and yes, I can see it, a large black image. After that, it's invisible. There is no error all through, and like I said, I can physically save the data into the hard drive.
01-26-2010 02:52 PM
I would examine the Image Cut and Stitch vi. It appears that it receives the valid black image on first iteration and then instead of gradually replacing black image rows (stitching) with some valid image data it mangles the whole thing.
Also you can try to run FOR loop only once by giving it array with a single element so that whatever data is generated will be sent directly to the output image without stitching. If you will see the narrow image, then you will confirm that stitching somehow is causing your problem