LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

acquire the last image of a grab acquistion

I am performing a tracking operation using labview. I do a grab acquistion during the entire tracking process. After the tracking is done I want to get the last image displayed. How do I do this?
0 Kudos
Message 1 of 2
(2,476 Views)
If you are able to display the image, then you have already "got" the image. Before you destroy the buffer using IMAQ Dispose, just save the image to disk, or do whatever other processing you want. For instance- in the HL Grab example IMAQ Grab Acquire is run inside of a while loop. Everytime this VI is called it updates the image stored in the buffer pointed to by the image data wire. After the end of the while loop, the last image remains in the buffer until IMAQ Dispose is called. You can use this buffer to access the last image.
0 Kudos
Message 2 of 2
(2,476 Views)