Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

9401 counter output

Hi, i have a NI 9401 in a cDAQ-9171.

I'm trying to generate 4 continuous pulse trains, each with a different initial delay, in order to have staggered (in time) pulse trains. For this, I basically added 3 counters in the "Counter - continuous output.vi" from Labview Examples. In the past, i've done something similar with a PCI 6602 and it worked well. Here, with the NI 9401, my oscilloscope shows that the pulse trains are not well synchronised: With all initial delays at 0, the pulse trains are not simultaneous.

 

Can the NI 9401 not generate 4 simultaneous pulse trains? Or am I coding this wrong?

 

Attached is an example of my VI with only 2 counters, ie I added one counter to the "Counter - continuous output.vi" from the Labview Examples.

 

THanks!!!

Marc

 

TwoCountersOut.png

0 Kudos
Message 1 of 2
(3,830 Views)

Hi Marc,

 

You can do four simultaneous pulse trains on the 9401, you just can't do it on the same DAQmx task. (I believe the only cDAQ module to support that at the moment is the 9361.) Something like this should do the trick: https://decibel.ni.com/content/docs/DOC-5706

 

Hope that helps!

 

William R.

National Instruments

William R.
0 Kudos
Message 2 of 2
(3,806 Views)