14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-32 2470-901-01 Rev. A / May 2019
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:
ï‚§ Overvoltage protection was active: buffer.STAT_PROTECTION
ï‚§ Measured source value was read: buffer.STAT_READBACK
ï‚§ Overtemperature condition was active: buffer.STAT_OVER_TEMP
ï‚§ Source function level was limited: buffer.STAT_LIMIT
ï‚§ Four-wire sense was used: buffer.STAT_SENSE
ï‚§ Output was on:
The name of the reading buffer, which may be a default buffer (defbuffer1 or
) or a user-defined buffer
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
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 for each
measurement made. See the following table for values.
Buffer status bits for source function when reading was acquired
Bit Name Decimal value Description
Overvoltage protection was active
Measured source value was read
Overtemperature condition was active
Source function level was limited