216
_____________________________________________________________________________________________
10.8 GP-IB Command Reference
______________________________________________________________________________________________
10.8.2 Specific Command Messages
Syntax
:ESE0 <data>
<data>
0to255
(NR1)
Function
Sets event status enable register 0 (ESER0) to the bitmask for controlling access to events in
event status register 0 (ESR0).
The numerical value can be in NRf format, but any digits after the decimal point will be
rounded.
When the power is turned on, the data is reinitialized to zero.
Example
Bit 2 of ESER0 is set to 1.
Transmission :ESE0 4
Error
If <data> is other than numerical value described above, an execution error occurs.
Event status enable re
ister 0
ESER0
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
:ESE0?
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.
No header is prefixed to the response message.
Example
Queries event status enable register 0.
Transmission :ESE0?
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 enable re
ister 0
ESER0
128 64 32 16 8 4 2 1
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
Unused Unused Unused Unused
EOM LFAIL UFAIL PASS
:ESE0
Sets event status enable register 0.
:ESE0?
Queries event status enable register 0.
The commands are the same as those used for RS-232C. See Section 10.3.1
Common Command. Those specified below are the commands that can be
used for GP-IB only.