08-06-2009 06:36 PM
Hello,
I have a 1D array of 1s and -1s, and depending on the value, I have tochange the phase of a sine wave. I'm generating using the basic function generator. I need to append all the waveforms that come out of the for loop. How can I do this? Please refer to the VI attached. It seems to give the graph only for the first value of the array.
Thanks.
08-06-2009 08:27 PM - edited 08-06-2009 08:28 PM
First, you need to wire up the boolean constant for Reset Signal? in the sine wave generator. The default is false. You need to make it true so that the second time through the loop you get a different sine wave.
Second, right now you aren't doing any appending of waveforms. You are just building an array of waveforms. You can use the Append VI in the Waveform >> Analog Waveform palette. Append the waveforms together and place them in a shift register in each iteration.
08-06-2009 10:46 PM
Hi RavensFan,
Thanks for the solution. It works perfect!!! One more question is: I have to add a noise waveform to this waveform. How would I do this?
08-06-2009 11:05 PM