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.
Clearing the buffer
Reset
Recall setup
Usage
numberOfReadings = bufferVar.n
The number of readings stored in the 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.250000+02
The above output indicates that there are 125
readings stored in the buffer.
Also see
bufferVar.formattedreadings (on page 11-26)
bufferVar.fractionalseconds (on page 11-27)
bufferVar.readings (on page 11-29)
bufferVar.relativetimestamps (on page 11-31)
bufferVar.seconds (on page 11-32)
bufferVar.statuses (on page 11-33)
bufferVar.times (on page 11-34)
bufferVar.units (on page 11-37)
Reading buffers (on page 6-7, on page 6-1)
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.
Buffer storage settings
Clearing the buffer
Instrument reset
Recall setup
USB flash drive using
dmm.savebuffer or
dmm.appendbuffer
Usage
value = bufferVar.ptpseconds[N]
The reading number (1 to bufferVar.n)