## Minimum calculation |

MATHDR32 -> Driver-specific functions -> Formulas -> Float formula -> Data reduction -> Minimum calculation |

Show all Hide all |

The data reduction `Minimum`

is used for determining the
minimum of a variable within an interval. Possible settings
are:

- Time interval: Minimum within a time interval (seconds, minutes, hours, days)
- Event interval: The minimum is formed when a change in an event variable occurs

Further parameters in the configuration are:

- Output: The result is provided at the end of the interval or continuously
- Initialization: The value is initialized at the beginning of the interval (existing or new value)

Press the button `OK`

to open a dialog where you can enter
the parameters for calculating the minimum:

`Variable`

Display of the event variable

```
Interval
duration
```

Parameters |
Description |
---|---|

Time-limited |
Calculation of average over time. |

Event triggered |
Average is calculated when an event variable changes. |

Time |
Entry of the numeric value for the corresponding time (real-time synchronous, i.e. entry 15 means 15, 30, 45, 0 etc.). |

Seconds, minutes, hours, days |
Selection of the time interval. |

Offset |
Delay for start and end of the average calculation. |

```
Output of the
result
```

Parameters |
Description |
---|---|

At the end of the interval |
The value is only provided at the end of the interval; until then, only the previous value is available. |

continuous |
The value is updated during each scan of the source variable. |

```
Initialization
at the start of the interval
```

Parameters |
Description |
---|---|

With existing value |
Value is based on previous value. |

with new value |
Value must be re-calculated. |

Info |

The synchronization time is determined based on the time interval. Example: If you configure the time interval to be 15 minutes, the calculation will be performed every 15 minutes, starting with the full hour. |