
2600AS-901-01 Rev. B / September 2008
Return to
19-153
Series 2600A System SourceMeter® Instruments Reference Manual
Section 19: Remote Commands
Remarks
• This attribute is used to read or write to the measurement 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 257 is returned for the register. The binary equivalent is
0000000100000001. This value indicates that bit B1(VLMT) and bit B8 (BAV) are set.
• The used bits of the measurement event registers are described as follows:
•
Bit B0, VLMT
: Set bit is a summary of the
status.measurement.voltage_limit
register.
•
Bit B1, ILMT
: Set bit is a summary of the
status.measurement.current_limit
register.
•
Bit B7, ROF
: Set bit is a summary of the
status.measurement.reading_overflow
register.
•
Bit B8, BAV
: Set bit is a summary of the
status.measurement.buffer_available
register.
•
Bit B11, OE
: Set bit indicates that output enable has been asserted.
•
Bit B13, INST
: Set bit indicates that a bit in the measurement instrument summary register is
set.
Details
Status model (measurement event registers)
Example
Set the BAV bit of the measurement event enable register:
status.measurement.enable = status.measurement.BAV
status.measurement.buffer_available.condition
status.measurement.buffer_available.enable
status.measurement.buffer_available.event
status.measurement.buffer_available.ntr
status.measurement.buffer_available.ptr
Attribute
Measurement event buffer available summary register set.
Default
0
TSP-Link
accessibility
This attribute can be accessed from a remote TSP-Link node.
Usage
Reads condition, enable, event, NTR, and PTR registers:
measreg = status.measurement.buffer_available.condition
measreg = status.measurement.buffer_available.enable
measreg = status.measurement.buffer_available.event
measreg = status.measurement.buffer_available.ntr
measreg = status.measurement.buffer_available.ptr
Writes to enable, NTR, and PTR registers:
status.measurement.buffer_available.enable = measreg
status.measurement.buffer_available.ntr = measreg
status.measurement.buffer_available.ptr = measreg
Set
operreg
to one of the following values:
0
Clears all bits.
status.measurement.buffer_available.SMUA
Sets SMUA bit (B1).
status.measurement.buffer_available.SMUB
Sets SMUB bit (B2).
measreg
can also be set to the decimal weight of the bit to be set. Examples:
To set bit B1 (SMUA), set
measreg
to 2 (2
1
).
To set bit B2 (SMUB), set
measreg
to 4 (2
2
).
To set both bits, set
measreg
to the sum of the decimal weights of both bits.
To set bits B1 and B2, set
measreg
to 6 (2 + 4).