06-08-2014 12:24 PM
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!
06-09-2014 01:04 AM
using an order version . can you post a screen shot?
06-09-2014 04:55 AM
Thank you.
I copy program into word file.
06-09-2014 12:13 PM
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.
06-10-2014 04:16 AM
also i need to check whether the image dispose you are using is creating an issue.