beautypg.com

4 fetch? [] 87, Fetch? [

Page 93

background image

The AVERage suffix, , specifies the calculation type number. See Table 4
on page 122 for the Statistical Calculation Types.

8.4.1.4

FETCh? []

Returns the most recent measurement for the specified channel.

FETC? 1

0.0000011

or

1,2,0.0011,mV,14,5,35,2000,9,5

The parameter specifies the channel (1 to 4). If the parameter is
omitted, the most recent measurement is returned regardless of the channel. If
simultaneous sampling is on, the measurement from the lowest enabled channel
number is returned. This command does not affect the measurement action.

If the extended format setting is OFF (see Section 9.4.1.5, FORMat:STAMp
) the response is only the measurement value in units of temperature,
volts, or ohms depending on the selected probe type or temperature unit. With
this format kohms and millivolts are converted to ohms and volts respectively.

If the extended format setting is ON the measurement is returned in a
comma-delimited format as follows.

Measure status (0 if the measurement has been read previously or 1 if this is a
new measurement,

channel number,

measurement value,

scale,

hour,

minute,

seconds,

year,

month,

day the measurement was made

With this format kohms and millivolts are not converted to ohms and volts.

This command may return the same reading if a new reading has not yet been
obtained. If only new readings are desired, the FORMat:STAMp command can
be used to enable the extended format option and any readings in which the
value of the first field is 0 can be ignored or else the STATus:MEASure? com-
mand can be used to determine if a new reading is available for a desired
channel.

87

8 Digital Communications Interface

Commands