
Remote Control
Users Guide
1-6
Device Responses
Device responses are messages the instrument sends to the controller in reply to a query.
They may contain measurement results or information on the instrument status.
The structure and syntax of device messages are described in the following section.
Structure and Syntax of Device Messages
Introduction to SCPI
SCPI (Standard Commands for Programmable Instruments) describes a standard
command set for programming instruments, irrespective of the type of instrument or
manufacturer. The objective of the SCPI consortium is to standardize the device-specific
commands to a large extent. For this purpose, a model was developed that defines
identical functions of a device or of different devices. Command systems were generated
that are assigned to these functions and it is possible to address identical functions with
identical commands. The command systems are of a hierarchical structure. Figure 1-1
illustrates this tree structure using a section of command system SOURce, which operates
the signal sources of the devices. The other examples concerning syntax and structure of
the commands are derived from this command system.
SCPI is based on standard IEEE 488.2 and uses the same basic syntax elements and
common commands defined in this standard. Part of the syntax of the device responses is
defined in greater detail than in standard IEEE 488.2 (see section "Responses to
Queries").
Structure of Commands
The Commands consist of a header and, in most cases, one or several parameters. The
header and the parameters are separated by a “white space” (ASCII code 0 to 9, 11 to 32
decimal, a blank). Headers may consist of several key words. Queries are formed by
appending a question mark directly to the header.
Common Commands
Common (device-independent) commands consist of a header preceded by an asterisk "*"
and of one or several parameters, if any.
Examples
*RST
RESET, resets the instrument
*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
Device-Specific Commands
Hierarchy
Device-specific commands are of a hierarchical structure (see Figure 1-1). The different
levels are represented by combined headers. Headers of the highest level (root level) have
only one key word. This key word denotes a complete command system.
Содержание NORMA 4000 Operators
Страница 6: ...Remote Control Users Guide iv ...
Страница 8: ...Remote Control Users Guide vi ...
Страница 10: ...Remote Control Users Guide viii ...
Страница 12: ...Remote Control Users Guide 1 2 Output Unit 1 13 Command Sequence and Command Synchronization 1 14 ...
Страница 26: ...Remote Control Users Guide 2 2 ...
Страница 38: ...Remote Control Users Guide 3 2 ...
Страница 50: ...Remote Control Users Guide 4 2 ...
Страница 150: ...Remote Control Users Guide 4 102 ...
Страница 152: ...Remote Control Users Guide 5 2 ...
Страница 160: ...Remote Control Users Guide 6 2 ...
Страница 184: ...Remote Control Users Guide 6 26 ...