Example Code

NI-RFmx SpecAn - Application Example (LabVIEW)

Code and Documents

Attachment

Overview

This application example performs spectral 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:

  • Spectrum (peak search, number of peaks, etc)
  • Transmit Power - TxP
  • Adjacent Channel Power - ACP
  • Channel Power - CHP
  • Spectral Emissions Mask - SEM
  • Harmonics
  • Spurious Emissions
  • Complementary Cumulative Distribution Function - CCDF
  • Frequence Counter - FCnt
  • Occupied Bandwidth - OBW

The user can combine several measurements into a "composite measurement" (processing is done on the same set of IQ samples ) by  selecting "Composite?" checkbox at bottom left corner of each measurement tab. Once two or more measurements are marked as "composite", the "Composite Measurements Enabled?" LED (bottom right) will light up. Hovering the mouse over the  "Composite Measurements Enabled?" LED will show the list of measurements being currently performed.     

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 LabVIEW 2013

NI-RFmx SpecAn 1.0

NI-RFSA 2.9

Hardware

Any NI Signal Analyzer hardware compatible with NI-RFmx.

Additional Images

RFmx_spectrum.png

Figure 1. NI-RFmx SpecAn - Application Example Front Panel (WLAN spectrum measurement is displayed)

Mikhail
RF Toolkits, Product Support Engineer
National Instruments

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

Contributors