Hello!
The given code works fine when i set the frame rate to 4.0 Hz(PCI-1424) but this is not working with frame rate lower than 4.0. It does not give any error with lower frame rate but the data that will save is not proper or not synchronized.Unfortunately, we do not support using our IMAQ libraries in Delphi, and I therefore do not have the development environment. That being said, there are several people who have some success using the ActiveX controls to get images, but beyond that there can be issues.
One more thing i want to ask is what is the difference between two constants cwimaqBufferComplete and cwimaqFrameDone while using them with SignalOccurrence Event.I have attached an image of the IMAQ Vision for Visual Basic Refere
nce file, which can be found in the Start menu_Programs_National Instruments_Vision_Documentation path, that describes the differences between these two signals.
This should help you out!
Regards,
Colin C.
Applications Engineering
Colin Christofferson
Community Web Marketing
Blog