Keithley 2601 Reference Manual page 353

System sourcemeter 2600 series (smu)
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Series 2600 System SourceMeter® Instruments Reference Manual
status.operation.user.*
status.operation.user.condition
status.operation.user.enable
status.operation.user.event
status.operation.user.ntr
status.operation.user.ptr
* = condition, enable, event, ntr or ptr
Attribute
Operation user event register set.
Reads condition, enable, event, NTR and PTR registers:
Usage
operreg = status.operation.user.condition
operreg = status.operation.user.enable
operreg = status.operation.user.event
operreg = status.operation.user.ntr
operreg = status.operation.user.ptr
Writes to condition, enable, NTR and PTR registers:
status.operation.user.condition = operreg
status.operation.user.enable = operreg
status.operation.user.ntr = operreg
status.operation.user.ptr = operreg
Set operreg to one of the following values:
0
status.operation.user.BIT0
status.operation.user.BIT1
status.operation.user.BIT2
status.operation.user.BIT3
status.operation.user.BIT4
status.operation.user.BIT5
status.operation.user.BIT6
status.operation.user.BIT7
status.operation.user.BIT8
status.operation.user.BIT9
status.operation.user.BIT10
status.operation.user.BIT11
status.operation.user.BIT12
status.operation.user.BIT13
status.operation.user.BIT14
operreg
To set user BIT0, set
To set user BIT4, set
To set user BIT11, set
To set more than one bit of the register, set operreg to the sum of their decimal weights.
For example, to set BIT0 and BIT4, set operreg to 17 (1 + 16).
Remarks
• This attribute is used to read or write to the operation user registers.
• Bits of the user event register are set by setting the corresponding bits of the user enable
register and the user condition register. For example, the following code will set B1 (Bit 1)
of the user event register:
• status.operation.user.enable = 2
• status.operation.user.condition = 2
• Reading a status register returns a value. The binary equivalent of the returned value
indicates which register bits are set. The least significant bit of the binary number is bit 0,
and the most significant bit is bit 15.
• For example, assume value 17 is returned for the enable register. The binary equivalent is
0000000000010001. This value indicates that BIT0 and BIT4 are set.
Details
See
"Operation Event
Example
Sets user BIT0 of the operation user enable register:
status.operation.user.enable = status.operation.user.BIT0
2600S-901-01 Rev. C / January 2008
can also be set to the decimal weight of the bit to be set. Examples:
to 1 (2
operreg
to 16 (2
operreg
to 2048 (2
operreg
Registers" in
Appendix
Return to
Section Topics
Clears all bits.
Sets user BIT0.
Sets user BIT1.
Sets user BIT2.
Sets user BIT3.
Sets user BIT4.
Sets user BIT5.
Sets user BIT6.
Sets user BIT.
Sets user BIT.
Sets user BIT.
Sets user BIT.
Sets user BIT.
Sets user BIT.
Sets user BIT.
Sets user BIT.
0
).
4
).
11
).
D.
Section 12: Instrument Control Library
12-93

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents