Example Code

NI 5820 Simple Generation & Analysis SFPs

Code and Documents

Attachment

Download All

Overview

 This example demonstrates how to use the RFSA and RFSG drivers to create a RFSA/RFSG Soft Front Panel-like experience for the NI 5820 Baseband Vector Signal Transceiver.  It also includes a prebuilt executable of each panel for quick usage.

 

Description

 The "5820 SA EXE" folder contains the 5820 Analysis SFP VI, and a project with the build spec for the executable.  The executable has already been built and is included in the "\builds" folder.  On the panel, you will have the option to configure the RFSA Session (hardware settings), as well as the RFmx settings (spectral measurement).

Picture1.png

 

Likewise, the "5820 SG EXE" folder contains the 5820 Generation SFP VI, and a project with the build spec for the executable.  The executable has also been built and is included in the "\builds" folder.  This panel only has the capability to generate a single tone but could be modified to add support for additional waveforms.

Picture2.png

 

Hardware and Software Requirements

LabVIEW 2017

RFSA 17.0 or above

RFmx 2.3 or above

 

Steps to Implement or Execute Code

5820 SA Panel:

  1. Open the "5820 SA SFP" VI or the built executable.
  2. Under the "Device Settings" tab, select a hardware resource, configure the IQ vertical range, and specify trigger settings.
  3. Under "RFmx Settings", configure the center frequency and span of the acquisition.
  4. Run the VI and press Stop when done (runs continuously).

5820 SG Panel

  1. Open the "5820 SG SFP" VI or the built executable.
  2. Configure the hardware resource, IQ rate, output vertical range, and tone output frequency in the generation panel.
  3. Run the VI and press Stop when done (runs continuously).

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

Contributors