| Inports
| |
| In | Input value |
| Outports
| |
| Out | Averaged value |
| Mask Parameters | ||
| Name | ID | Description |
| n | 1 | Number of points to be averaged over |
| ts_fact | 2 | Multiplication factor of base sampling time (in integer format) |
Calculation of moving average value over n numbers.
Calculation:

| FiP8 | 8 Bit Fixed Point Implementation |
| FiP16 | 16 Bit Fixed Point Implementation |
| FiP32 | 32 Bit Fixed Point Implementation |
| Float32 | 32 Bit Floating Point Implementation |
| Float64 | 64 Bit Floating Point Implementation |
8 Bit Fixed Point Implementation
| Inports Data Type
| |
| In | int8 |
| Outports Data Type
| |
| Out | int8 |
16 Bit Fixed Point Implementation
| Inports Data Type
| |
| In | int16 |
| Outports Data Type
| |
| Out | int16 |
32 Bit Fixed Point Implementation
| Inports Data Type
| |
| In | int32 |
| Outports Data Type
| |
| Out | int32 |
32 Bit Floating Point Implementation
| Inports Data Type
| |
| In | float32 |
| Outports Data Type
| |
| Out | float32 |
64 Bit Floating Point Implementation
| Inports Data Type
| |
| In | float64 |
| Outports Data Type
| |
| Out | float64 |