6: SCPI command reference Model 2450 Interactive SourceMeter® Instrument
6-112 2450-901-01 Rev. B/September 2013
:TRACe:FILL:MODE
This command determines if a reading buffer is filled continuously or is filled once and stops.
Type Affected by Where saved Default value
Instrument reset
defbuffer2: CONT
User-defined buffers: ONCE
Usage
:TRACe:FILL:MODE <fillType>, <bufferName>
:TRACe:FILL:MODE? <bufferName>
Fill continuous: CONTinuous
Fill once: ONCE
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, this parameter defaults to
Details
This command determines if a reading buffer is filled continuously or is filled once and stops.
Use this command to read the fill mode of the specified reading buffer.
Use this command to set the fill mode of the specified reading buffer.
When a reading buffer is set to ONCE, no data is overwritten in the buffer. When the buffer is filled, no more data
is stored in that buffer and new readings are discarded.
When a reading buffer is set to ONCE, the first new measurement is stored at n+1, where n is the number of
readings stored in the buffer.
When a reading buffer is set to CONTinuous, the oldest data is overwritten by the newest data after the buffer
fills.
You can only change the fill mode of an empty reading buffer. Use TRACe:CLEar to empty the buffer.
Example
TRACe:MAKE "testData", 100
TRACe:FILL:MODE? "testData"
TRACe:FILL:MODE CONT, "testData"
TRACe:FILL:MODE? "testData"
TRACe:FILL:MODE?
Create a user-defined reading buffer: testData, with the
capacity for 100 measurements.
Query the fill mode setting for testData.
Output:
ONCE
Set testData fill mode to continuous.
Query the fill mode setting for testData.
Output:
CONT
Query the fill mode setting for defbuffer1.
Output:
Also see
Reading buffers (on page 3-10)
Remote buffer operation (on page 3-27)
:TRACe:MAKE (on page 6-114)
:TRACe:CLEar (on page 6-108)