12-124 Instrument Control Library
Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006
Return to
status.reset
Function
Resets all bits set in the status model.
Usage
status.reset()
Remarks
This function clears all status data structure registers (enable, event, NTR and PTR) to
their power up states.
Details
.
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).
Содержание SourceMeter 2600 Series
Страница 507: ...AppendixA Specifications Appendix A topics Model 2600S Specifications page A 2 2600S 901 01 Rev A May 2006...
Страница 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Страница 592: ......
Страница 593: ......