
8.7 Command Message Description
163
8
Chapter 8
Contro
lling the
Instru
ment From
a Comp
uter
Common Messages
Clears event registers and status byte registers
Syntax
Command
*CLS
Function
Command
Clears the content of event registers (SESR, ESR0) as well as the bits of the
corresponding status byte registers.
There is no effect on the output queue, enable registers, or bit 4 (MAV) of status
byte registers.
Example
Command
*CLS
Error
Any data following a command results in a command error.
Queries the event status register
Syntax
Query
Response
*ESR?
<numerical value>
<numerical value>
= 0 to 255 (NR1)
Function
Query
Returns the setting content of SESR as a numeric value, then clears the con-
tent. No header is prefixed to the response message.
Example
Query
Response
*ESR?
32
Bit 5 of SESR has been set to 1.
Error
If the response message exceeds the output queue size, a query error occurs.
Queries the equipment ID
Syntax
Query
Response
*IDN?
<character value 1>,<character value 2>,<character value 3>,<character value
4>
<character value 1>
= Manufacturer's name
<character value 2>
= Model name
<character value 3>
= 0, fixed (NR1)
<character value 4>
= Software versio
Function
Query
Returns the equipment manufacturer name, model name, and version of soft-
ware. No header is prefixed to the response message.
Example
Query
Response
*IDN?
HIOKI,ST5540,0,V1.00
The equipment ID is "HIOKI, ST5540, 0, 1.00 (software version)."
(The model name for ST5541 is ST5541.)
Error
If the response message exceeds the output queue size, a query error occurs.
Summary of Contents for ST5540
Page 2: ......
Page 6: ...Contents iv Index i ...
Page 29: ...23 2 Chapter 2 Instrument Labels and Screens Instrument Labels and Screens Chapter 2 ...
Page 80: ...4 8 Changing the Measurement Method Auto Manual 74 ...
Page 121: ...115 8 9 7 Chapter 7 Instrument System Settings Instrument System Settings Chapter 7 ...
Page 144: ...7 14 Setting the Backlight 138 ...
Page 284: ...10 14 Measurement Networks 278 ...
Page 290: ...11 4 Instrument Disposal 284 ...
Page 320: ...Appendix4 External Dimensions A30 ...
Page 323: ......
Page 324: ......
Page 325: ......
Page 326: ......