07-19-2010 12:31 AM - edited 07-19-2010 12:33 AM
I am using LabVIEW 2009 developer suite (including NI Vision) on Windows 7 PC.
I am trying to use PCI 1426 (cameralink) to sync frame capture form Dalsa Piranha2 8k, 18kHz with motion (quadrature encoder).
The PCI 1426 user manual describes the 15 pin connector pin out with 4 pins for A+, A-, B+ and B- whcih are quadrature encoder signals from the motor.
I did tap the encoder signals and wire the 15 pin connector to the PCI 1426 and installed the camera file for Dalsa camera in MAX.
Now, I am not clear how to tell the PCI 1426 to use quadrature encoder signals to captur frames from the Dalsa camera. The "signal level" tab did not list quadrature encoder as an option.
Thanks in advance.
07-20-2010 02:44 PM
Ashish-
These two forums may be helpful to you:
Can I get a frame sync signal when using a camera link line scan camera with a PCI-1426?
http://forums.ni.com/t5/Machine-Vision/Can-I-get-a-frame-sync-signal-when-using-a-camera-link-line-s...
VSYNC from IMAQ -D6804 cable?
http://forums.ni.com/t5/Machine-Vision/VSYNC-from-IMAQ-D6804-cable/m-p/361474#M9822
07-21-2010 01:36 AM
George,
thanks for your help.
I got the Dalsa working (triggering on encoder signals) by using Exposure Mode = 6 for the camera in MAX.
The easiest way I tested is by setting the motor in continuous cycle mode and pressing Grab button. If the test failes, I would get Timeout error on the grab command. But, in fact, I do not get the timeout error if the motor is running.
However, now I am trying to get this behavior in a VI in order to integrate in my main application. I tried one example "LL Trigger Each Line From Encode.vi". I get a timeout error message on running this VI. Any suggestions are welcome.
07-22-2010 01:40 PM
Ashish-
Where is the Timeout error coming from in this example? The easiest way to see this is running this example with Highlight Exe on.
07-30-2010 09:38 AM
I found one example where the IMAQ property "Last valid image" was used to skip IMAQ Extract Buffer action inside the while loop. This gave me expected result. So, now I have a VI that starts motion and begins capturing lines from the camera. ImagetoImage VI is used to build the large image from extracte lines.
Thanks for your help.