Average SCPI

M9370A / M9371A / M9372A / M9374A / M9375A

Sense:Average Commands


Sets sweep-to-sweep averaging parameters. Averaging is a noise reduction technique that averages each data point over a user-specified number of sweeps. Averaging affects all of the measurements in the channel.

SENSe:AVERage

       | CLEar

       | COUNt

       | MODE

       | [STATe]

Click on a keyword to view the command details.

See Also


SENSe<cnum>:AVERage:CLEar

(Write-only) Clears and restarts averaging of the measurement data. Does NOT apply to point averaging.

Parameters

 

<cnum>

Any existing channel number; if unspecified, value is set to 1.

Examples

SENS:AVER:CLE
sense2:average:clear

Query Syntax

Not applicable

Default

Not applicable


SENSe<cnum>:AVERage:COUNt <num>

(Read-Write) Sets the number of measurements to combine for an average. Must also set SENS:AVER[:STATe] ON

Parameters

 

<cnum>

Any existing channel number; if unspecified, value is set to 1.

<num>

Number of measurements to average. Choose any number between 1 and 65536 (2^16).

Examples

SENS:AVER:COUN 999
sense2:average:count 73

Query Syntax

SENSe<cnum>:AVERage:COUNt?

Return Type

Numeric

Default

1


SENSe<cnum>:AVERage:MODE <char>

(Read-Write) Sets the type of averaging to perform: Point or Sweep.

Parameters

 

<cnum>

Any existing channel number; if unspecified, value is set to 1.

<num>

Averaging Type. Choose from:

POINt - Averaging measurements are made on each data point before stepping to the next data point.

SWEEP - Averaging measurements are made on subsequent sweeps until the required number of averaging sweeps are performed.

Examples

SENS:AVER:MODE POIN
sense2:average:mode sweep

Query Syntax

SENSe<cnum>:AVERage:MODE?

Return Type

Character

Default

Sweep


SENSe<cnum>:AVERage[:STATe] <ON | OFF>

(Read-Write) Turns trace averaging ON or OFF.

Parameters

 

<cnum>

Any existing channel number; if unspecified, value is set to 1.

<ON | OFF>

ON (or 1) - turns averaging ON.
OFF
(or 0) - turns averaging OFF.

Examples

SENS:AVER ON
sense2:average:state off

Query Syntax

SENSe<cnum>:AVERage[:STATe]?

Return Type

Boolean (1 = ON, 0 = OFF)

Default

Off