171
_____________________________________________________________________________________________
10.3 RS-232C Command Reference
______________________________________________________________________________________________
10.3.2 Specific Command Messages
Syntax
:ESR0?
Response
syntax
<data>
<data>
0to255
(NR1)
Function
Returns the value of event status register 0 (ESR0) as a numerical value in NR1 format between
0 and 255, and then clears event status register 0.
Example
Queries event status register 0.
Transmission :ESR0?
Response 4
Bit 2 of ESR0 has been set to 1.
Error
If the response message is longer than 300 bytes, a query error is generated.
Event status re
ister 0
ESR0
128 64 32 16 8 4 2 1
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
Unused Unused Unused Unused
EOM LFAIL UFAIL PASS
Syntax
:HEADer <data>
<data>
ON/OFF
(Character data)
Function
Sets whether or not the 3153 will prefix headers to its response messages.
Note
If the PC interface settings are changed by setting optional functions when the power is turned
ON, the header will be reset to OFF.
Example
Enables headers for the response messages.
Transmission :HEADer ON
Error
If <data> is other than character data described above, an execution error occurs.
:ESR0?
Queries event status register 0.
:HEADer
Enables and disables headers for the response messages.