
Chapter 4 Remote Interface Reference
The SCPI Status Registers
96
C a u t i o n
The IEEE-488 standard does not ensure synchronization between your
bus controller program and the instrument. Use the
*OPC?
command to
guarantee that commands previously sent to the instrument have
completed. Executing a serial poll before a
*RST
,
*CLS
, or other
commands have completed can cause previous conditions to be reported.
Using *STB? to Read the Status Byte
The
*STB?
(Status Byte query) command is similar to a serial poll but it is
processed like any other instrument command. The
*STB?
command
returns the same result as a serial poll but the “request service” bit (bit 6)
is
not
cleared.
The
*STB?
command is not handled automatically by the IEEE-488 bus
interface hardware and will be executed
only
after previous commands have
completed. Polling is not possible using the
*STB?
command. Executing the
*STB?
command does not clear the Status Byte summary register.
Using the Message Available Bit (MAV)
You can use the Status Byte “message available” bit (bit 4) to determine
when data is available to read into your bus controller. The power supply
subsequently clears bit 4
only
after all messages have been read from the
output buffer.
To Interrupt Your Bus Controller Using SRQ
1
Send a device clear message to clear the power supply's output buffer (e.g.,
CLEAR 705
).
2
Clear the event registers with the
*CLS
(clear status) command.
3
Set up the enable register masks. Execute the
*ESE
command to set up the
Standard Event register and the
*SRE
command for the Status Byte.
4
Send the
*OPC?
(operation complete query) command and enter the result
to ensure synchronization.
5
Enable your bus controller's IEEE-488 SRQ interrupt.
Содержание E3631-90002
Страница 9: ...8...
Страница 14: ...1 1 General Information...
Страница 25: ...24...
Страница 26: ...2 2 Initial Operation...
Страница 34: ...3 3 Front Panel Operation...
Страница 64: ...4 4 Remote Interface Reference...
Страница 113: ...112...
Страница 114: ...5 5 Error Messages...
Страница 124: ...6 6 Application Programs...
Страница 137: ...136...
Страница 138: ...7 7 Tutorial...
Страница 153: ...152...
Страница 154: ...8 8 Specifications...
Страница 160: ...Chapter 8 Specifications Supplemental Characteristics 159 8 Figure 8 1 Dimensions of Agilent E3631A Power Supply...
Страница 161: ...160...