12: SCPI command reference 2470 High Voltage SourceMeter Instrument
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:
TRACe:CLEar "defbuffer1"
TRACe:CLEar "defbuffer2"
Clear the default buffer. This command clears defbuffer1.
Clear defbuffer1. Specify default buffer by name.
Clear
. Specify default buffer by name.
Also see
Reading buffers (on page 6-1)
Remote buffer operation (on page 6-25)
:TRACe:MAKE (on page 12-127)
:TRACe:DATA?
This command returns specified data elements from a specified reading buffer.
Type Affected by Where saved Default value
Usage
:TRACe:DATA? <startIndex>, <endIndex>
:TRACe:DATA? <startIndex>, <endIndex>, "<bufferName>"
:TRACe:DATA? <startIndex>, <endIndex>, "<bufferName>", <bufferElements>
Beginning index of the buffer to return; must be 1 or greater
Ending index of the buffer to return
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,
is used
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