Example Code

Modulation Toolkit Demodulate Frequency Modulation (FM) with Simulated Data

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW Modulation Toolkit

Code and Documents

Attachment

Description

Overview


This example demonstrates generation and demodulation of a simulated baseband FM signal. You control the number of samples, message signal frequency (Hz), duration (sec), and the waveform type used for the message signal. You can also control the carrier phase (rad) and the amplitude of the added white noise. The example assumes that the generated information signal is normalized to be between +1.0 and -1.0. The demodulated FM message signal is displayed on the FM Demodulated Signal graph. This program is a shipping example VI included with the Modulation Toolkit for NI LabVIEW.

This software is written in LabVIEW, a graphical programming language designed for scientists and engineers. For more information about LabVIEW, visit ni.com/labview.

Modulation Toolkit Example Programs
The National Instruments NI Modulation Toolkit For LabVIEW extends the built-in analysis capability of LabVIEW with functions and tools for signal generation, analysis, visualization, and processing of standard and custom modulation formats. With this toolkit, you can rapidly develop custom applications for research, design, characterization, validation, and test of communications systems and components that modulate or demodulate signals. Applications for the Modulation Toolkit are numerous; it includes the modulation formats - AM, FM, PM, ASK, FSK, MSK, GMSK, PSK, QPSK, PAM, QAM - that are the foundation of numerous emerging wireless technologies such as 802.11 a/b/g, ZigBee (802.15.4), WiMax (802.16a), RFID, satellite communications, and commercial broadcast among others.

More information on National Instruments signal processing can be found at the Analysis and Signal Processing with LabVIEW.

Front Panel


This is a picture of the VI's front panel. To view the block diagram and additional documentation, download the attached file.

This example requires LabVIEW and the Modulation Toolkit.



Related Links

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.