LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Merging waveforms

I am trying to merge a sine wave with another waveform, and what I want is for the two wavforms to add together. I am having errors saying dt is not the same even though I have got the simulate waveform dt and plugged it into my waveform sub vi. my wavform sub vi creates a waveform of a set duration and I would like to have the simulate waveform just to add to the output waveform. on MainVI Front Panel there is a picture of what I would like

nice

Message Edited by mr_nice on 06-22-2005 05:37 AM

Download All
0 Kudos
Message 1 of 2
(2,486 Views)
In you subvi.vi you do feed the correct dt into the function, but then you do not use it when defining your output function (i.e. when you convert it to dynamic data, so the default is 1). I have attached a change that will eliminate the dt mismatch.

In addition, the waveform you simulate is only 1000 points while the up/down ramp is 10000. These two need to be the same to see what you want to see (probably both set at 1000). Also, you have a function to determine the duration of the sine wave, you need to connect this to the time duration input of you sub-vi so that they have the same duration.

Message Edited by rpursley8 on 06-22-2005 08:25 AM

Randall Pursley
Message 2 of 2
(2,480 Views)