6-22
Section 6: 9100 System Operation — SCPI Language
Final Width = 215mm
6.5.3.6
Standard Event Status Enable Register
The ESE register is a means for the application program to select, from the positions of
the bits in the standard-defined Event Status Byte, those events which when true will set
the ESB bit true in the Status Byte. It contains a user-modifiable image of the standard
Event Status Byte, whereby each true bit acts to enable its corresponding bit in the
standard Event Status Byte.
Bit Selector:
∗
ESE phs Nrf
The program command:
∗
ESE phs Nrf performs the selection, where Nrf is a decimal
numeric, which when decoded into binary, produces the required bit-pattern in the
enabling byte.
For example:
If the ESB bit is required to be set true only when an execution or device-dependent
error occurs, then Nrf should be set to 24. The binary decode is 00011000 so bit 3 or
bit 4, when true, will set the ESB bit true; but when bits 0-2, or 5-7 are true, the ESB
bit will remain false.
Reading the Standard Event Enable Register
The common query:
∗
ESE? reads the binary number in the ESE register. The response
is a decimal number which is the sum of the binary-weighted values in the register.
6.5.3.7
The Error Queue
As errors in the 9100 are detected, they are placed in a 'first in, first out' queue, called the
'Error Queue'. This queue conforms to the format described in the SCPI Command
Reference (Volume 2) Chapter 19, para 19.7, although errors only are detected. Three
kinds of errors are reported in the Error Queue, in the sequence that they are detected:
Command Errors, Execution Errors and Device-Specific errors
Reading the Error Queue
The queue is read destructively as described in the SCPI Command Reference, using the
query command SYSTem ERRor? to obtain a code number and error message. The query
SYSTem ERRor? can be used to read errors in the queue until it is empty, when the
message '0, No Error' will be returned.
Содержание 9100 Series
Страница 1: ...Final Width 215mm USER S HANDBOOK Model 9100 Universal Calibration System Volume 2 Performance ...
Страница 70: ......
Страница 76: ......
Страница 94: ......
Страница 131: ...Section 7 Model 9100 Specifications 7 35 Final Width 215mm ...
Страница 132: ......
Страница 160: ......
Страница 172: ......
Страница 174: ......
Страница 190: ......
Страница 208: ......
Страница 272: ......
Страница 273: ......
Страница 274: ......