04-11-2007 09:42 AM - edited 04-11-2007 09:42 AM


Thanks in advance for any help
Message Edité par TiTou le 04-11-2007 04:44 PM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
04-17-2007 10:02 PM
TiTou,
From your description, it sounds as though your Frame Trigger should use the "Trigger each buffer" trigger action. It is legal to configure both a per-line trigger and a per-buffer trigger simultaneously. This should be done by making two separate calls to the IMAQ Configure Trigger2 VI. Under this configuration, the Scaled Encoder signal will continue to free-run as a divided down derivative of the Phase A/B quadrature encoder signals. This signal will be output to the camera and continuously trigger the exposure of new lines from the camera's sensor. The registration of the "trigger each buffer" trigger, however, will cause the framegrabber's acquisition hardware to require an assertion edge of the frame trigger prior to acquiring the very first line of each image. There should be no problem with using both of these trigger signals concurrently.
Note, however, that while waiting for the assertion of the frame trigger, the encoder circuitry continues to count the Phase A/B encoder signals coming into the framegrabber. As such, the 64-bit encoder count and Scaled Encoder signal will continue to run. This means that the camera will continue to receive the line trigger, and newly exposed image lines will be transmitted from the camera to the framegrabber even while the framegrabber is waiting for the frame trigger to assert. The key point, however, is that the framegrabber will discard each of these image lines until the frame trigger asserts. As soon as the frame trigger asserts, the framegrabber immediately begins acquiring Y lines, where Y is the height of your image. After acquiring the Yth line for the image, the framegrabber ceases to acquire new lines and begins waiting for the frame trigger to assert again.
Which version of NI-IMAQ are you using? I ask, because I believe that the registration order of these two triggers may have been important with previous versions of the NI-IMAQ driver. With NI-IMAQ 3.7.1, however, this issue was resolved, and the registration order shouldn't matter.
Thanks,
Chris
04-18-2007 12:49 AM - edited 04-18-2007 12:49 AM
Message Edité par TiTou le 04-18-2007 07:51 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
04-18-2007 03:37 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus