2600S-901-01 Rev. C / January 2008
Return to
12-91
Series 2600 System SourceMeter® Instruments Reference Manual
Section 12: Instrument Control Library
status.operation.instrument.*
status.operation.instrument.smuX.condition
status.operation.instrument.smuX.enable
status.operation.instrument.smuX.event
status.operation.instrument.smuX.ntr
status.operation.instrument.smuX.ptr
* = condition, enable, event, ntr or ptr
smuX = smua or smub
Attribute
Operation SMU event register sets.
Usage
Reads condition, enable, event, NTR and PTR registers:
operreg = status.operation.instrument.smuX.condition
operreg = status.operation.instrument.smuX.enable
operreg = status.operation.instrument.smuX.event
operreg = status.operation.instrument.smuX.ntr
operreg = status.operation.instrument.smuX.ptr
Writes to enable, NTR and PTR registers:
status.operation.instrument.smuX.enable = operreg
status.operation.instrument.smuX.ntr = operreg
status.operation.instrument.smuX.ptr = operreg
Set
operreg
to one of the following values:
0
Clears all bits.
status.operation.CALIBRATING
Sets CAL bit (B0).
status.operation.CAL
Sets CAL bit (B0).
status.operation.MEASURING
Sets MEAS bit (B4).
status.operation.MEAS
Sets MEAS bit (B4).
status.operation.PROMPTS
Sets PRMPTS bit (B11).
status.operation.PRMPTS
Sets PRMPTS bit (B11).
status.operation.USER
Sets USER bit (B12).
status.operation.PROGRAM_RUNNING
Sets PROG bit (B14).
status.operation.PROG
Sets PROG bit (B14).
operreg
can also be set to the decimal weight of the bit to be set. Examples:
To set bit B0 (CAL), set
operreg
to 1 (2
0
).
To set bit B4 (MEAS), set
operreg
to 16 (2
4
).
To set bit B11 (PRMPTS), set
operreg
to 2048 (2
11
).
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 SMU 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 SMU event registers are described as follows:
•
Bit B0, CAL
– Set bit indicates that one or more channels are calibrating.
•
Bit B4, MEAS
–
Bit will be set when taking an overlapped measurement, but it will not
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 B14, PROG
– Set bit indicates that a program is running.
Details
See “
Example
Sets the MEAS bit of the operation SMU A enable register:
status.operation.instrument.smua.enable = status.operation.MEAS