
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 6: SCPI command reference
2450-901-01 Rev. B/September 2013
6-3
:FETCh?
This query command requests the latest reading that was stored in a reading buffer.
Type
Affected by
Where saved
Default value
Query
Not applicable
Not applicable
Not applicable
Query
:FETCh?
:FETCh? <bufferName>
:FETCh? <bufferName>, <bufferElements>
<bufferName>
The name of the buffer where the reading is stored; if nothing is specified,
the reading that is stored in
defbuffer1
<bufferElements>
See
Details
; if nothing is defined, the measurement is returned
Details
This command requests the last available reading from a reading buffer. If you send this command more than
once and there are no new readings, it will return the values that were returned for the previous query.
If you send
:FETCh?
while a trigger model is running, no data is returned until the trigger model is in idle.
When specifying buffer elements, you can:
•
Specify buffer elements in any order.
•
Include up to 14 elements in a single list. You can repeat elements as long as the number of elements
in the list is less than 14.
•
Use a comma to delineate multiple elements for a data point.
The options for <
bufferElements>
are described in the following table.
Option
Description
DATE
The date when the data point was measured
FORMatted
The measured value as it appears on the front panel
FRACtional
The fractional seconds for the data point when the data point was measured
READing
The measurement reading based on the SENS:FUNC setting; if no buffer elements
are defined, this option is used
RELative
The relative time when the data point was measured
SEConds
The seconds in UTC (Coordinated Universal Time) format when the data point was
measured
SOURce
The source value; if readback is ON, then it is the readback value, otherwise it is the
programmed source value (see
:SOURce[1]:<function>:READ:BACK
(on page 6-77))
SOURFORMatted
The source value as it appears on the display
SOURSTATus
The status information associated with sourcing
SOURUNIT
The unit of value associated with the source value
STATus
The status information associated with the measurement
TIME
The time for the data point
TSTamp
The timestamp for the data point
UNIT
The unit of measure associated with the measurement