Chapter 4 Remote Interface Reference
The SCPI Status Registers
99
4
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.
Summary of Contents for E364 A Series
Page 9: ...8...
Page 15: ...14 Contents Contents...
Page 16: ...1 Quick Start...
Page 27: ...Chapter 1 Quick Start To Rack Mount the Instrument 26...
Page 28: ...2 General Information...
Page 40: ...3 Front Panel Operation and Features...
Page 68: ...4 Remote Interface Reference...
Page 114: ...5 Error Messages...
Page 124: ...6 Application Programs...
Page 135: ...Chapter 6 Application Programs Example Program for Excel 97 134...
Page 136: ...7 Tutorial...
Page 147: ...Chapter 7 Tutorial Remote Programming 146...
Page 148: ...8 Specifications...
Page 156: ...Appendix Service Information...
Page 165: ...Appendix Service Information General Disassembly 164 General Disassembly...
Page 193: ...Appendix Service Information Replaceable Parts 192...
Page 197: ......
Page 198: ......
Page 199: ......
Page 200: ......
Page 201: ......
Page 202: ......
Page 203: ......
Page 204: ......
Page 205: ......