Remote Control Fundamentals
R&S
®
NRP2
173
User Manual 1173.9157.02 ─ 03
5.6.2.2
Responses
Responses are messages sent by the device to the controller after a query. This may be
measurement results, for instance, or device status information.
5.7 Structure and Syntax of device-dependent Messages
5.7.1 SCPI Standard
SCPI (Standard Commands for Programmable Instruments) describes a standardized
command set for the programming of instruments regardless of the type of instrument or
manufacturer. The objective of the SCPI Consortium is to standardize device-specific
commands as far as possible. For this purpose, a device model has been developed
which defines identical functions within a device or between different devices. Command
systems have been created and assigned to these functions so that it is possible to
address identical functions with the same commands. The command systems have an
hierarchical structure. The
shows this tree structure, using
details from the
SENSe
command system which selects the measurement to be per-
formed by the device. Most of the other examples of command syntax and structure are
taken from this command system. SCPI is based on the IEEE 488.2 standard, i.e. it uses
the same syntax elements and the common commands defined in IEEE 488.2. The syn-
tax of the responses is subjected to somewhat stricter rules than those specified by the
IEEE 488.2 standard (
chapter 5.7.4, "Responses to Queries"
5.7.2 Command Structure
Commands consist of a header and usually one or several parameters. Header and
parameters are separated by a white space (ASCII code 0 to 9, 11 to 32 decimal, e.g.
space). The headers may be composed of several keywords. The query is created by
appending a question mark directly to the header.
5.7.2.1
Common Commands
Device-independent commands consist of a header preceded by an asterisk (*). The
header may be followed by one or several parameters.
Example:
*RST
RESET
Resets the instrument.
*ESE 253
EVENT STATUS
ENABLE
Sets the bits of the standard event status enable register.
*ESR?
EVENT STATUS QUERY Queries the contents of the standard event status register.
Structure and Syntax of device-dependent Messages
Summary of Contents for NRP2
Page 1: ...R S NRP2 Power Meter User Manual User Manual 2 1173 9157 02 03 Test Measurement...
Page 20: ......
Page 24: ...Contents R S NRP2 6 User Manual 1173 9157 02 03...
Page 40: ...Putting into Operation R S NRP2 22 User Manual 1173 9157 02 03 Starting the R S NRP2...
Page 352: ...Maintenance R S NRP2 334 User Manual 1173 9157 02 03 Storage...
Page 366: ...Error Messages and Troubleshooting R S NRP2 348 User Manual 1173 9157 02 03 Bootmenu...
Page 382: ...Remote control interfaces R S NRP2 364 User Manual 1173 9157 02 03 USB interface...
Page 394: ...Standard Configurations R S NRP2 376 User Manual 1173 9157 02 03...
Page 422: ...Compatibility Information R S NRP2 404 User Manual 1173 9157 02 03...