How to read/modify the acquisition history on a frame grabber with MATLAB

2 views (last 30 days)
Darya17
Darya17 on 1 Mar 2017
Answered: Ankita Nargundkar on 10 Mar 2017
Hello! I am using a national instruments frame-grabber together with a Mikrotron camera, triggering acquisition by software in MATLAB. So in my MATLAB code, I start acquisition from the camera and immediately after present an image on a projector. For calibration purposes, I video record the image shown on the projector using the camera. So I expect to see see the images I presented right from the beginning on the video frames. What happens is when I then look at the acquired video frames, there are always between 9-12 frames that are there before the projector image shows up. I assume this is because there is some sort of a FIFO buffer on the grabber that keeps a history. I was wondering if there is a way to read this information or modify it through MATLAB? thanks for your help!

Answers (1)

Ankita Nargundkar
Ankita Nargundkar on 10 Mar 2017
You can make use of getsnapshot function. Refer this link for more information
You can also contact MathWorks technical support if you need detailed assistance.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!