03-03-2015 08:01 AM - edited 03-03-2015 08:07 AM
Hi. Im new to Labview. I have been tasked to construct a square wave by summing a fundamental sinusoidal frequency and five harmonics. Fundamental frequency 800Hz with an amplitude of 9V. The frequencies and amplitudes must be adjustable All frequencies and amplitudes to be listed. Please help!
03-03-2015 08:24 AM
Search for Sine Wfm on the palettes. That will give you the function to generate a sine way of your desired frequency.
Add the results of those sinewaves together.
Beyond that, I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
03-04-2015 07:07 AM
Hi gbroder1,
What you described fits the description of Fourier Series which is a theory that states that every type waveform can be produced by combining a number of sinusoidal signals. The maths behind it is explained here:
http://mathworld.wolfram.com/FourierSeries.html
As RevensFan suggested you will have to use SineWfm and add the waveforms up, but how you write up the algorithm for calculating the coefficients is up to you.
Kind Regards,