Image Does Not Update When Using a Local Variable for Image Display

Updated Jan 10, 2018

Reported In

Software

  • LabVIEW Full

Driver

  • NI-IMAQ
  • NI-IMAQdx

Issue Details


Why does the current image not show when using a local variable for the Image Display?

Solution

This can occur if you change the image type for what is being displayed. The image display indicator will automatically adapt its palette type to the input image data type.  

For example, if a threshold is performed and the resulting image is binary, the image display’s palette type will change to binary to show the image. However, the image display's palette type will not adapt if the image is sent using a local variable.

To solve this, if you must use a local variable to update the image display with a new image, first use a property node to change the palette type of the image display to the expected type.

WAS THIS ARTICLE HELPFUL?

Not Helpful