RunningAverage

Top  Previous  Next

CIRCON~1_img271

Computes a running average from the input, using the most recent group of samples (a sample is taken during every clock cycle of the program).

Inputs



 

 

Slots

Type

Default

Description

 

In1

Numeric

Null

The input to sample, the default value is Null.

 

Reset

Digital

 

Resets the average on a False to True transition.

 

Outputs


 

Slots

Type

Description

 

Out

Numeric

The running average. If the input is Null, the output will also be Null.

 

Properties


 

Slots

Description

 

Samples

The number of samples to use for the average.