Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
Section 7: SCPI command reference
077114601 / March 2019
7-71
:BATTery[n]:TRACe:SAVE
This command saves the data in the buffer to a USB flash drive.
Type
Affected by
Where saved
Default value
Command only
Not applicable
Not applicable
Not applicable
Usage
:BATTery[n]:TRACe:SAVE <fileName>
:BATTery[n]:TRACe:SAVE <fileName>, <timeFormat>
:BATTery[n]:TRACe:SAVE <fileName>, <timeFormat>,<start>,<end>
[n]
Channel number: For single-channel instruments, the value is 1
<fileName>
You can name the saved data here.
<timeFormat>
Defines how date and time information from the buffer is saved in the file on the
USB flash drive; the values are:
Dates, times, and fractional seconds are saved as the default value:
TSTamp
Relative time stamps (in seconds) are saved:
RELative
Relative time stamps are saved:
RSTamp
<start>
The starting point of the data to be saved in the buffer
<end>
The ending point of the data to be saved in the buffer
Example
:BATT:TRAC:SAVE "my_data"
:BATT:TRAC:SAVE "my_data",REL
:BATT:TRAC:SAVE "my_data",REL,1,100
Save the first 100 points of data in the buffer with
relative time stamp into the USB flash drive as
my
data
.
Also see
(on page 7-26)