# ClockedSum

Sums a value over an infinite interval. The function returns the integral of a data stream sampled on each occurrence of the specified event.

## ClockedSum Inputs

Parameter | Description
Event | Specifies the event on which to read the specified Value. This parameter needs to be a reference to any event with a timestamp, for example, one of the following: A cell containing an Event function. A cell containing a Button function.
Value | A reference to the cell containing the source of the data stream to be accumulated between the values of -9999999 to 9999999. The default value is 1.
Reset | Forces the accumulator to reset to the Preset value.
0 = OFF (default) | The accumulator continues to sum the specified value indefinitely.
1 = ON | The accumulator resets immediately.
Preset | Specifies the minimum value to which the accumulator is reset when Reset is ON between the values of -9999999 to 9999999. The default value is 0.

## ClockedSum Outputs

Returns | A value representing the summation of the data stream over a time interval since the last Reset.