Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

I have an image that will not display continuously

     I'm using a program that is meant to be run continuously and refresh the image every time it runs.  What's happening is that instead of a continuous image displayed in the window I get brief, spontaneous flashes of the image in between long periods of nothing.  I am also displaying live statistics of the image and this is being updated continuously.  This program was written and used previously in LabVIEW 7 and I am now using 8.  I think that's where the problem is stemming from.  I tested the program on a computer with 7 and the image displayed properly, but I need to use 8 for the testing I am doing.  Any thoughts?
Jonathan
0 Kudos
Message 1 of 3
(3,264 Views)

I am willing to bet that you are using the original displayed image for processing as well.  This changes the displayed image, which will update even after you display it.  If you do binary processing, the image looks black in most cases.

Your best solution is to copy the image, so you have one called Display and one called Process.  Copy the image right after you acquire it, then wire Display to the display and do the processing on Process.

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 3
(3,254 Views)

Thanks for your help Bruce,

   I've got the image up for most of the time now, with short gaps where the image drops out, a big improvement over what it was.  I tried to go about the method you suggested, but in some stages of the processing there are shapes overlayed on the images which I need to be able to see.  Using the copy did not allow me to view these overlays.  What the program appeared to be doing to draw these shapes was writing to individual image property nodes for each shape and line sub vi.  I cleaned this up a by wiring the initial image to one, then the rest to each other, with the final sub vi sending the image out to the display.

  Like I said, now there are short periods where the image drops out, which I'm guessing is a function of the while loop that it is in.  Still it's working a lot better.  Thank you for your help and if you have any more thoughts on the issue I'd be glad to hear them.

Message Edited by JonJovi on 07-06-2007 09:47 AM

Jonathan
0 Kudos
Message 3 of 3
(3,243 Views)