TYPE SMC_SeriesStats : STRUCT
Basic statistics of a series of values.
InOut:
Name |
Type |
Comment |
udiN |
UDINT |
Number of values in the series |
fMin |
LREAL |
Minimum value |
fMax |
LREAL |
Maximum value |
fAvg |
LREAL |
Average value |
fSDev |
LREAL |
Standard deviation |
aLargest |
ARRAY [0..15] OF SMC_SeriesSample |
The largest samples, sorted by value in descending order. The number of elements stored is MIN(udiN, 16). |
aSmallest |
ARRAY [0..15] OF SMC_SeriesSample |
The smallest samples sorted by value in ascending order. The number of elements stored is MIN(udiN, 16). |