
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2450-901-01 Rev. B/September 2013
8-33
bufferVar.statuses
This attribute contains the status values of readings in the reading buffer.
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
.statuses[
N
]
statusInformation
The status value when reading
N
of the specified buffer was acquired;
measurement status values are:
•
buffer.STAT_LIMIT1_HIGH
•
buffer.STAT_LIMIT1_LOW
•
buffer.STAT_LIMIT2_HIGH
•
buffer.STAT_LIMIT2_LOW
•
buffer.STAT_TERMINAL
•
buffer.STAT_ORIGIN
•
buffer.STAT_QUESTIONABLE
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 sense measurements
Bit
Name
Decimal
value
Description
1
STAT_QUESTIONABLE
2
Measure status questionable
2
STAT_ORIGIN
4
The A/D converter from which the reading
originated; for the Model 2450>, this will
always be 0 (Main)
3
STAT_TERMINAL
8
Measure terminal, front is 1, rear is 0
4
STAT_LIMIT2_LOW
16
Measure status limit 2 low
5
STAT_LIMIT2_HIGH
32
Measure status limit 2 high
6
STAT_LIMIT1_LOW
64
Measure status limit 1 low
7
STAT_LIMIT1_HIGH
128
Measure status limit 1 high
For information about source status values, see
(on page 8-29).