Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-36
2461-901-01 A/November 2015
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; refer to
Details
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 from 1 to the number of readings in the
buffer; use the
bufferVar.
n
command to determine the number of readings in
the buffer
Details
This command is not available if the buffer style is set to compact.
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. Refer to the
following table for values.
Buffer status bits for sense measurements
Bit (hex) Name
Decimal Description
statusInformation
parameter
0x0001 STAT_QUESTIONABLE
1
Measure status
questionable
buffer.STAT_QUESTIONABLE
0x0006 STAT_ORIGIN
6
A/D converter
from which
reading
originated; for
the Model 2461,
this will always
be 0 (main) or 2
(digitizer)
buffer.STAT_ORIGIN
0x0008 STAT_TERMINAL
8
Measure
terminal, front is
1, rear is 0
buffer.STAT_TERMINAL
0x0010 STAT_LIMIT2_LOW
16
Measure status
limit 2 low
buffer.STAT_LIMIT2_LOW
0x0020 STAT_LIMIT2_HIGH
32
Measure status
limit 2 high
buffer.STAT_LIMIT2_HIGH
0x0040 STAT_LIMIT1_LOW
64
Measure status
limit 1 low
buffer.STAT_LIMIT1_LOW
0x0080 STAT_LIMIT1_HIGH
128
Measure status
limit 1 high
buffer.STAT_LIMIT1_HIGH
0x0100 STAT_START_GROUP
256
First reading in a
group
buffer.STAT_START_GROUP