High Voltage SourceMeter Instrument Reference Manual Section 14:
2470-901-01 Rev. A / May 2019 14-31
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
Instrument reset
Usage
values = bufferVar.sourceformattedvalues[N]
The output value of the source when reading
N
of the specified buffer was acquired
The name of the reading buffer, which may be a default buffer (defbuffer1 or
defbuffer2
) or a user-defined buffer
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
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
trigger.model.load("SimpleLoop", 6, 0)
trigger.model.initiate()
waitcomplete()
print(defbuffer1.sourceformattedvalues[1])
printbuffer(1,6,defbuffer1.sourceformattedvalues)
-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
bufferVar.n (on page 14-26)
buffer.delete() (on page 14-9)
buffer.make() (on page 14-12)
bufferVar.clear() (on page 14-18)
print() (on page 14-99)
printbuffer() (on page 14-100)
Reading buffers (on page 6-1)
Remote buffer operation (on page 6-25)