NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
kumban
Posts: 27
0 Kudos

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 ?

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page