Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-28
3700AS-901-01 Rev. D/June 2018
bufferVar.n
This attribute contains the number of readings in the buffer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Clearing the buffer
Reset
Recall setup
Not saved
Not applicable
Usage
numberOfReadings
=
bufferVar
.n
numberOfReadings
The number of readings stored in the buffer
bufferVar
The reading buffer
Details
This read-only attribute contains the number of readings presently stored in the buffer.
Example
numberOfReadings = buffer1.n
print(numberOfReadings)
Reads the number of readings stored in a
reading buffer named
buffer1
.
Output:
1.02
The above output indicates that there are 125
readings stored in the buffer.
Also see
(on page 11-26)
(on page 11-27)
(on page 11-29)
(on page 11-31)
(on page 11-32)
(on page 11-33)
(on page 11-34)
(on page 11-37)
bufferVar.ptpseconds
When enabled by the
bufferVar
.collecttimestamps
attribute, this attribute contains the absolute seconds
portion of the timestamp of when the reading was stored, in PTP format.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Buffer storage settings
Clearing the buffer
Instrument reset
Recall setup
USB flash drive using
dmm.savebuffer or
dmm.appendbuffer
Not applicable
Usage
value
=
bufferVar
.ptpseconds[
N
]
bufferVar
The reading buffer
N
The reading number (
1
to
bufferVar
.n
)