7½ Digit Graphical Sampling Multimeter Reference Manual Section 8:
DMM7510-901-01 Rev. B / May 2015 8-29
bufferVar.formattedreadings
This attribute contains the stored readings formatted as they appear on the front-panel display.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (R) Yes
Restore configuration
Instrument reset
Not applicable Not applicable
Usage
reading = bufferVar.formattedreadings[N]
Buffer reading formatted as it appears on the front-panel display for element N
The name of the reading buffer, which may be a default buffer (defbuffer1 or
) 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
buffer
Details
This attribute outputs an array (a Lua table) of strings that contain the stored readings. The readings
are shown as they would appear on the front-panel display.
Example
testData = buffer.make(50)
trigger.model.load("SimpleLoop", 3, 0, testData)
trigger.model.initiate()
waitcomplete()
print(testData.formattedreadings[1])
printbuffer(1, testData.n,
testData.formattedreadings)
Create a reading buffer named
testData, configure the
instrument to make three
measurements, and store the
readings in the buffer.
Print the first reading formatted as
it appears on the front-panel
display.
Example output:
-0.0001901 V
Print all readings in the reading
buffer as they appear on the
front-panel display.
Example output:
-0.0001901 V, +000.08537
Also see
bufferVar.readings (on page 8-33)
buffer.delete() (on page 8-16)
buffer.make() (on page 8-18)
bufferVar.clear() (on page 8-24)
print() (on page 8-231)
printbuffer() (on page 8-232)
Reading buffers (on page 3-13)
Remote buffer operation (on page 3-30)