Example Code

Use a PXI-5142 and PXI-5600 in Downconverter-Only Mode

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.

    Hardware

  • PXI|VXI
  • RF|Wireless

    Software

  • LabVIEW

    Driver

  • NI RF Device Drivers
  • Other

Code and Documents

Attachment

Download All

Description

 

Overview

Code that illustrates how to use a digitizer to read the real IF data from a VSA configured in downconverter-only mode.

 

Description

In order to accomplish reading the IQ data properly, we need to allow Digital Down Conversion with other properties. Also, since we are going to have an under sampled signal, we need to calculate the frequency of the aliased signal and set the Scope to this value. This value might change from one device to another, so the code calculates it automatically. For more information on aliased samples, undersampling and Nyquist zones, please refer to the following link.

 

Requirements
1. LabVIEW 2012 or compatible
2. Compatible NI Scope Driver
3. Compatible NI RFSA Driver
4. A Vector Signal Analyzer

 

Steps to Implement or Execute Code
1. Select the Downconverter module of the VSA
2. Select the Digitizer of the VSA
3. Specify the Center frequency of the Input signal
4. Configure the reference level, maximum sample rate of digitizer, and the acquisition length


Additional Information or References

Capture.PNG

Regards,
Jim Schwartz

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