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:
An established GPIB interface connection
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)