2470 High Voltage SourceMeter Instrument Reference Manual
Section 6: Reading buffers
2470-901-01 Rev. A /
May
2019
6-27
Using TSP commands:
Once you create a reading buffer using TSP commands, if you use that buffer name for
another buffer or variable, you can no longer access the original buffer.
The table below lists the TSP commands that you use for data storage.
Command
Description
buffer.clearstats()
This function clears all statistics from the specified buffer. This function
does not clear the readings. See
(on page 14-8) for
more information.
buffer.delete()
This function deletes a user-defined reading buffer. See
(on page 14-9) for more information.
buffer.make()
This function creates a user-defined reading buffer. You cannot use this
command on the default buffers. See
(on page 6-5) for
more information. Also see
(on page 14-12).
buffer.save()
This function saves data from the specified reading buffer to a USB
flash drive. See
(on page 14-14) for more information.
buffer.saveappend()
This function appends data from the reading buffer to a file on the USB
flash drive. See
(on page 14-15) for more
information.
buffer.write.format()
For use with writable buffers only; this function sets the units and
number of digits that are written into the reading buffer. See
(on page 14-42) for more information.
buffer.write.reading()
For use with writable buffers only; this function writes the data you
specify into a reading buffer. See
(on page 14-44)
for more information.
bufferVar
.capacity
This attribute reads the number of readings a buffer can store. This
allows you to change the number of readings the buffer can store. See
(on page 14-17) for more information.
bufferVar
.clear()
This function clears all readings and statistics from the specified buffer.
See
14-18) for more information.
bufferVar
.fillmode
This attribute determines if a reading buffer is filled continuously or is
filled once and stops. See
(on page 14-23) for more
information.
bufferVar
.logstate
This attribute indicates whether the reading buffer should log
informational events. See
(on page 14-26) for more
information.
bufferVar
.n
This attribute contains the number of readings in the specified reading
buffer. See
(on page 14-26) for more information.
bufferVar
.endindex
This attribute returns the last index in a reading buffer. See
(on page 14-21) for more information.
bufferVar
.startindex
This attribute returns the starting index in a reading buffer. See
(on page 14-36) for more information.