Is this a digital waveform you are going to write to a DAQ device? What kind of output bandwidth will you have?
Your on/off times are to the 5th decimal of a 1 msec period., so you would need an output rate on the order of 100MHz. 120 msec would require a 12 million sample array.
You will need to create a couple For loops. I would create a 9 element array that contains each of those times. Feed that into a for loop, that creates an array of True/False arrays for each of those time period. Feed that into another For loop that cycles through each of those 9 patterns and creates the final 12 million sample array. These are large arrays, so I would do this using preinitialized arrays and replace array subsets.
See attached in LV 8.5
Message Edited by Ravens Fan on
03-14-2008 10:40 PM