03-02-2010 06:33 PM
I wrote simple code to threshold an image after extracting the color plane.
I donot see anything on the Image window after I run the code. Its blank.
I donot know what is the issue. I posted my code here. I donot know what
I am doing wrong. let me know.
03-02-2010 11:27 PM
03-03-2010 06:04 PM
Arjun,
I was able to fix the issue by enabling the Snapshot option of the image indicator:
This is how the NI Vision for LabVIEW Help describes the Snapshot option:
Display an Image Dim hasPlayer, playerversion hasPlayer = false playerversion = 10 Do While playerversion > 0 On Error Resume Next hasPlayer = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & playerversion))) If hasPlayer = true Then Exit Do playerversion = playerversion - 1 Loop is_FlashVersion = playerversion is_Flash = hasPlayer
![]() |
Note To cause the Image Display control to refresh the image immediately, use the Refresh Image method. To create a method, right-click the control, and select Create»Invoke Node. Click the Invoke Node once to see the available methods. Methods specific to the Image Display control appear at the end of the shortcut menu. |