LabVIEW Example for Multitone Distortion

The example file MultitoneExample_SimpleRecallAndPlay.vi was created using LabVIEW 2015. It loads an N7621B Multitone Distortion setting file and then downloads and plays the signal. The setting file contains both a Multitone and NPR signal. The signal is generated at 1 GHz RF. You can find the LabVIEW example file at:

C:\Users\Public\Public Documents\Keysight\Multitone Distortion\ApiExamples\LabVIEW\MultitoneExample_SimpleRecallAndPlay.vi

Here is a view of the LabVIEW virtual instrument (VI):

LabVIEW VI Properties

The user can set the following properties in the LabVIEW VI:

Signal Generator IQ Inputs – The signal input source.

The example works for InternalArb, ExternalArb and WidebandArb.

The example will also work for ArbOnly when the Arb is an M8190A.

 

Signal Generator Address – This is the address used to connect to the signal generator.

The connection can be made using LAN, GPIB or USB.

TCPIP0::192.168.0.1::INSTR

GPIB0::19::INSTR

This property must be set for InternalArb, ExternalArb and WidebandArb.

It is ignored when using ArbOnly.

 

Arb Address – This is the Arb address when using a separate Arb.

The connection can be made using LAN or PXI depending on the Arb

TCPIP0::192.168.0.1::INSTR

The property must be set when using ExternalArb, WidebandArb or ArbOnly.

 

Signal Analyzer Address – This is the address used to connect to the signal analyzer.

The connection can be made using LAN, GPIB or USB.

TCPIP0::192.168.0.2::INSTR

GPIB0::18::INSTR

This property must be set when Corrections are enabled.

Leave empty to NOT configure a Signal Analyzer as part of the system.

 

Arb is an M8190A – When true the separate Arb is an M8190A.

This property must be set when configured for ExternalArb, WidebandArb or ArbOnly mode.

The default is false.

 

Current Measurement Mode – Select signal type Multitone or NPR.

This property must be set and defaults to Multitone.

 

Corrections Enable – Enable corrections when a Signal Analyzer Address is set.

This property must be set and defaults to false.

 

Setting File – This is the N7621B Multitone setting file to be opened then downloaded and played.

It uses a default setting file “DefaultMTandNPRforLabVIEW.mtd” in this directory. This file can be opened using the N7621B GUI for further inspection.

 

The Multitone Signal contains 8 tones spaced 1 MHz apart.

Here is the Multitone signal at 1 GHz.

 

Here is the same multitone signal after corrections. Note the reduced IMD products.

 

The NPR Signal is 80 MHz wide with a 1% notch (800 kHz) in the center.

Here is the NPR signal at 1 GHz.

 

Here is the same signal with corrections enabled. Note the RF flatness and notch depth improvement.