Appendix E: Status model
Model 2651A High Power System SourceMeter® Instrument Reference Manual
E-20
2651A-901-01 Rev. A / March 2011
•
Bit B5, Command Error (CME):
Set bit indicates that a command error has occurred. Command
errors include:
•
IEEE Std 488.2 syntax error: The System SourceMeter instrument received a message that does not
follow the defined syntax of IEEE Std 488.2.
•
Semantic error: System SourceMeter instrument received a command that was misspelled or received
an optional IEEE Std 488.2 command that is not implemented.
•
The instrument received a Group Execute Trigger (GET) inside a program message.
•
Bit B6, User Request (URQ):
Set bit indicates that the LOCAL key on the System SourceMeter
instrument front panel was pressed.
•
Bit B7, Power ON (PON):
Set bit indicates that the System SourceMeter instrument has been
turned off and turned back on since the last time this register has been read.
Commands to program and read the register are summarized below and also in the
Standard event commands
Command Description
*ESR?
or
print(status.standard.event)
Read Standard Event Status Register.
*ESE <mask>
or
status.standard.enable = <mask>
Program the Event Status Enable Register:
<mask>
= 0 to 255
See
*ESE?
or
print(status.standard.enable)
Read Event Status Enable Register.
Operation Status Registers
As shown in the status model's
(on page E-7) diagram, there are 22
register sets associated with operation status. Commands are summarized in the
(on page E-18) topic. Note that bits can also be set by using numeric parameter values. For details,
see
Programming enable and transition registers
(on page E-13).
For example, either of the following commands will set the CAL enable bit (B0):
status.operation.enable = status.operation.CAL
status.operation.enable = 1
When reading a register, a numeric value is returned. The binary equivalent of this value indicates
which bits in the register are set. For details, see
(on page E-14). For example, the
following command will read the Operation Status Enable Register:
print(status.operation.enable)
Commands to program and read the register are summarized in the
(on