
Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-30
2461-901-01 A/November 2015
bufferVar.sourceformattedvalues
This attribute contains the source levels formatted as they appear on the front-panel display when the readings in
the reading buffer were acquired.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Restore configuration
Instrument reset
Power cycle
Not applicable
Not applicable
Usage
values
=
bufferVar
.sourceformattedvalues[
N
]
values
The output value of the source when reading
N
of the specified buffer was acquired
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
The attribute is an array (a Lua table) of the sourced value that was in effect at the time of the
reading. The source levels are formatted the same way the readings are formatted when they appear
on the front-panel display.
Example
reset()
trigger.model.load("SimpleLoop", 6, 0)
trigger.model.initiate()
waitcomplete()
print(defbuffer1.sourceformattedvalues[1])
printbuffer(1,6,defbuffer1.sourceformattedvalues)
Example output:
-00.00041 mV
Example output:
-00.00041 mV, +00.00010 mV,
-00.00033 mV, +00.00003
mV, -00.00028 mV, -
00.00045 mV
Also see
(on page 8-26)
(on page 8-11)
(on page 8-14)
(on page 8-19)
(on page 8-92)
(on page 8-93)
(on page 3-2)
(on page 3-23)