LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

PFI as an DI or DO? How to use DO sample clock?

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

0 Kudos
Message 1 of 2
(2,891 Views)

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

0 Kudos
Message 2 of 2
(2,880 Views)