AVERAGING [TO] n

Command:

AVERAGING [TO] n

 

Advanced user

Command Syntax:

AVERAGING.[TO] n

Range:

 

Describe:

Global setting for how many times we sample analog inputs when obtaining a reading from a sensor using analog input

n - (global default)

Result:

Sample analog inputs 'n' times, averaging results (default is 3 unless changed; sets "global" averaging value.)

Type or
Addressable Component:

Setting

Default if not set with this command is 3

Note:

Global averaging value can be individually overridden by sensor by using the AVERAGE command on an item.

This command sets the global averaging count to use only on newly connected objects. This does not affect already CONNECTed objects.

AVERAGE object (index) value sets/changes the averaging count to use on an already connected object.

The global AVERAGING value set by the SET AVERAGING operation will not take effect on an object until is disconnected and reconnected. The global initial default is 3 samples per reading. Once an object is connected, the AVERAGE command can be used to change the value.