LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

splice waveforms

I am trying to combine two sine waves in the following fashion:  The 1st 200 microseconds of the 1st sine wave are  followed by the 2nd 200 microseconds of the 2nd sine wave which are following by the 3rd 200 microseconds of the 1st sine wave are  followed by the 4th 200 microseconds of the 2nd sine wave and so on.  In other words, the two sine waves are interleaved where each 200 microsecond time segment will be either the 1st sinewave or the 2nd.  Am I asking too much of Labview (8.5) to do this?
0 Kudos
Message 1 of 2
(2,714 Views)
A waveform datatype is nothing more than an array of y data and a sample rate. Knowing the sample rate, you can calculate how many elements of each array to use the Array Subset function on and then recombine with the Build Array. There is also the Get Waveform Subset function where you can use relative time mode and specify a start and a duration. Combine this with the Append Waveforms function.
Message 2 of 2
(2,692 Views)