![background image](http://html2.mh-extra.com/html/keithley/2701/2701_user-manual_3950600426.webp)
D-10
Signal Processing Sequence and Data Flow
Model 2701 User’s Manual
FETCh?
READ?
MEASure?
CALC[1]:DATA[LATest]?
CALC[1]:DATA:FRESh?
As shown in Figure D-4, these commands are used to read data arrays output from the
CALC1 Math block. However, if there is no math function enabled, these commands read
the data arrays in the sample buffer.
NOTE
For more information on FETCh?, READ?, and MEASure?, see Section 13,
“SCPI Signal Oriented Measurement Commands.”
FETCh?
With no math function enabled, this command reads the data arrays stored in the sample
buffer. If, for example, there are 20 data arrays stored in the sample buffer, then all 20 data
arrays will be sent to the computer when FETCh? is executed.
With a math function (mX+B, Percent, or 1/X) enabled, the reading in each data array
returned by FETCh? is the result of the math calculation.
Note that FETCh? does not affect data in the sample buffer. Therefore, subsequent
executions of FETCh? acquire the same data.
NOTE
When an instrument setting that is relevant to the readings in the sample buffer
is changed, the FETCh? command will cause error -230 (data corrupt or stale)
or a bus time-out to occur. To get FETCh? working again, a new reading must
be triggered.
READ?
The READ? command performs an INITiate and then a FETCh?. The INITiate triggers a
measurement cycle which puts new data in the sample buffer. With no math function
enabled, FETCh? reads the data arrays from the sample buffer. With a math function
enabled, the readings are the result of the math calculation.
The following conditions must be met in order to use READ?:
•
Continuous initiation must be disabled. It can be disabled by sending *RST or
INIT:CONT OFF.
•
If there are readings stored in the data store, the sample count (SAMP:COUN)
must be set to 1.
•
To use a sample count >1, the data store must be cleared (empty). It can be cleared
by sending TRAC:CLE.
2701-900-01.book Page 10 Wednesday, August 3, 2011 9:43 AM
Summary of Contents for 2701
Page 344: ...12 CommonCommands 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 366: ...15 SCPIReferenceTables 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 393: ...A Specifications 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 399: ...B Model7700ConnectionGuide 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 410: ...C StatusandErrorMessages 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 417: ...D SignalProcessing SequenceandDataFlow 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 430: ...E MeasurementConsiderations 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...
Page 450: ...G KE2700InstrumentDriver Examples 2701 900 01 book Page 1 Wednesday August 3 2011 9 43 AM...