Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger a single line scan?

I am using a digital line scan camera connected to a PCI-1422 acquisition board. The camera is configured to work in external trigger mode, because it needs to be synchronised to a moving conveyor. The conveyor sends his trigger signal to the capture card via input "External 1". On the board this signal is routed to the camera in turn to trigger the capturing of every single line.
All this is working well and at the end I'm getting my image of size x * y.
 
For the set up procedure I need a mode where I get only one single line off the camera (width = width of the camera, height = 1) without moving the conveyor. This means I do not get any line trigger signals from the conveyor but need to instead pass a trigger pulse to the camera programatically.
The "Control 0" signal of the PCI-1422 is used to trigger the camera, but I could not find a way to change the status of this line.
 
Any ideas?!
 
Ingo Bartsch
0 Kudos
Message 1 of 4
(3,369 Views)
You should be able to control the trigger mode for the camera from the PC.  Turn off triggering and just grab a quick image of one or more lines with immediate capture and fixed timing.
 
Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 4
(3,354 Views)
Thanks, Bruce, for your answer.
 
Do you mean by configuring the camera to "free run mode" instead of "external trigger mode"?!
This should work.
My initial idea was to simply send one trigger pulse to the camera, leaving it in "external trigger mode", but I could not find a way to toggle the clock lines programatically...
 
Ingo
0 Kudos
Message 3 of 4
(3,345 Views)

Yes, free run mode will acquire images without a trigger.  Switch back to external trigger mode after you are done.

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 4 of 4
(3,332 Views)