Hello everyone,
I'm using one counter timer from the DAQ card PCI-6014. I want to generate a pulse train with this output where I can control the number of pulses and the frequency of the pulse. The duty cycle is not important, I want to use the default value, i.e. 50%.
I have used the vi called "train_impulsion2.vi" with the following values:
-number of pulses = 10
-frequency = 1 Hz
-duty cycle = 0.5
When I connect the output from the counter timer 0 to an oscilloscope (pin 2 and pin 53), what I see is a constant 5 V for the 10 sec. I don't see the 10 changes from 5 V to 0 V as it would be expected. No falling or rising edges are observed.
However by using the DAQ assistant with the vi "daq_assistant_pulse_train.vi", with the following numbers:
-time high = 500 ms
-time low = 500 ms
-generation mode = N samples
-number of samples= 10
I'm able to observed what I want, i.e. 10 changes from 5 V to 0 V on the oscilloscope.
How can "train_impulsion2.vi" works like "daq_assistant_pulse_train.vi"? Thanks a lot
Marc