Vision Processing in LabView

Our team has (finally) gotten our electronics together and begun to test and tweak our code. In order to test and adjust the parameters of our vision code, we have introduced a global variable containing multiple image indicators. At various points throughout our Vision Processing SubVI, we are writing to these variables as a way to “probe” the status of an image after each successive stage of processing.

When we try to run this code and have the global variable’s front panel open, we see the images flashing every few seconds and then reverting to black. I do not understand, given that the Vision Processing VI is the only place where this global variable is referenced, why the image becomes black when information is not actively being received.

Is there any way to fix this? Thanks!

Perhaps your image is turned to a binary image. When it goes black, try right clicking it and setting the image view as binary.

Images are a bit odd since they are one of the few reference types in LV. They are reference types because of their size.

The end-result is that modifications to the named image will impact the display in a somewhat random way. If you right click on an image display and turn on Snapshots, it should help with flashing due to intermediate operations on a named operation.

Greg McKaskle