![]() |
|
|
2 sine waves are generated and plotted with settable frequency & amplitude and the second sine wave can be offset from the first one. A third plot is generated of the addition of the 2 plots. This demonstration shows the propeties of "standing wave cancellation" and other consequences of combining 2 signals on one line by changing the offset of the 2 generated sine waves.
Change control:
Added the suggested tunnel to allow the graph to init before the while loop runs
THANKS for the nice comment
and i updated theblock diagramas you suggested.. thank YOU for the tip
I have been an enbedded software engineer for 27 years BUT I just learned labview about 4 weeks ago... I am a CONVERT.... stuff I used to do in C (and I am NO SLACKER in C coding)that would probably take DAYS take HOURS in labview
Wow, fast response!
Good grief, that maintenance fix was quick!
Again, very nice example.
&n bsp;
Kudos to the new users
4 weeks ago? Even more impressive! Keep up the good work! &n bsp;
FFT
Just thinking out loud here...
You could also throw on an express Spectral Measurements VI and do an FFT of the waveform after it leaves the Merge Signals and have a separate display of the FFT of the signals.
Good work on the VI, simple and effective. &nb sp;
Great example!
This is a really cool example! I like the saving feature as well. Great documentation on the block diagram, and I really like the peak searching bit.
One little little thing: right now the reinitialization that occurs to the left outside the while loop has no dataflow enforced to ensure that it executes first when the VI begins. Just wiring the Dynamic Data Type wire to form a tunnel on the while loop will cause the while loop to wait for the execution of the initialization portion. You wouldn't use the data from the tunnel inside the while loop.
Other than that, fantastic example!   ;