EasyManua.ls Logo

Keysight 53230A - Fetch

Keysight 53230A
518 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
FETCh?
Syntax
FETCh?
Description
This command transfers measurements to the instrument's output buffer where you can read them into
your computer. The measurements are not erased from memory when you read them. You can send the
command multiple times to retrieve the same data in reading memory.
Remarks
l The FETCh? command will wait until all measurements complete to terminate.
l If no measurements are available or in progress, error -230,"Data corrupt or stale" will be generated,
and no data will be returned.
l You can store up to 1,000,000 measurements in the reading memory. If memory overflows, the new
measurements will overwrite the first (oldest) measurements stored; the most recent measurements are
always preserved. No error is generated, but the Reading Mem Ovfl bit (bit 14) is set in the Questionable
Data Register.
l You can use the R? command to obtain whatever measurements are present (with no wait), but the
measurements will be erased as you read them.
l The instrument clears all measurements from memory when the measurement function is changed,
when the INITiate:IMMediate, MEASure:<function>? or READ? commands are executed, after a Factory
Reset (*RST command) or after an Instrument Preset (SYSTem:PRESet command).
Return Format
The command transfers all measurements from memory but does not erase them. The format of the meas-
urements is controlled by the FORMat Subsystem commands.
For timestamp measurements, the command returns the prescaler value followed by a comma, followed
by the measurements. The prescaler value is always returned in the format: +100. The format of the
measurements is controlled by the FORMat Subsystem commands.
Example
The following program segment shows how to use the FETCh? command with the CONFigure and INITiate
commands. The INITiate command places the instrument in the "wait-for-trigger" state, triggers a meas-
urement when the rear-panel Trig In BNC is pulsed (low by default), and then sends the measurements to
memory. The FETCh? command transfers the measurements from memory to the instrument's output buf-
fer.
CONF:FREQ 1200,0.003
TRIG:SOUR EXT
FETCh?
20 Keysight 53220A/53230A Programmer's Reference

Table of Contents

Other manuals for Keysight 53230A

Related product manuals