7½ Digit Graphical Sampling Multimeter Reference Manual Section 8:
DMM7510-901-01 Rev. B / May 2015 8-21
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() (on page 8-18)
buffer.saveappend() (on page 8-21)
Reading buffers (on page 3-13)
Remote buffer operation (on page 3-30)
buffer.saveappend()
This function appends data from the reading buffer to a file on the USB flash drive.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
buffer.saveappend(bufferVar, filename)
buffer.saveappend(bufferVar, filename, timeFormat)
buffer.saveappend(bufferVar, filename, timeFormat, start, end)
A string that indicates the reading buffer; the default buffers (defbuffer1 or
defbuffer2) or the name of a user-defined buffer; if no buffer is specified,
is used
A string that indicates the name of the file on the USB flash drive in which to save
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
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.