12-08-2016 09:03 AM
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?
12-08-2016 09:15 AM
Would it look like this? Does the code in the Diagram stucture get executed after the rising edge is detected?
12-09-2016 07:55 AM
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