8.4 Communication Methods
109
8
Chapter 8 RS-232C/GP-IB Interfaces
Event Status Registers 0 (ESR0) and 1 (ESR1), and Event Status Enable Regis-
ters 0 (ESER0) and 1 (ESER1)
Register Reading
and Writing
GP-IB Commands
The following commands can be used for performing interface functions.
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
-- -- ERR -- -- -- INDEX EOM
&&&&&&&&
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
-- -- ERR -- -- -- INDEX EOM
Event Status Register 0 (ESR0)
Event Status Enable Register 0 (ESER0)
bit2 bit1 bit0
ESB1 ESB0
Status Byte Register (STB)
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
FAIL PASS V-Hi V-IN V-Lo R-Hi R-IN R-Lo
&&&&&&&&
bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0
FAIL PASS V-Hi V-IN V-Lo R-Hi R-IN R-Lo
Event Status Register 1 (ESR1)
Event Status Enable Register 1 (ESER1)
Logical
OR
Logical
OR
Register Read Write
Status Byte Register
∗STB? −
Service Request Enable Register
∗SRE? ∗SRE
Standard Event Status Register
∗ESR? −
Standard Event Status Enable Register
∗ESE? ∗ESE
Event Status Register 0
:ESR0?
−
Event Status Enable Register 0
:ESE0? :ESE0
Event Status Register 1
:ESR1? −
Event Status Enable Register 1
:ESE1? :ESE1
Command Description
GTL
Go To Local Cancels the Remote state and enters the Lo-
cal state.
LLO
Local Lock Out Disables all keys, including the LOCAL key.
DCL
Device CLear Clears the input buffer and the output queue.
SDC
Selected Device
Clear
Clears the input buffer and the output queue.
GET
Group Execute
Trigger
When an external trigger occurs, processes
one sample.