141
────────────────────────────────────────────────────
8.4 Command Reference
────────────────────────────────────────────────────
■ Reads out event status register 2. (Event for measurement value)
(Refer to Section 8.3.13.)
Syntax
ESR2?
Function
Returns the value of event status register 2 (ESR2) as a numerical value in
NR1 format, and then clears event status register 1. The numerical value is
one of the set: 0 through 127.
128 64 32 16 8 4 2 1
bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
CODI CLO2 CIN2 CHI2 CLO1 CIN1 CHI1
Event Status Register 2 (ESR2)
Note
・ No header is prefixed to the response message.
・ With this query, if any error occurs, no response message is produced.
Response
syntax
Headers: ON/OFF
"<0-127>"
Errors
・ Query error/ If the response message is longer than 1000 bytes.
・ System error/ This query is not executed. A device dependent error occurs.
Example
Transmission
Response
":ESR2?"
"34"
Indicates that comparator for channel 1 is IN (CIN1), channel 2 is LO (CLO2).
ESR2?