![Rohde & Schwarz 1065.6000.20 Operating Manual Download Page 28](http://html1.mh-extra.com/html/rohde-and-schwarz/1065-6000-20/1065-6000-20_operating-manual_1477758028.webp)
FSE
Structure and Syntax of the Device Messages
1065.6016.12
5.9
E-16
Structure and Syntax of the Device Messages
SCPI Introduction
SCPI (Standard Commands for Programmable Instruments) describes a standard command set for
programming instruments, irrespective of the type of instrument or manufacturer. The goal of the SCPI
consortium is to standardize the device-specific commands to a large extent. For this purpose, a model
was developed which defines the same functions inside a device or for different devices. Command
systems were generated which are assigned to these functions. Thus it is possible to address the same
functions with identical commands. The command systems are of a hierarchical structure.
Fig. 5-1 illustrates this tree structure using a section of command system SENSe, which controls the
sensor functions of the devices.
SCPI is based on standard IEEE 488.2, i.e. it uses the same syntactic basic elements as well as the
common commands defined in this standard. Part of the syntax of the device responses is defined with
greater restrictions than in standard IEEE 488.2 (see Section "Responses to Queries").
Structure of a Command
The commands consist of a so-called header and, in most cases, one or more parameters. Header and
parameter are separated by a "white space" (ASCII code 0 to 9, 11 to 32 decimal, e.g. blank). The
headers may consist of several key words. Queries are formed by directly appending a question mark to
the header.
Note:
The commands used in the following examples are not in every case implemented in the
instrument.
Common commands
Common commands consist of a header preceded by an asterisk "*"
and one or several parameters, if any.
Examples:
*RST
RESET, resets the device
*ESE 253
EVENT STATUS ENABLE, sets the bits of the
event status enable register
*ESR?
EVENT STATUS QUERY, queries the
contents of the event status register.
Summary of Contents for 1065.6000.20
Page 3: ......
Page 5: ......
Page 17: ......
Page 57: ...Contents Description of Commands FSE 1065 6016 12 I 6 4 E 16...
Page 379: ...Contents Programming Examples FSE 1065 6016 12 I 7 2 E 1...
Page 391: ......
Page 393: ...Contents Maintenance and Instrument Interfaces FSE 1065 6016 12 I 8 2 E 15...
Page 419: ......
Page 421: ...Contents Error Messages FSE 1065 6016 12 I 9 2 E 1...
Page 429: ......