Why am I seeing a delay when using my Sapera camera with the Image Acquisition Toolbox?

H
herry_smith · Feb 12, 2022 · 2.3K views
Question
I am using a Dalsa Coreco iPro x64 frame grabber and a JAI M9 CameraLink camera. In default immediate trigger configuration I see a 5 second pause before the video object is ready. Using the same camera configuration file CamExpert is nearly instant. I would like to remove the unexpected 5 second delays from my system.    
Expert Answer
Profile picture of Neeta Dsouza
Neeta Dsouza PhD Expert
Answered Aug 13, 2026
The issue is caused from a function in the Sapera API, which causes the delays to occur during the stopping process.
All of the frames are acquired very quickly after the start. After they are acquired, the Image Acquisition toolbox calls a Sapera API function that takes almost two seconds to return.
 
To work around the issue, use manual or hardware triggering with a TriggerRepeat set to greater than 0. This will ensure that the stopping will not occur until after the last set of frames is received. Note that since the issue occurs during the stop, you will see the delay only if you wish to restart immediately.
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!