Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I read the number of dropped frames in a 1394 session?

I'm using a C program to acquire image data using the imaq1394 library. I am dropping frames at 30FPS and want to use the imaq1394GetAttributes call with the IMG1394_ATTR_LOST_BUFFER_NB parameter to read the number of dropped frames. I am doing this at the end of the acquisition before the camera is closed. The value always comes back as 0. What is wrong? Here is the line that makes the call:

imaq1394GetAttribute(Sid, IMG1394_ATTR_LOST_BUFFER_NB, (unsigned long *) &lDroppedFrames);

Thanks in advance...
0 Kudos
Message 1 of 2
(3,031 Views)
Hello spcmicro,

Thank you for the email.

For the IMAQ 1394 driver (version 1.0), the lost buffer attribute does not work properly.
- The issue is not known to the developer lead, and it will be investigated for the next release of the IMAQ 1394 driver.

Please let me know if you have any additional questions,

Alan Hagler
0 Kudos
Message 2 of 2
(3,030 Views)