VNA Master™Programming Manual
General Information
About this Manual
Introduction
Contacting Anritsu
Remote Programming Setup and Interface
Ethernet Interface Connection and Setup
Connectivity
MS20xxC LAN Connections
USB Interface Connection and Setup
USB Interface, Type Mini‑B
Sending SCPI Commands
Programming with SCPI
Introduction
Introduction to SCPI Programming
SCPI Common Commands
*IDN?
*RST
SCPI Required Commands
SCPI Optional Commands
Subsystem Commands
Command Names
Hierarchical Command Structure
Query Commands
Identifiers
Data Parameters
Data Parameter Notations
Unit Suffixes
Notational Conventions
Notational Examples
Command Terminators
Formatting Conventions
Command and Query Notational Conventions
Examples:
Parameter Names
VNA Commands
Introduction
VNA Commands
:CALCulate Subsystem
Trace Data Transfer
:CALCulate<Tr>:FILTer[:GATE] Subsystem
Gate Coupling State
:CALCulate<Tr>:FILTer[:GATE]:DISTance Subsystem
Gate Center Distance
Gate Center Distance (continued)
Distance Domain Gate Notch State
Distance Domain Gate Shape
Gate Span Distance
Gate Start Distance
Distance Domain Gate Display Settings
Gate Stop Distance
:CALCulate<Tr>:FILTer[:GATE]:TIME Subsystem
Gate Center Time
Time Domain Gate Notch State
Time Domain Gate Shape
Gate Span Time
Gate Start Time
Time Domain Gate Display Setting
Gate Stop Time
:CALCulate:FORMat Subsystem
Graph Type
:CALCulate:LIMit Subsystem
Limit Alarm
Limit Fail
Lower Limit Fail State
Limit Pass/Fail
Upper Limit Fail State
Number of Lower Limit Points
Add Lower Limit Point
Delete Lower Limit Point
Lower Limit Next Point Left
Lower Limit Next Point Right
Lower Limit Point X Value
Lower Limit Point X Value (continued)
Lower Limit Point Y Value
Lower Limit State
Lower Limit X Value
Lower Limit X Value (continued)
Lower Limit Y Value
Number of Limit Points
Add Limit Point
Delete Limit Point
Next Point Left
Next Point Right
Limit Point X Value
Limit Point X Value (continued)
Limit Point Y Value
Limit State
Limit Type
Number of Upper Limit Points
Add Upper Limit Point
Delete Upper Limit Point
Upper Limit Next Point Left
Upper Limit Next Point Right
Upper Limit Point X Value
Upper Limit Point X Value (continued)
Upper Limit Point Y Value
Upper Limit State
Upper Limit X Value
Upper Limit X Value (continued)
Upper Limit Y Value
Limit X Value
Limit X Value (continued)
Limit Y Value
:CALCulate:MARKer Subsystem
Turn All Markers Off
Marker Data
Delta Marker Reference To
Delta Marker State
Marker Readout Format
Marker Domain Type
Marker Readout Style
Marker (Maximum) Peak Search
Marker (Minimum) Valley Search
Reference Marker State
Marker On Trace
Marker Type
Marker X Value
Marker X Value (continued)
Marker Read Y Value
Marker Read Y Value (continued)
:CALCulate:MATH Subsystem
Trace To Memory
:CALCulate:SMOothing Subsystem
Smoothing
:CALCulate:TRANsform Subsystem
Maximum Distance
Distance Resolution
Start Distance
Stop Distance
Distance Units
Distance Domain Window Shape
Maximum Time
Time Resolution
Start Time
Stop Time
Reflection Calculation for Time Domain
Time Domain Processing Type
Time Domain Processing Mode
Time Domain Window Shape
Get Distance List
Band Pass Mode Response
Get Time List
Low Pass Mode Response
:Display Subsystem
Trace Display
Trace Format
Group Delay Aperture
Scale Resolution Per Division
Scale Resolution Per Division (continued)
Scale Reference Level
Scale Reference Level (continued)
Scale Reference Line
Smith Chart Scalable Type
:Format Subsystem
Numeric Data Format
:INITiate Subsystem
Continuous/Single Sweep
Hold Sweep
Trigger Sweep/Measurement
:INPut Subsystem
IF Gain Mode Setting
Internal Bias Tee Current
External Bias Tee Current
External Bias Tee Tripped State
External Bias Tee Voltage
Internal Bias Tee Tripped State
Internal Bias Tee Port Selection
Bias Tee State
Internal Bias Tee Voltage
:MMEMory Subsystem
:MMEMory:LOAD Subsystem
Recall Setup
Recall Measurement
:MMEMory:STORe Subsystem
Save Setup
Save Measurement
[:SENSe] Subsystem
[:SENSe]:APPLication Subsystem
Application Self Test
Application Self Test Result
[:SENSe]:AVERage Subsystem
Restart Averaging
Number of Traces to Average
[:SENSe]:CALibration Subsystem
Calibration State
[:SENSe]:CORRection Subsystem
Error Correction Data
Error Correction Data (continued)
Smith Chart Reference Impedance
Calibration Correction State
[:SENSe]:CORRection:CKIT Subsystem
Calibration Connector Information
[:SENSe]:CORRection:CKIT:USER Subsystem
DUT User Inductance Coefficient value
DUT User Capacitance Coefficient value
DUT User Cutoff Frequency
DUT User Name
DUT User Open Offset
DUT User Short Offset (SSLT)
DUT User Short Offset (SSST)
DUT User Short Offset for calibration method SOLT
[:SENSe]:CORRection:COLLect Subsystem
Calibration Abort
Calibration Steps
Calibration Steps and Calibration Types:
Calibration Steps and Calibration Types (continued):
Calibration Steps and Calibration Types (continued):
Calibration Step Status
DUT Port Setup
Configure Calibration Type
Calibration Type
Calibration Thru Line Length
Calibration Thru Line Length
Calibration Interpolation
Calibration Line Type
Calibration Method
Calculate Calibration Data
Calibration Status
Calibration Accuracy Status
Calibration Type
[:SENSe]:FREQuency Subsystem
Center Frequency
Frequency Span
Distance Suggested Frequency Span
Time Suggested Frequency Span
Start Frequency
Stop Frequency
Get Frequency List
[:SENSe]:RFON[:STATe] Subsystem
RF Power In Hold State
[:SENSe]:ROSCillator Subsystem
Reference Frequency Oscillator
External Reference Oscillator Frequency
[:SENSe]:SWEep Subsystem
IF Bandwidth
Number of Sweep Points
Sweep Type
[:SENSe]:TRACe Subsystem
Trace Domain
Trace Select
S Parameter
Number of Traces
Active Trace
:SOURce Subsystem
Power Levels
:SOURce:CORRection:RVELocity Subsystem
Propagation Velocity
Cable Loss
Cutoff Freq
DUT Line Type
Waveguide Loss
:STATus Subsystem
Query Operation Status
:SYSTem Subsystem
Motherboard Temperature
Trace Subsystem
Trace Data Transfer
Trace Header Transfer
Trace Header Transfer (continued)
Trace Header Transfer (continued)
Trace Header Transfer (continued)
Vector Voltmeter Commands
Introduction
VVM Commands
:MMEMory Subsystem
:MMEMory:LOAD Subsystem
Recall Setup
Recall Measurement
:MMEMory:STORe Subsystem
Save Setup
Save Measurement
:TRACe VVM Subsystem
Trace Header Transfer
Trace Header Transfer (continued)
Trace Header Parameters
[:SENSe]:VVM Subsystem
Return Measurement Format
Measurement Mode
Port
Measurement Type
[:SENSe:]:VVM:CABLe Subsystem
Cable
[:SENSe]:VVM:FREQuency Subsystem
CW Frequency
[:SENSe:]:VVM:REFerence Subsystem
Clear Reference
Set Reference
:FETCh:VVM Subsystem
Data
FETCh:VVM:REFerence Subsystem
Reference Data
Power Monitor Commands
Introduction
Power Monitor Commands
:TRACe Power Monitor Subsystem
Trace Header Transfer
Trace Header Parameters
:CALCulate Subsystem
:CALCulate:PMONitor Subsystem
Offset
Units
:CALCulate:PMONitor:RELative Subsystem
Relative State
:CALCulate:PMONitor:ZERO Subsystem
Zero State
:FETCh:PMONitor Subsystem
Displayed Data
:FETCh:PMONitor:RELative Subsystem
Reference Power Level
:FETCh:PMONitor:ZERO Subsystem
Zero Power Level
Spectrum Analyzer Commands
Introduction
Spectrum Analyzer Commands
:ABORt Subsystem
:CALCulate Subsystem
Limit Alarm
Move Limit to Current Center Frequency
Create Limit Envelope
Limit Envelope Offset
Number of Limit Envelope Points
Limit Envelope Shape
Update Limit Envelope Frequency
Update Limit Envelope Amplitude
Limit Fail State
Lower Limit Alarm
Lower Limit Fail State
Number of Lower Limit Points
Lower Limit State
Limit Line Type
Limit Mirror
Add Limit Point
Delete Limit Point
Next Point Left
Next Point Right
Limit Point X Value
Limit Point Y Value
Number of Limit Points
Set Limit Line Upper or Lower
Upper Limit Alarm
Upper Limit Fail State
Number of Upper Limit Points
Upper Limit State
Move Limit
Add Vertical
Limit X Value
Limit Line Y Value
Set Default Limit
Limit State
Turn All Markers Off
Peak Threshold
Marker Data
Marker Table State
Marker Noise
Delta Marker X Value
Delta Marker Read Y Value
Delta Marker to Span
Delta Marker State
Marker Counter
Marker Fixed State
Marker (Maximum) Peak Search
Marker (Maximum) Peak Search Left
Marker (Maximum) Peak Search Next
Marker (Maximum) Peak Search Right
Marker Noise
Marker X Value
Marker Read Y Value
Marker Frequency to Center
Marker to Reference Level
Marker State
:CONFigure Subsystem
Configure Adjacent Channel Power Ratio
Configure Channel Power
Configure Field Strength
Configure Occupied Bandwidth
Measurement Mode
:DISPlay Subsystem
Display Grid
Auto Reference Level
Scale
Reference Level
Reference Level Offset
:FETCh Subsystem
Fetch Adjacent Channel Power Ratio
Fetch Channel Power
Fetch Channel Power Density
Fetch Channel Power/Density
Fetch Occupied Bandwidth Frequency
Fetch Occupied Bandwidth
:FORMat Subsystem
Numeric Data Format
:INITiate Subsystem
Continuous/Single Sweep
Trigger Sweep/Measurement
Save On Crossing Limit
Save On Sweep Complete
Save Then Stop
:MEASure Subsystem
Measure Adjacent Channel Power Ratio
Measure Channel Power
Measure Channel Power Density
Measure Channel Power/Density
Measure Occupied Bandwidth
:MMEMory Subsystem
Recall Limit
Recall Setup
Recall Measurement
Save Limit
Save Setup
Save Measurement
:READ Subsystem
Read Adjacent Channel Power Ratio
Read Channel Power Density
Read Channel Power
Read Occupied Bandwidth
:TRACe Subsystem
Trace Copy
Trace Exchange
Trace Header Transfer
Trace Header Parameters
Trace Data Transfer
Trace View State
Trace Write State
Trace A Operation
Trace B Operation
Trace C Operation
:TRIGger Subsystem
Trigger Source
Video Trigger Position (time)
Video Trigger Level
:UNIT Subsystem
Measurement Units
[:SENSe] Subsystem
ACPR Adjacent Channel Bandwidth
ACPR Main Channel Bandwidth
ACPR Channel Spacing
ACPR Measurement State
Number of Traces to Average
Trace Mode (Normal/Average/Max Hold/Min Hold)
Resolution Bandwidth
Resolution Bandwidth Coupling
Resolution Bandwidth to Span Ratio
Video Bandwidth
Video Bandwidth Coupling
Video Bandwidth to Resolution Bandwidth Ratio
Video Bandwidth
Channel Power Integration Bandwidth
Channel Power Measurement State
Input Impedance
Other Input Impedance Loss
Detection Type
Frequency Reference Status
Center Frequency
Channel Selection
Signal Standard
Frequency Span
Frequency Span – Full
Frequency Span – Last
Start Frequency
Frequency Step
Stop Frequency
Field Strength Antenna
Field Strength Measurement State
Occupied Bandwidth Measurement Method
Occupied Bandwidth Percent of Power
Occupied Bandwidth Measurement State
Occupied Bandwidth dB Down
Input Attenuation
Input Attenuation Coupling
Preamp State
Sweep Mode
Sweep Status
Minimum Sweep Time
Actual Sweep Time
Auto Sweep Time
Trace Count
AM/FM/PM Commands
Introduction
AM/FM/PM Analyzer Commands
:CALCulate Subsystem
:DISPlay Subsystem
:FORMat Subsystem
:INITiate Subsystem
:MMEMory Subsystem
:TRACe Subsystem
[:SENSe] Subsystem
All Mode Commands
Introduction
All Mode Commands
:INSTrument Subsystem
Query Available Modes
Select Mode by Number
Select Mode by Name
:MMEMory Subsystem
Transfer Data
Delete Data/Location
Show Directory
:MMEMory:MSIS Subsystem
Save Location
Copy From Current Save Location To Destination
Destination of Copied Files
:MMEMory:STORe Subsystem
Save Screen as JPEG
:SYSTem Subsystem
Query Memory State
Query Installed Options
Preset
[:SENSe]:GPS Subsystem
GPS State
GPS Antenna Current
GPS Receiver Reset
GPS Antenna Voltage
:FETCh:GPS Subsystem
Fetch GPS Fix Data
Example
Introduction
C/C++
Visual Basic
Visual Basic
LabVIEW™
VNA Master™Programming Manual
Anritsu Company