Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Section 8: TSP command reference
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
Power cycle
Not applicable
Not applicable
Usage
reading
=
bufferVar
.formattedreadings[
N
]
reading
Buffer reading formatted as it appears on the front-panel display for element
N
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
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
reset()
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
mV, -000.13050 mV
Also see
(on page 8-33)
(on page 8-16)
(on page 8-18)
(on page 8-24)
(on page 8-231)
(on page 8-232)
(on page 3-13)
(on page 3-30)