Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-6221 is it possible to generate 2 channel pulse sequence at the same time?

Solved!
Go to solution

PCI-6221 is it possible to generate 2 channel pulse sequence at the same time?

why have error with my VI?

PCI-6221 产生两路脉冲序列.jpg

0 Kudos
Message 1 of 4
(150 Views)
0 Kudos
Message 2 of 4
(143 Views)
Highlighted
Solution
Accepted by xuwenwei

No, not with your M-series device.  On that device, a finite pulse train uses both counters -- one to generate the pulse, one that's used in the background to gate the other with the precise timing needed to control the # pulses.

 

One of the advances of the X-series MIO boards is that finite pulsetrains only use a single counter.

 

One sneaky trick I've suggested is to make a dummy finite AO task that simply generates 0 V, but export its sample clock out to a PFI pin to be used as your 2nd finite pulse train.   (You could do the same kind of thing with an AI task if that's otherwise idle.)

 

 

-Kevin P

0 Kudos
Message 3 of 4
(123 Views)
Solution
Accepted by xuwenwei

Thank you very much for your answer.  Kevin

0 Kudos
Message 4 of 4
(41 Views)