
43
────────────────────────────────────────────────────
5.4 Commands Specific to the 3157
────────────────────────────────────────────────────
128
64
32
16
8
4
2
1
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
Unused Unused Unused Unused
EOM
LFAIL
UFAIL
PASS
Event status register 0 (ESR0)
:ESR0?
■
Queries event status register 0.
:HEADer
■
Enables and disables headers for the response messages.
:HEADer?
■
Queries whether or not headers on response messages are enabled.
Syntax
ESR0?
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
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.
Syntax
:HEADer
_<data>
<data>
ON/OFF (character data)
Function
Sets whether or not the 3157 will prefix headers to its response messages.
When powering on, <data> is initially set to OFF.
Example
Transmission
:HEADer ON
Headers are prefixed to response messages.
Error
If <data> is other than character data described above, an execution error
occurs.
Syntax
:HEADer?
Function
Returns whether or not headers on response messages are enabled as
character data.
<data>
ON/OFF (character data)
Example
Response
If headers are on
:HEADER ON
If headers are off
OFF
Error
If the response message is longer than 300 bytes, a query error is generated.
Содержание 9518-02
Страница 1: ...GP IB INTERFACE INSTRUCTION MANUAL 9518 02 3157 AC GROUNDING HiTESTER...
Страница 2: ......
Страница 6: ...ii Introduction...
Страница 74: ...68 5 6 Initialization Items...
Страница 84: ...78...