SCPI Example Programs


Setup Measurements

Environment

Catalog Measurements

Visual Basic

Create an S-parameter Measurement

VBScript

Create a Balanced Measurement

VBScript

Create an FOM 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 RxLeveling

VBScript

Setup Phase Control

VBScript

Configure an External Source

VBScript

Configure a PMAR Device

VBScript

Setup Markers

VBScript

Setup PNOP and PSAT Markers

VBScript

Calibrations   See Calibrating the PNA 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 Cal using Multiple Power Sensors

VBScript

Perform a Guided QSOLT Cal

VBScript

Global Delta Match 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 PNA

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 Source and Receiver Power Cal

VB/VBS

Perform a Simple Source Power Cal

VBScript

Perform a Source Power Cal with TWO Sensors

VBScript

Dynamic Uncertainty

VBScript

Upload a Source Power Cal

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

Applications

 

Create and Cal a Noise Figure Measurement

VBScript

Create and Cal an NFX Measurement

VBScript

Setup Noise Figure Port Mapping

VBScript

Create and Cal a GCA Measurement

VBScript

Create and Cal a GCX Measurement

VBScript

Create an iTMSA Measurement

VBScript

Create and Cal an IMD Measurement

VBScript

Create a Swept IMDX Measurement

VBScript

Create a Diff I/Q Measurement

VBScript

Create a Spectrum Analyzer Measurement

VBScript

Active (Hot) Parameters

VBScript

    FCA

 

Create and Cal a VMC Measurement

VBScript

Perform a VMC Mixer Characterization

VBScript

Create and Cal an SMC Measurement

VBScript

Setup an FCA Segment Sweep

VBScript

Create and Cal Multiple SMC Channels

VBScript

Create an SMC Fixed Output Measurement

VBScript

Create SMC Embedded LO Measurement

VBScript

Perform an SMC Phase Ref Cal

VBScript

Use an Existing Power Cal During an SMC Cal

VBScript

Create and Cal a VMC Measurement using Session commands Superseded

VBScript

Create and Cal an SMC Measurement using Session commands Superseded

VBScript

   Pulsed App.

 

Create a Pulse Profile Measurement

VBScript

Create a Wideband Pulse Measurement

Visual Basic

Create a Narrowband Point-in-Pulse Measurement using DLL

VBScript

Create a Narrowband Pulse Profile Measurement using DLL

VBScript

Automatic Fixture Removal (AFR)

 

AFR Using One Differential 2X THRU

VBScript

AFR Using One Differential OPEN

VBScript

AFR Using One Single-Ended 2X THRU

VBScript

AFR Using One Single-Ended OPEN

VBScript

Miscellaneous

 

Getting and Putting Data

Visual Basic

Getting and Putting Data (Definite Block Transfers)

RMB

External Test Set Control (N44xx)

VBScript

Transfer Data using MMEM:TRANSfer

RMB

Establish a VISA Session

Visual Basic

Status Reporting

Visual Basic

Create a Custom Power Meter Driver

Visual Basic

GPIB Pass-Through

VBScript

VISA Pass-Through

VBScript

PNA as Controller and Talker/Listener

Visual Basic

Send SCPI commands using a Socket Client

C#

Setup FastCW and FIFO

VBScript

Upload and Download a Segment List

VBScript

Perform Linear Interpolation

VBScript

Set ECal States

VBScript

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