Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

trigger a subvi on a digital line

How would I go about triggering the execution of a subvi on the falling edge of an digital input?

I want to get IMAQ subvis to run on the signal that triggers the beginning of the exposure of a camera.

Digital board is PCI-DIO-32HS

Thanks in advance.
0 Kudos
Message 1 of 3
(3,269 Views)
If you want IMAQ subVI's to run in order to aquire images you can use the IMAQ configure trigger VI in order to use your Vision card.

If you require more options you could also use the 6533 and create a trigger using the DAQmx Trigger VI.

Or you could poll the digital line and route this signal over the RTSI bus to trigger your vision card and camera.

Hope this Helps.
0 Kudos
Message 2 of 3
(3,269 Views)
IMAQ configure trigger looks like it will do the job. As I'm running on LabVIEW 6.1 I wasn't aware of the second option.

Out of interest though, how would I go about the last suggestion you made? Would this just involve looking at the line state at all times and then jumpng out of a loop when the state has changed? Sorry, but my understanding of the use of RTSI is limited.

Thanks already for the advice.
0 Kudos
Message 3 of 3
(3,269 Views)