Sum

Top  Previous  Next

CIRCON~1_img396

Samples the input periodically; and, adds each sample to a provide a running summation on the output.

 

Inputs



 

 

Slots

Type

Default

Description

 

In

Numeric

0.0

The input to be sampled. Null values are ignored, and not included in the summation or the count.

 

Reset

Digital

False

A False to True transition will reset the summation to 0.0.

 

Outputs


 

Slots

Type

Description

 

Out

Numeric

The result of the summation.

 

Count

Integer

The number of samples that were taken for the current summation.

 

Configuration


 

Slots

Description


 

Interval

The sample interval in seconds. The block will sample the input at the end of each interval in order to calculation the sum.