Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you wait for a trigger and sync another action with Compaq DAQ?

I'm wanting to write a program to wait for a trigger on a Compaq Daq module  (analog input rising edge) and when this is recieved send a signal with another Compaq DAQ module in the Compaq DAQ chassis. What would be the best way to syncronize this within the chassis using NI DAQmx?

Bill Lewis
0 Kudos
Message 1 of 3
(2,906 Views)

Would it look like this? Does the code in the Diagram stucture get executed after the rising edge is detected?2016-12-08_10h13_43.png

Bill Lewis
0 Kudos
Message 2 of 3
(2,903 Views)

Hey Bill,

 

This code looks like it should work to start an analog output after recieving an analog input. The only thing that may need to be changed is the trigger type because you said you are triggering on an analog input but the trigger type is set to digital edge with a PFI line for the source which is a digital line. The trigger may need to be changed to an analog trigger with a particular level of voltage starting the trigger. 

 

Applications Engineer 

National Instruments

0 Kudos
Message 3 of 3
(2,875 Views)