Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
Section 7: SCPI command reference
077114601 / March 2019
7-23
BATTery subsystem
The commands in this subsystem configure and control the operations related to the functions of
battery test and battery simulator.
:BATTery[n]:DATA:CLEar
This command clears all the data in the buffer.
Type
Affected by
Where saved
Default value
Command only
Not applicable
Not applicable
Not applicable
Usage
:BATTery[n]:DATA:CLEar
[n]
Channel number: For single-channel instruments, the value is 1
Example
:BATT:DAT:CLE
Clear the buffer.
Also see
None
:BATTery[n]:DATA:DATA?
This command queries the data from the trace buffer.
Type
Affected by
Where saved
Default value
Query only
Recall settings
Instrument reset
Power cycle
Not applicable
Not applicable
Usage
:BATTery[n]:DATA:DATA? [<bufferElements>]
[n]
Channel number: For single-channel instruments, the value is 1
<bufferElements>
A list of elements in the buffer: If nothing is specified, default values are
VOLTage
,
CURRent
,
UNIT
, and
RELative
See
Details
in the below for the list of options
Details
You can use this command to read all the data that are stored in the buffer.
You can send this command even if the instrument is saving data in the buffer.
When this command is sent, it will return the data stored up to that point. Subsequent execution of the
command will not display the data already returned. However, once the buffer has been fully filled,
you can query all the stored data again by sending this command.