Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69056

Appending Square Waves

$
0
0

Hello I am trying to create a VI that will generate a waveform from two 1D arrays, one for the amplitude of a section of the waveform and another for the duration of that section. For example if I were to put in [1,2,3] into the amplitude array and [2,5,10] into the duration array I would receive a graph that had an amplitude of 1 for 2 seconds, then amplitude 2 for 5 seconds, then aplitude 3 for 10 seconds. I am using the Append Waveform function to do this.

 

I have a VI that will generate the amplitudes correctly, but the delays do not work, each amplitude is only true for one second a piece, no matter what i put into the delay array. Does anyone have any suggestions on how to force the amplitudes to be active for a given amount of time?

 

I have attached a picture of my code so far.

 

Thank you


Viewing all articles
Browse latest Browse all 69056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>