2606B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2606B-901-01 Rev. B / May 2018
7-31
Also see
(on page 7-23)
(on page 7-24)
(on page 7-25)
(on page 7-26)
(on page 7-27)
(on page 7-29)
(on page 7-31)
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
Clearing the buffer
See
Details
Not applicable
Usage
statusInformation
=
bufferVar
.statuses[
N
]
statusInformation
The status value when reading
N
of the specified buffer was acquired
bufferVar
The reading buffer; can be a dynamically allocated user-defined buffer or a
dedicated reading 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 read-only buffer recall attribute is like 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 table for values.
For dedicated reading buffers, all buffer attributes are saved to nonvolatile memory only when the
reading buffer is saved to nonvolatile memory.
Buffer status bits
Bit
Name
Hex
Description
B1
Overtemp
0x02
Over temperature condition
B2
AutoRangeMeas
0x04
Measure range was autoranged
B3
AutoRangeSrc
0x08
Source range was autoranged
B4
4Wire
0x10
4-wire (remote) sense mode enabled
B5
Rel
0x20
Relative offset applied to reading
B6
Compliance
0x40
Source function was limited because the complementary
function would be over the compliance limit
B7
Filtered
0x80
Reading was filtered