Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple counter outputs in Labview with finite samples at the same time

Is is posible to control multiple counter ports at the same time with a finite number of samples. (in example CTR0 and CTR1)
I'm using the PCI 6024E with Labview 7.1

I can only control 1 port at the same time or both with continous samples.

Thanks in advace.
0 Kudos
Message 1 of 2
(3,444 Views)

Ralph,

Briefly, no.  When you generate a finite pulsetrain, the driver uses 2 counters.  One is set to generate output while its gate input (pause trigger input) is high.  The other helper counter is used to generate a single precisely-timed pulse that allows the 1st counter's pulses to be output for just the right amount of time needed for the correct finite # of pulses.

Can any of these work-arounds help?  You could generate continuous pulsetrains with both counters and then stop them under software timing.  If you've got LV 7.1, you can use the pulses as a timing source for a timed loop for better timing reliability.  And if you're really stuck, there may be a convoluted way to use 5 V analog outputs as though they were the single pulses...

-Kevin P.

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
Message 2 of 2
(3,435 Views)