Section 12: SCPI command reference
2470 High Voltage SourceMeter Instrument Reference Manual
12-120
2470-901-01 Rev. A /
May
2019
Example
TRACe:MAKE "testData", 200
MEASure:RESistance? "testData"
TRACe:ACTual? "testData"
TRACe:CLEar "testData"
TRACe:ACTual? "testData"
Create user-defined buffer named
testData
.
Make a measurement and store it in
testData
and return the
last reading measured.
Verify that there is data in
testData
buffer.
Output:
1
Clear
testData
buffer.
Verify that
testData
is empty.
Output:
0
TRACe:CLEar
TRACe:CLEar "defbuffer1"
TRACe:CLEar "defbuffer2"
Clear the default buffer. This command clears
defbuffer1
.
Clear
defbuffer1
. Specify default buffer by name.
Clear
defbuffer2
. Specify default buffer by name.
Also see
(on page 6-25)
(on page 12-127)
:TRACe:DATA?
This command returns specified data elements from a specified reading buffer.
Type
Affected by
Where saved
Default value
Query only
Not applicable
Not applicable
Not applicable
Usage
:TRACe:DATA? <startIndex>, <endIndex>
:TRACe:DATA? <startIndex>, <endIndex>, "<bufferName>"
:TRACe:DATA? <startIndex>, <endIndex>, "<bufferName>", <bufferElements>
<startIndex>
Beginning index of the buffer to return; must be 1 or greater
<endIndex>
Ending index of the buffer to return
<bufferName>
A string that indicates the reading buffer; the default buffers (
defbuffer1
or
defbuffer2
) or the name of a user-defined buffer; if no buffer is specified,
defbuffer1
is used
<bufferElements>
A list of elements in the buffer to print; if nothing is specified,
READing
is used; see
Details
for the list of options for buffer elements; a maximum of 14 comma-delimited
buffer elements may be specified