I am using a Camera Link camera and I am getting dropped frames

The code I am using for the actual acquiring the image is:
vid = videoinput('ni',1,'img0');
vid.FramesPerTrigger = nFrames (where nFrames = 5000 say)
start(vid)
wait(vid)
stop(vid)
Each frame is about 1MB
I get the error
ni A frame has been dropped & the acquisition has been cancelled
Is there any way of stopping the dropped frames or even carrying on when a frame has been dropped please?

답변 (0개)

제품

릴리스

R2016a

질문:

2018년 6월 5일

댓글:

2018년 6월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by