Chapter 4 Remote Interface Reference
The SCPI Status Registers
100
To Determine When a Command Sequence is Completed
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
Enable the “operation complete” bit (bit 0) in the Standard Event
register by executing the
*ESE 1
command.
4
Send the
*OPC?
(operation complete query) command and enter the
result to ensure synchronization.
5
Execute your command string to program the desired configuration,
and then execute the
*OPC
(operation complete) command as the last
command. When the command sequence is completed, the “operation
complete” bit (bit 0) is set in the Standard Event register.
6
Use a serial poll to check to see when bit 5 (standard event) is set in the
Status Byte summary register. You could also configure the power
supply for an SRQ interrupt by sending
*SRE 32
(Status Byte enable
register, bit 5).
Using *OPC to Signal When Data is in the Output Buffer
Generally, it is best to use the “operation complete” bit (bit 0) in the Standard
Event register to signal when a command sequence is completed. This bit is
set in the register after an
*OPC
command has been executed. If you send
*OPC
after a command which loads a message in the power supply’s output
buffer (query data), you can use the “operation complete” bit to determine
when the message is available. However, if too many messages are generated
before the
*OPC
command executes (sequentially), the output buffer will fill
and the power supply will stop processing commands.
Содержание E364 A Series
Страница 9: ...8...
Страница 15: ...14 Contents Contents...
Страница 16: ...1 Quick Start...
Страница 27: ...Chapter 1 Quick Start To Rack Mount the Instrument 26...
Страница 28: ...2 General Information...
Страница 40: ...3 Front Panel Operation and Features...
Страница 68: ...4 Remote Interface Reference...
Страница 114: ...5 Error Messages...
Страница 124: ...6 Application Programs...
Страница 135: ...Chapter 6 Application Programs Example Program for Excel 97 134...
Страница 136: ...7 Tutorial...
Страница 147: ...Chapter 7 Tutorial Remote Programming 146...
Страница 148: ...8 Specifications...
Страница 155: ...Chapter 8 Specifications Supplemental Characteristics 154 Figure 8 2 Dimensions for Rack mounting...
Страница 156: ...Appendix Service Information...
Страница 165: ...Appendix Service Information General Disassembly 164 General Disassembly...
Страница 193: ...Appendix Service Information Replaceable Parts 192...
Страница 197: ......
Страница 198: ......
Страница 199: ......
Страница 200: ......
Страница 201: ......
Страница 202: ......
Страница 203: ......
Страница 204: ......
Страница 205: ......