FETCh?

From Keysight 34970A/34972A

FETCh?

Syntax

FETCh?

Description

This command transfers readings stored in non-volatile memory to the instrument's output buffer, where you can read them into your computer. The readings stored in memory are not erased when you read them with FETCh?. The format of the readings can be changed using FORMat:READing commands.

Remarks

  • The FETCh? command will wait until the measurement is complete to terminate.
  • Readings can be acquired during a scan using the multiplexer and digital modules.
  • You can store at least 50,000 readings in memory and all readings are automatically time stamped. If memory overflows, the new readings will overwrite the first (oldest) readings stored; the most recent readings are always preserved.
  • Each time you start a new scan, the instrument clears all readings (including alarm data) stored in reading memory from the previous measurement. Therefore, the contents of memory are always from the most recent measurement.
  • When you abort a measurement (see ABORt command), the instrument will terminate any reading in progress (readings are not cleared from memory). The readings remain in memory and can be read until you clear them or initiate a new scan.
  • The output from this command is affected by the settings of the FORMat:READing commands. Depending on the formats selected, each reading may or may not be stored with measurement units, time stamp, channel number, and alarm status information.
  • The *RST command will clear the scan list and set all measurement parameters to their factory settings. The Instrument Preset (SYSTem:PRESet command) will not clear the scan list; however, this command will clear reading memory and all stored statistical data.
  • The instrument clears all readings from memory when a new scan is initiated, when any measurement parameters are changed (CONFigure and SENSe commands), and when the triggering configuration is changed (TRIGger commands).
  • The instrument clears all readings from memory after a Factory Reset (*RST command) or after an Instrument Preset (SYSTem:PRESet command).

Return Format

The command transfers all readings from memory (with formatting as set by the FORMat:READing commands) but does not erase them. Multiple responses are separated by commas.

Example

The following program segment shows how to use the FETCh? command with the CONFigure and INITiate commands. The ROUTe:SCAN command puts the two channels into the scan list (and redefines the scan list). The INITiate command places the instrument in the "wait-for-trigger" state, scans the specified channels when the rear-panel Ext Trig Input line is pulsed low, and then sends the readings to memory. The FETCh? command transfers the readings from memory to the instrument's output buffer.

CONF:VOLT:DC 10,0.003,(@103,108)
ROUT:SCAN (@103,108)
TRIG:SOUR EXT
INIT
FETC?

Typical Response: +4.27150000E-03,+1.32130000E-03

See Also

INITiate

ROUTe:SCAN