12-102
Return to
2600S-901-01 Rev. C / January 2008
Section 12: Instrument Control Library
Series 2600 System SourceMeter® Instruments Reference Manual
status.standard.*
status.standard.condition
status.standard.enable
status.standard.event
* = condition, enable or event
Attribute
Standard event register set.
Usage
Reads condition, enable and event registers:
standardreg = status.standard.condition
standardreg = status.standard.enable
standardreg = status.standard.event
Writes to enable register:
status.standard.enable = standardreg
Set
standardreg
to one of the following values:
0
Clears all bits.
status.standard.OPERATION_COMPLETE
Sets OPC bit (B0).
status.standard.OPC
Sets OPC bit (B0).
status.standard.QUERY_ERROR
Sets QYE bit (B2)
.
status.standard.QYE
Sets QYE bit (B2).
status.standard.DEVICE_DEPENDENT_ERROR
Sets DDE bit (B3).
status.standard.DDE
Sets DDE bit (B3).
status.standard.EXECUTION_ERROR
Sets EXE bit (B4).
status.standard.EXE
Sets EXE bit (B4).
status.standard.COMMAND_ERROR
Sets CME bit (B5).
status.standard.CME
Sets CME bit (B5).
status.standard.USER_REQUEST
Sets URQ bit (B6).
status.standard.URQ
Sets URQ bit (B6).
status.standard.POWER_ON
Sets PON bit (B7).
status.standard.PON
Sets PON bit (B7).
standardreg
can also be set to the decimal weight of the bit to be set. Examples:
To set bit B0 (OPC), set
standardreg
to 1 (2
0
).
To set bit B2 (QYE), set
standardreg
to 4 (2
2
).
To set bit B5 (CME), set
standardreg
to 32 (2
5
).
To set more than one bit of the register, set
standardreg
to the sum of their decimal
weights. For example, to set bits B0 and B2, set
standardreg
to 5 (1 + 4).