From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Signal Generators

cancel
Showing results for 
Search instead for 
Did you mean: 

pulse off time division

hi,

 

I have a pulse train generated using a FOR loop and pulse pattern generator VI. The output plukse train is a 1D array. Please see the attachment. For all pulses, the width is fixed, which is 10 ms here. The fisrt pulse starts at time t=0 and ends at t=10 ms. The second one starts at t=2430 ms and goes off at t=2440 ms. The third one at 4720 and 4730 ms.

 

My problem is how I can modify the array such that the OFF time (only OFF time) becomes t/10. I mean, for the modified pulse train, the first pulse is 0-10 ms, second is 243-253 ms (start time -->2430/10), thris is 472-482 ms, and so on.

 

Can any one help ?

 

0 Kudos
Message 1 of 1
(5,787 Views)