Example Code

NI-RFmx Demod - Application Example (LabVIEW)

Code and Documents

Attachment

Overview

This application example performs Demod ( Analog + Digital ) RF measurements using a compatible NI-RFmx device.

Description

This example provides an interactive demo panel that allows the user to make various RF measurements simply by navigating to the desired measurement tab.

Each measurement tab provides allows the user to interactively configure the measurement settings and obtain the results. The following measurements are supported:

Carrier measurementsMean frequency offset (Hz)ASK, FSK, PSK, QAM, MSK
Mean frequency drift (Hz)ASK, FSK, PSK, QAM, MSK
Mean phase offset (degrees)ASK, PSK, QAM
Error vector magnitudeMean RMS EVM (%)ASK, PSK, QAM, MSK
Mean peak EVM (%)ASK, PSK, QAM, MSK
Maximum RMS EVM (%)ASK, PSK, QAM, MSK
Maximum peak EVM (%)ASK, PSK, QAM, MSK
Mean MER (dB)ASK, PSK, QAM, MSK
Mean RMS offset EVM (%)Offset QPSK
Mean peak offset EVM (%)Offset QPSK
Maximum RMS offset EVM (%)Offset QPSK
Maximum peak offset EVM (%)Offset QPSK
Magnitude errorMean magnitude error (%)ASK, FSK, PSK, QAM, MSK
Maximum magnitude error (%)ASK, FSK, PSK, QAM, MSK
Phase errorMean phase error (%)ASK, PSK, QAM, MSK
Maximum phase error (%)ASK, PSK, QAM, MSK
FSK measurementsFrequency deviation (Hz)FSK
Mean RMS deviation error (Hz)FSK
Maximum peak deviation error (Hz)FSK
I/Q impairmentsMean I/Q origin offset (dB)ASK, PSK, QAM, MSK
Mean I/Q gain imbalance (dB)PSK, QAM, MSK
Mean quadrature skew (degrees)PSK, QAM, MSK
MiscellaneousMean Rho factorPSK, QAM, MSK
Mean amplitude droop (dB/Symbol)PSK, QAM, MSK

Instructions

1. Configure RF hardware settings (HW Resource Name, carrier frequency, refernce level, etc.)

2. Run this VI.

2. Use tabs to select and configure different RF measurements.

3. Use interactive controls at the bottom of the front panel to control acquisition.

Requirements

Software

LabVIEW 2012 or higher

NI-RFmx Demod 1.0

NI-RFSA 2.9

Hardware

Any NI Signal Analyzer hardware compatible with NI-RFmx.

Image

DemodAppEx.jpg

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

Contributors