Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-68
077114601 / March 2019
:BATTery[n]:TRACe: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]:TRACe: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.
For example, if
BATTery:TRACe:DATA? "VOLT, CURR"
is sent, the subsequent
BATTery:TRACe:DATA? "MODE"
command will not return the current and voltage information. You
can get additional buffer data by sending the command
BATTery:TRACe:DATA:SELected?
.
When specifying buffer elements, you can:
Specify buffer elements in any order.
Include up to 12 elements in a single list.
Repeat elements as long as the number of elements in the list is less than 12.
Use a comma to separate multiple elements for a data point.
Use quotation mark to enclose all the elements.