Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Create pulse train with varying timing of last pulse

I have the need to create a finite length pulse train. So far so good, however, the last pulse in the train needs to have different timing than the rest of the train. For instance, a pulse train of 8 pulses with 300ms between pulses, and the 9 pulse should occur 200ms after pulse 8. I eventually would like to automatically decrement the timing of the last pulse.

I tried using the delayed pulse vi, however, it waits until the complete timing of the 8th pulse (300ms) before starting its timing. Any help would be appreciated.

Thanks
0 Kudos
Message 1 of 3
(3,360 Views)
Sorry, but I should have added that I am running LabView 6, and the 6602 in a PXI chassis....
0 Kudos
Message 2 of 3
(3,357 Views)
Hello Sdelap. Thank you for contacting National Instruments. Are you using Generate Pulse Train.vi? You could specify the polarity for the pulse to start low and then go high. This would mean that the pulse would end on a high and you could use the delay pulse VI to specify a shorter distance between the last two pulses. Please let me know if you have any questions. Have a great day!

Marni S.
National Instruments
0 Kudos
Message 3 of 3
(3,343 Views)