# ClockedMax

Samples a stream of values over an infinite interval, then returns the maximum value sampled from the stream during that interval.

## ClockedMax Inputs

Parameter | Description
Event | Specifies the event that forces an update. 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 source cell for the data stream on which a maximum is sought between the values of -9999999 to 9999999. The default value is 0.
Reset | Forces the function to reset its internal register to the value specified by Preset.
0 = OFF (default) | The function continues to sample Value in the current data stream.
1 = ON | The function resets the maximum value it returns, and begin a new data stream from which to sample.
Preset | Specifies the maximum value to which the function is reset between the values of -9999999 to 9999999. The default value is -9999999.

## ClockedMax Outputs

Returns | A value representing the maximum of a data stream over an interval from Reset to current.