LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Pulse Train.vi

Solved!
Go to solution

Hi,

 

I am using the PCI6023E card and I want to generate a finite pulse train on one of the counters.  In my simple program, I only have the Generate Pulse Train.vi with the following input parameters.

 

Device number = 1 

Counter number = 0

Number of Pulses = 20
Frequency = 20000 Hz
Duty Cycle = 0.5
What I observed on the oscilloscope on Counter 0 output is a continuous pulse train of 50% duty cycly at 20KHz.
Even the generate finite pulse train example in the examples library does not give me the correct number number of pulses.
How can I generate the 20 pulses with the Generate Pulse Train.vi?
Best Regards
hv
0 Kudos
Message 1 of 2
(2,869 Views)
Solution
Accepted by topic author voh720

OK I needed to connect the counter-1 out put to the gate of the counter...Solved.

 

 

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