The Main_Simulation.vi is a program that simulates the Analog Modulations such as: AM, DSB-SC, FM and PM.
When you input both the carrier signal and the input signal, they are computed: Modulated Wave and its Amplitude Spectrum.
This example shows how to use graph XY, how to manipulate signals and some tips about of GUI design.
The Main_Simulation.vi is aprogram that simulates the Analog Modulations such as: AM, DSB-SC, FM and PM. When you input both the carrier signal and the input signal, in the charts they are drawn:
- Carrier Wave
- Input Wave
- Modulated Wave
- Amplitude Spectrum of the Modulated Wave
And they are computed:
- Modulation percent to AM and DSB-SC Modulations.
- Modulation Index (Beta) to FM and PM Modulations.
- Bandwidth by means of Carson´s rule, to FM and PM Modulations.
1. Run Main_Simulation.vi
2. Set Type of signal to Input wave (Sine wave, Triangle wave, Squarewave, Sawtooth wave, and defined by the user wave). To the last signal type, remember the following thing: w=2pif and the variable is the parameter.
3. Set Frequency of the Input wave (in Hz). If you are using wave defined by the user, the wave will vary according to it Frequency.
4. Set Amplitude and of the Input wave (in Volts and Degrees respectively).
5. Set the Frequency of the Carrier Wave (in Hz).
6. Choose Kind of Analog Mudulation. If you choose FM or PM Modulation, you must enter frequency deviation or phase deviation respectively.
7. Press the Salir Button to abort the program.
Note: If you want to look at the Modulated Wave with zooming in Amplitude and Time. There is a button that allow visualize a Scope with the characteristics of Timebase and Scale.
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
I present them my gallery of snapshots of applications developed in
LabVIEW.
I thank to some members of LabVIEW-user groups for their contributions with regard to the design of GUIs.
LabVIEW GUI Gallery Link: http://forums.lavag.org/gallery-user8339-album77.html
This is amazing stuff, thanks so much for adding it! I've been promoting your code on our NINews mailings since it's so good! Keep up the great work.
The GUI is very nice and very interactive.It doesn't look like labview front pane.
Can u provide this code in English language?