CALCulate:AVERage:AVERage?
Syntax
CALCulate:AVERage:AVERage? [(@<ch_list>)]
Description
This command calculates the mathematical average of all readings taken on each of the specified channels since the start of the scan. Each channel must be a channel that has been configured to be part of the active scan list. If you omit the optional <ch_list> parameter, this command applies to the internal DMM, independent of any channels or a scan list.
Used With:
34921A through 34925A Multiplexer Modules
34950A Digital I/O Module (digital input and counter channels only)
34952A Multifunction Module (digital input and totalizer channels only)
Parameters
Name |
Type |
Range of Values |
Default Value |
<ch_list> |
Numeric |
One or more channels in the form (@sccc). |
If <ch_list> is omitted, this command applies to the internal DMM. |
Remarks
You can read the values at any time, even during a scan. An error is generated if the internal DMM is disabled (see INSTrument:DMM[:STATe] command) or not installed in the mainframe.
If you omit the optional <ch_list> parameter, this command calculates the average of readings taken by the internal DMM, independent of any channels or a scan list. The calculation starts when the internal DMM is triggered.
The instrument clears the stored statistical data on all channels when a new scan is started, when the CALCulate:AVERage:CLEar command is executed, after a Factory Reset (*RST command), or after an Instrument Preset (SYSTem:PRESet command).
Return Format
The command returns one value for each channel specified. Multiple responses are separated by commas. If no data is available for the specified channels, "0" is returned.
Example
The following query returns the average of the readings taken on channels 1 and 3 in slot 1.
CALC:AVER:AVER? (@1001,1003)
Typical Response: +2.61920000E+01,+1.63540000E+01