Page 2 of 2

Re: Camera->GetFrame(), GetLatestFrame(), and frame queues

Posted: Wed Jun 01, 2011 12:31 am
by kb_kat
The function SendEmptyFrames(false) called once before starting the camera does have an effect: at least the algorithm leaves the above "while" loop now. However, the application seems to slow down and i do not have responses from the cameras regularily (i use 2 cameras, making shots in turn).

Re: Camera->GetFrame(), GetLatestFrame(), and frame queues

Posted: Thu Jun 02, 2011 6:22 am
by kb_kat
Ok, i found the error:
while(!frame) { frame = camera_01->GetLatestFrame(); }
here the frame must be released every time in the loop