Catalog Measurements using SCPI

M9370A / M9371A / M9372A / M9374A / M9375A

Catalog Measurements using SCPI


This Visual Basic Program does the following:

  • Catalogs the currently defined measurements, windows, and traces

  • Selects a measurement for further definition

  • Adds a Title to the window

To run this program, you need:

See Other SCPI Example Programs

Dim Meas as String Dim Win as String
Dim Trace as String


'Read the current measurements in Channel 1

GPIB.Write "CALCulate1:PARameter:CATalog?"

Meas = GPIB.Read

MsgBox ("Ch1 Measurments: " & Meas)


'Read the current windows

GPIB.Write "DISPlay:CATalog?"

Win = GPIB.Read

MsgBox ("Windows: " & Win)


'Read current traces in window 1

GPIB.Write "DISPlay:WINDow1:CATalog?"

Trace = GPIB.Read

MsgBox ("Traces in Window1: " & Win)