8.5 Message List
111
8
Chapter 8 RS-232C/GP-IB Interfaces
Commands specific to RS-232C or GP-IB are identified by or , respec-
tively.
8.5 Message List
• Any spelling mistake in a message results in a command error.
• < > = contents of the data portion.
[Numeric data values are indicated by format as (NR1), (NR2) and (NR3), rep-
resenting integer, fixed-point and floating point decimal data values respec-
tively, or as (NRf), representing any of these formats]
• [ ]: optional
Standard Commands
Command
Data Formats (Response
data if a Query)
Description Error
Ref
page
∗IDN?
<Manufacturer's name>,
<Model name>,0,
<Software version>
Queries the device ID *2
118
∗RST
Initializes the device *1
118
∗TST?
0 to 3 (NR1) Initiates a self-test and queries the result *2
118
∗OPC
Requests an SRQ after execution completion *1
119
∗OPC?
1 Queries execution completion *2
119
∗WAI
Waits for operations to finish *1
119
∗CLS
Clears the Event Registers and the Status Byte
Register
*1
119
∗ESE
0 to 255 (NR1) Sets the contents of the Standard Event Status
Enable Register
*3
120
∗ESE?
0 to 255 (NR1) Queries the Standard Event Status Enable
Register
*2
120
∗ESR?
0 to 255 (NR1) Queries and clear the Standard Event Status
Register
*2
120
∗SRE
0 to 255 (NR1) Sets the Service Request Enable Register *3
121
∗SRE?
0 to 255 (NR1) Queries the contents of the
Service Request
Enable Register
*2
121
∗STB?
0 to 255 (NR1) Queries the Status Byte Register *2
121
∗TRG
Requests a sampling *1
121
Error description (an error occurs when executing messages in the following cases):
*1 Command Error......... When data is present after the command
*2 Query Error ............... When the response message exceeds 64 bytes
*3 Execution Error ......... When invalid character or numeric data is present