Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-200
Document Number: 3700S-901-01 Rev. A / August 2007
status.standard.*
.condition
.enable
.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.
To set the OPC bit (B0):
status.standard.OPERATION_COMPLETE
- or -
status.standard.OPC
To set QYE bit (B2):
status.standard.QUERY_ERROR
- or -
status.standard.QYE
To set DDE bit (B3):
status.standard.DEVICE_DEPENDENT_ERROR
- or -
status.standard.DDE
To set EXE bit (B4):
status.standard.EXECUTION_ERROR
- or -
status.standard.EXE
To set CME bit (B5):
status.standard.COMMAND_ERROR
- or -
status.standard.CME
To set URQ bit (B6):
status.standard.USER_REQUEST
- or -
status.standard.URQ
To set PON bit (B7):
status.standard.POWER_ON
- or -
status.standard.PON
standardreg
can also be set to the decimal weight of the bit to be set:
To set bit B0 (OPC), set
standardreg
to 1 (20).
To set bit B2 (QYE), set
standardreg
to 4 (22).
To set bit B5 (CME), set
standardreg
to 32 (25).
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).