
Section 3: Functions and features
Model 2450 Interactive SourceMeter® Instrument Reference Manual
3-22
2450-901-01 Rev. B/September 2013
Using SCPI commands to save or append buffer content to files:
Before using any of these commands, insert a USB flash drive into the USB port.
To save readings and formatted timestamps from the default buffer to a file named
myData.csv
on
a USB flash drive, send the following command:
TRACe:SAVE "/usb1/myData.csv", "defbuffer1"
To save readings and formatted timestamps from a reading buffer named
testData
to a file named
myData.csv
on a USB flash drive, send the following command:
TRACe:SAVE "/usb1/myData.csv", "testData"
To append readings and formatted timestamps from a reading buffer named
testData
to a file
named
myData.csv
on a USB flash drive, send the following command:
TRACe:SAVE:APPend "/usb1/myData.csv", "testData"
To append readings and formatted timestamps from a reading buffer named
testData
from point 6
to point 10 in file named
myData.csv
on a USB flash drive, send the following command:
TRACe:SAVE:APPend "/usb1/myData.csv", "testData", FORM, 6, 10
Using TSP commands to save or append buffer content to files:
Before using any of these commands, insert a USB flash drive into the USB port.
To save readings from the default buffer to a file named
myData.csv
on a USB flash drive, send the
following command:
buffer.save(defbuffer1, "/usb1/myData.csv")
To save readings from a reading buffer named
testData
to a file named
myData.csv
on a USB
flash drive, send the following command:
buffer.save(testData, "/usb1/myData.csv")
To append readings from a reading buffer named
testData
with default time information to a file
named
myData.csv
on the USB flash drive, send the following command:
buffer.saveappend(testData, "/usb1/myData.csv")
Setting buffer capacity and fill mode
To configure the buffer, you need to make the following settings:
•
Setting the buffer capacity
•
Setting the buffer fill mode
Buffer capacity
The initial buffer capacity for user-defined buffers is set when the buffer is created. You can resize a
user-defined buffer.
The initial buffer capacity for
defbuffer1
and
defbuffer2
is 10,000 readings. You can resize the
default buffers.
Stored readings and statistics are deleted when you change the capacity of a buffer.