From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Front panel hangs when wait for requested image to become available

When calling IMAQdx Get Image the front panel of my VI freezes until a frame comes or until the timeout period expires.
I am using IMAQdx get image in timeout event (in event structure) 
Any suggestions??
Jasraj Rajpurohit
0 Kudos
Message 1 of 4
(2,109 Views)
-That is what expected behaviour generally from IMAQdx Get Image.
-It waits untill the image is available or reaches timeout(default 5000ms).
-If required you can reduce this timeout and handle appropriately with timeout error coming from IMAQdx Get Image to allow the execution.
Thanks
uday
0 Kudos
Message 2 of 4
(2,081 Views)

Hi Uday,

Is there any other way to capture the images by external trigger without hanging front panel ?

 

 

Jasraj Rajpurohit
0 Kudos
Message 3 of 4
(2,076 Views)
-As mentioned earlier one way is to reduce timeout Or
-Check Grab and Attributes Setup example to use Buffer Mode Or
-Have Separate loop for UI and Image Acquisition(Producer(UI)-Consumer(Image Acquisition))
Thanks
uday
0 Kudos
Message 4 of 4
(2,073 Views)