3 scpi language, 3 scpi language -2, Boonton 4500b rf peak power analyzer – Boonton 4500B Peak Power Meter User Manual

Page 202: Remote operation

Advertising
background image

Boonton 4500B RF Peak Power Analyzer

Remote Operation

5-2

5.3 SCPI LANGUAGE


All of the features of the Model 4500B are accessible with the SCPI command language. All new programming should use
SCPI. To select the SCPI language make sure the Util > Remote > GPIB > Emulate 4500A menu selection is set to ―Off‖.
This is an important step since the two 4500B languages are incompatible.

The SCPI Model of the 4500B provides a single or dual SENSe sub-system to handle sensor input and a matching single or
dual CALCulate sub-system to process the data obtained from the sensors into useful results. A TRIGger sub-system
provides for measurement and signal synchronization. The CALibration sub-system is used to calibrate Peak Power sensors.
Channel dependent commands end with a number to indicate the desired channel as follows:

Channel

Number

Symbol

Measurement Channel 1 1

CH1

Measurement Channel 2 2

CH2 (optional, Model 4500B Opt 01 only)

Ext Trigger Channel 1

3

TRIG1

Ext Trigger Channel 2 4

TRIG2 (optional, Model 4500B Opt 01 only)

Channel Math

5

CHM

Memory Channel 1

6

MEM1

Memory Channel 2

7

MEM2

If the channel number is omitted, channel 1 is selected by default.

Commands may be transmitted together if separated by a semicolon ―;‖ character. Any query command must be the last
command in a line. The 4500B‘s listen buffer can accept 65,535 characters, so buffer overflow should not be a problem. It is
a good idea, however, to limit strings of commands to a manageable size for ease in troubleshooting communication
difficulties. Also, programmers should be aware that sending long strings of commands reduces the ―sequential‖ nature of
the command execution, and can cause some of the more complex commands (such as mode changes), which take longer to
complete, to ―overlap‖ the short commands. Most commands have an optional short form that reduces the number of
characters necessary over the bus. When commands are printed in this document, the short form letters will be capitalized,
with the remaining characters in lower case. If a channel number designation and/or query ? symbol is needed, it is appended
to either the long or short form of the command. Commands which take numerical or literal arguments require an ASCII
space between the command and the argument.

Examples:

CALCulate:STATe ON

Turn on measurement channel 1 (default channel number)

CALCulate1:STATe ON

Turn on measurement channel 1 (specified channel number)

CALC:STAT ON

Turn on measurement channel 1 (short form, default channel number)

CALC1:STAT ON

Turn on measurement channel 1 (short form, specified channel number)

CALCulate:STATe?

Query the state of measurement channel 1 (default channel number)

CALC:STAT?

Query the state of channel 1 (short form, default channel number)

CALCulate1:STATe?

Query the state of measurement channel 1 (specified channel number)

CALC1:STAT?

Query the state of channel 1 (short form, specified channel number)

Advertising