User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-279
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 (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).