Appendix A 493
Additional Lab Exercises
Agilent VEE UserFunctions
UserFunctions, Step 2
In the same program, create another function called
AddNoise that calls the
first function
NoiseGen. AddNoise should add the noisy waveform from
the
NoiseGen function to a sine wave. AddNoise should have two inputs,
one for the NoiseGen amplitude and one for the sine wave. It should have
one output for the result.
Build a simple main program with a slider for the noise amplitude, and the
Virtual Source ⇒ Function Generator (sine wave, Freq = 100
Hz
) for the good waveform to add to the noise. Display the resultant
waveform.