SCPI Example Programs


Setup Measurements

Environment

Catalog Measurements

Visual Basic

Create an S-parameter Measurement

VBScript

Create a Balanced Measurement

VBScript

Channels, Windows, and Measurements

VBScript

Setup Sweep Parameters

Visual Basic

Setup the Display

Visual Basic

Setup a Measurement

Visual C++

Triggering the Analyzer

VBScript

Setup Markers

VBScript

Setup PNOP and PSAT Markers

VBScript

Calibrations   See Calibrating the VNA Using SCPI

 

Calibrate All Channels

VBScript

Guided 2-Port or 4-Port Cal

VBScript

Guided 2-Port Comprehensive Cal

VBScript

Guided ECal

VBScript

Guided Mechanical

VBScript

Guided 1-port Mechanical Cal on Port 2

VBScript

Guided TRL

VBScript

Guided Unknown Thru or TRL Cal (apply Delta Match Cal)

VBScript

Perform a Guided QSOLT Cal

VBScript

Unguided ECal

VBScript

Unguided 2-port Mechanical Cal

VBScript

Unguided 1-port Mechanical Cal on Port 2

VBScript

Unguided 2-port Cal on a 4-Port VNA

Visual Basic

Unguided Thru Response Cals

VBScript

Perform a CalAllChannels Calibration

VBScript

Perform Unguided Cal on Multiple Channels

VBScript

Perform an ECal User Characterization

VBScript

Perform an ECAL Confidence Check

Visual Basic

Perform a Sliding Load Cal

Visual Basic

Load Error Terms during a Cal Sequence

None

Create a New Cal Kit

RMB

Modify a Calibration Kit

Visual Basic

Miscellaneous

 

*ESR? Sweep Complete

VBScript

Getting and Putting Data

Visual Basic

Getting and Putting Data (Definite Block Transfers)

RMB

Transfer Data using MMEM:TRANSfer

RMB

Establish a VISA Session

Visual Basic

Status Reporting

Visual Basic

GPIB Pass-Through

VBScript

VNA as Controller and Talker/Listener

Visual Basic

Upload and Download a Segment List

VBScript

Set ECal States

VBScript

See more programming information and examples at:http://na.support.keysight.com/pna/programming/