Buffer.save() - Keithley DMM7510 Reference Manual

7 1/2 digit graphical sampling multimeter
Hide thumbs Also See for DMM7510:
Table of Contents

Advertisement

Section 8: TSP command reference

buffer.save()

This function saves data from the specified reading buffer to a USB flash drive.
Type
TSP-Link accessible
Function
Yes
Usage
buffer.save(bufferVar, fileName)
buffer.save(bufferVar, fileName, timeFormat)
buffer.save(bufferVar, fileName, timeFormat, start, end)
bufferVar
fileName
timeFormat
start
end
Details
The filename must specify the full path (including /usb1/). If included, the file extension must be set
to .csv (if no file extension is specified, .csv is added).
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.
Examples of valid destination file names:
buffer.save(MyBuffer, "/usb1/myData")
buffer.save(MyBuffer, "/usb1/myData.csv")
The Model DMM7510 does not check for existing files when you save. Verify that you are using a
unique name to avoid overwriting any existing .csv files on the flash drive.
Example 1
buffer.save(MyBuffer, "/usb1/myData.csv")
Save all reading and default time information from a buffer named MyBuffer to a file named myData.csv on
the USB flash drive.
Example 2
buffer.save(MyBuffer, "/usb1/myDataRel.csv", buffer.SAVE_RELATIVE_TIME)
Save all readings and relative timestamps from MyBuffer to a file named myDataRel.csv on the USB flash
drive.
8-20
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Affected by
Where saved
The name of the reading buffer, which may be a default buffer (defbuffer1 or
defbuffer2) or a user-defined buffer
A string that indicates the name of the file on the USB flash drive in which to save
the reading buffer
Defines 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
Default value
DMM7510-901-01 Rev. B / May 2015

Advertisement

Table of Contents
loading

Table of Contents