Interactive SourceMeter® Instrument Reference Manual Section 8:
2461-901-01 A/November 2015 8-17
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.
Examples of valid destination file names:
buffer.saveappend(bufferVar, "/usb1/myData")
buffer.saveappend(bufferVar, "/usb1/myData.csv")
Invalid destination filename examples:
buffer.saveappend(bufferVar, "/usb1/myData.")
— The period is not followed by csv.
buffer.saveappend(bufferVar, "/usb1/myData.txt")
— The only allowed extension is .csv. If .csv is not assigned, it is automatically added.
Example 1
buffer.saveappend(MyBuffer, "/usb1/myData.csv")
Append reading and default time information from a buffer named MyBuffer to a file named myData.csv on
the USB flash drive.
Example 2
buffer.saveappend(MyBuffer, "/usb1/myDataRel.csv", buffer.SAVE_RELATIVE_TIME)
Append readings and relative timestamps from MyBuffer to a file named myDataRel.csv on the USB flash
drive.
Example 3
buffer.saveappend(defbuffer1, "/usb1/defbuf1data", buffer.SAVE_RAW_TIME, 1, 10)
Append the readings and raw time stamps for points 1 to 10 from defbuffer1 to a file named
defbuf1data on the USB flash drive.
Also see
Reading buffers (on page 3-2)
Remote buffer operation (on page 3-23)
buffer.make() (on page 8-14)
buffer.save() (on page 8-15)