LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get newest image when using IMAQdx grab

Hi everone!

I have a problem. I use IMAQdx grab.vi to capture image from camera usb. it has 30 fps. I want to get newest image, which camera acquired. but I realize that IMAQdx grab.vi copys sequent image out of buffer. I simulate a moving rectangle. then I use camera to positive object. I alway receive position of object from camera delay 3 frame.I expect it to delay 1 frame. I attached my program. I want to configure camera to grab the newest image.

Thank in advance!

 

0 Kudos
Message 1 of 5
(2,296 Views)

using an order version . can you post a screen shot?

0 Kudos
Message 2 of 5
(2,269 Views)

Thank you.

I copy program into word file.

0 Kudos
Message 3 of 5
(2,256 Views)

The cleanest way to accomplish what you are trying to do uses the low-level functions. The Get Image VI will automatically pull the next buffer available, but can also be configured to pull the most recently acquired buffer or any buffer of your choosing. You can see the function's context help for more details.

 

Also, if you are unfamiliar with using the low-level functions there is a very good example in the example finder called "Low-Level Grab" in the IMAQdx section.

--------------------------------------
0 Kudos
Message 4 of 5
(2,242 Views)

also i need to check whether the image dispose you are using is creating an issue.

0 Kudos
Message 5 of 5
(2,226 Views)