Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command
2450-901-01 Rev. B/September 2013 8-29
bufferVar.sourcestatuses
This attribute contains the source status conditions of the instrument for the reading point.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (R) Yes
Restore configuration
Instrument reset
Not applicable Not applicable
Usage
statusInformation = bufferVar.sourcestatuses[N]
The status value when reading N of the specified buffer was acquired;
Source status values are:
• Complementary function output state: buffer.STAT_OUTPUT
• Complementary function remote sense: buffer.STAT_SENSE
• Complementary function power source limit: buffer.STAT_LIMIT
• Overtemperature condition:
The name of the reading buffer, which may be a default buffer (
or
defbuffer2) or a user-defined buffer
N
; can be any value between 1 and the number of readings in
the buffer; use the bufferVar.n
command to determine the number of readings in
the buffer
Details
This buffer recall attribute holds an array (a Lua table) of the status values for all the readings in the buffer. The
status values are floating-point numbers that encode the status value; see the following tables for values.
Buffer status bits for source function
Bit Name Decimal
value
Description
Overtemperature condition
5
32 Source function was limited because the complementary
function would be over the source limit
Complementary function remote sense
Complementary function output state