08-02-2012 10:19 AM
Hi guys,
I want to use PFI as an DI and this as a trigger for another channel. By the way i am using all 8 DO P0.0:0.7 for DOs and using USB 6221
thanks in advance
08-06-2012 02:46 AM
Hey Leee,
you can find an example for this in the NI example finder:
Hardware Input and Output>DAQmx>Analog Measurements>Voltage>ContAcq-ExtClk-DigStart.prj
The command you need is:
DAQmxCfgDigEdgeStartTrig(gTaskHandle,triggerSource,triggerEdge)
I hope this helps.
Gregor