2470 High Voltage SourceMeter Instrument Reference Manual
Example 3
buffer.save(defbuffer1, "/usb1/defbuf1data", buffer.SAVE_RAW_TIME)
Save readings and raw time stamps from defbuffer1 to a file named defbuf1data on the USB flash drive.
Also see
buffer.make()
buffer.saveappend()
Reading buffers
Remote buffer operation
buffer.saveappend()
This function appends data from the reading buffer to a file on the USB flash drive.
Type
TSP-Link accessible
Function
Yes
Usage
buffer.saveappend(bufferVar, "filename")
buffer.saveappend(bufferVar, "filename", timeFormat)
buffer.saveappend(bufferVar, "filename", timeFormat, start, end)
bufferVar
fileName
timeFormat
start
end
Details
If the file you specify does not exist on the USB flash drive, this command creates the file.
For options that save more than one item of time information, each item is comma-delimited. For
example, the default format is date, time, and fractional seconds for each reading.
The file extension .csv is appended to the filename if necessary. Any file extension other than .csv
generates an error.
The index column entry in the .csv file starts at 1 for each append operation.
2470-901-01 Rev. A / May 2019
(on page 14-12)
(on page 14-15)
(on page 6-1)
(on page 6-25)
Affected by
Indicates the reading buffer to use; the default buffers (defbuffer1 or
defbuffer2) or the name of a user-defined buffer; if no buffer is specified,
defbuffer1 is used
A string that indicates the name of the file on the USB flash drive in which to save the
reading buffer
Indicates how date and time information from the buffer is saved in the file on the
USB flash drive; the values are:
Save dates, times, and fractional seconds: buffer.SAVE_FORMAT_TIME
Saves relative timestamps: buffer.SAVE_RELATIVE_TIME
Saves seconds and fractional seconds: buffer.SAVE_RAW_TIME
Saves timestamps: buffer.SAVE_TIMESTAMP_TIME
Defines the starting point in the buffer to start saving data
Defines the ending point in the buffer to stop saving data
Section 14: TSP command reference
Where saved
Default value
14-15
Need help?
Do you have a question about the Keithley SourceMeter 2470 and is the answer not in the manual?