Section 7: SCPI command reference
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
7-70
077114601 / March 2019
:BATTery[n]:TRACe:DATA:SELected?
This command queries the data from the trace buffer of specific points.
Type
Affected by
Where saved
Default value
Query only
Recall settings
Instrument reset
Power cycle
Not applicable
Not applicable
Usage
:BATTery[n]:TRACe:DATA:SELected? <start>, <end>[,<bufferElements>]
[n]
Channel number: For single-channel instruments, the value is 1
<start>
1 to 2500
<end>
1 to 2500
<bufferElements>
A list of elements in the buffer
If nothing is specified, default values are
VOLTage
,
CURRent
,
UNIT
, and
RELative
See
Details
in
(on page 7-23) for the list of options
Details
<start>
specifies the beginning of the data queried.
The trace buffer size is 2500 points for both battery test and simulator.
It is recommended to get at least 100 points.
For example,
BATTery:TRACe:DATA:SELected 1,100,"VOLT, CURR"
command will return the
first 100 voltage and current values from the buffer.
If other buffer data is required, such as the CV or CC status, send the command
BATTery:TRACe:DATA:SELected? 1,100,"MODE"
Example
:BATT:TRAC:DATA:SEL? 1, 10, "VOLT,UNIT,REL"
The first 10 points of VOLT, UNIT, and REL are returned.
Also see
(on page 7-23)
:BATTery[n]:DATA:DATA:SELected?
(on page 7-25)