Keithley 2601 Reference Manual page 348

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

Advertisement

Section 12: Instrument Control Library
status.operation.*
status.operation.condition
status.operation.enable
status.operation.event
status.operation.ntr
status.operation.ptr
* = condition, enable, event, ntr or ptr
Attribute
Operation event status register set.
Reads condition, enable, event, NTR and PTR registers:
Usage
operreg = status.operation.condition
operreg = status.operation.enable
operreg = status.operation.event
operreg = status.operation.ntr
operreg = status.operation.ptr
Writes to enable, NTR and PTR registers:
status.operation.enable = operreg
status.operation.ntr = operreg
status.operation.ptr = operreg
Set operreg to one of the following values:
0
status.operation.CALIBRATING
status.operation.CAL
status.operation.MEASURING
status.operation.MEAS
status.operation.PROMPTS
status.operation.PRMPTS
status.operation.USER
status.operation.INSTRUMENT_SUMMARY
status.operation.INST
status.operation.PROGRAM_RUNNING
status.operation.PROG
operreg
To set bit B0 (CAL), set
To set bit B4 (MEAS), set
To set bit B11 (PRMPTS), set
To set more than one bit of the register, set operreg to the sum of their decimal weights.
For example, to set bits B0 and B4, set operreg to 17 (1 + 16).
Remarks
• This attribute is used to read or write to the operation event registers.
• 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 bit B0 (CAL) and bit B4 (MEAS) are set.
• The used bits of the operation event registers are described as follows:
Bit B0, CAL – Set bit indicates that one or more channels are calibrating.
Bit B4, MEAS
set when taking a normal synchronous measurement.
• Bit B11, PRMPTS – Set bit indicates that command prompts are enabled.
• Bit B12, USER – Set bit indicates that an enabled bit in the operation status user
register is set.
• Bit B13, INST – Set bit indicates that an enabled bit in the operation status instrument
summary register is set.
Bit B14, PROG – Set bit indicates that a program is running.
Details
See
"Operation Event
Example
Sets the MEAS bit of the operation enable register:
status.operation.enable = status.operation.MEAS
12-88
can also be set to the decimal weight of the bit to be set. Examples:
to 1 (2
operreg
operreg
operreg
– Bit will be set when taking an overlapped measurement, but it will not
Registers" in
Appendix
Return to
Section Topics
Series 2600 System SourceMeter® Instruments Reference Manual
Clears all bits.
Sets CAL bit (B0).
Sets CAL bit (B0).
Sets MEAS bit (B4).
Sets MEAS bit (B4).
Sets PRMPTS bit (B11).
Sets PRMPTS bit (B11).
Sets USER bit (B12).
Sets INST bit (B13).
Sets INST bit (B13).
Sets PROG bit (B14).
Sets PROG bit (B14).
0
).
4
to 16 (2
).
11
to 2048 (2
).
D.
2600S-901-01 Rev. C / January 2008

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents