
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
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
Power cycle
Not applicable
Not applicable
Usage
statusInformation
=
bufferVar
.sourcestatuses[
N
]
statusInformation
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:
buffer.STAT_OVER_TEMP
bufferVar
The name of the reading buffer, which may be a default buffer (
defbuffer1
or
defbuffer2
) or a user-defined buffer
N
The reading number
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
4
STAT_OVER_TEMP
16
Overtemperature condition
5
STAT_LIMIT
32
Source function was limited because the complementary
function would be over the source limit
6
STAT_SENSE
64
Complementary function remote sense
7
STAT_OUTPUT
128
Complementary function output state