# 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 must be a reference to one of the following: The Image data structure in cell A0, containing the AcquireImage function. 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 (-9999999 to 9999999; default = 1).
Reset | Forces the accumulator to reset to the Preset value.
0 = OFF (default) | The accumulator will continue to sum the specified value indefinitely.
1 = ON | The accumulator will reset immediately.
Preset | Specifies the minimum value to which the accumulator is reset when Reset is ON (-9999999 to 9999999; default =0).

## ClockedSum Outputs

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