PDA

View Full Version : frames lost using trigger



Federico
June 22, 2015, 17:08:05
Hello,
I'm using the C library (not the c++ one)
My camera model: DFK 23G274

after setting the camera in trigger mode, i start sending trigger pulses every ~200ms
the frameready callback loses at least one or two frames every 5 frames.
i'm using a ~90 metres class 5e cable

the problem is that IC Capture doesn't seem to loose frames!


this is how i setup the camera:

char *devName = IC_GetDevice(0);
if(devName != NULL){
IC_OpenVideoCaptureDevice(cam->grabber, devName);
if(IC_IsDevValid(cam->grabber)){

IC_SetFrameReadyCallback(cam->grabber, *iccamera_callback_frameReady, cam);

IC_SetVideoFormat(cam->grabber, videoFormat);
IC_EnableTrigger(cam->grabber, 1);
IC_SetContinuousMode(cam->grabber, 0);
IC_StartLive(cam->grabber, 0);

Stefan Geissler
June 23, 2015, 14:30:58
Hi

please try following:
1.) Enable Jumbo Frames on your network controller
2.) Use a lower frame rate.
3.) make sure, you have a valid, clean trigger signal, that reaches at least 5V.