Analog statistics attributes
- Last UpdatedJul 19, 2024
- 1 minute read
If Enable statistics is enabled, then the following additional statistics-related attributes become available.
|
Editor Option |
Associated Attribute |
Description |
Runtime Access |
|---|---|---|---|
|
Enable statistics |
HasStatistics |
If enabled, statistics will be calculated for the Analog Field Attribute. |
None |
|
Auto-reset on bad value |
Stats.AutoResetOnBadInput |
If enabled, the input automatically triggers a reset command when the quality of an input goes from BAD or UNCERTAIN to GOOD. |
Supervisory, User |
|
Values per sample set |
Stats.SampleSize |
The maximum number of samples to collect in calculating the mean and standard deviation. The minimum number of samples is 2. Note: A large sample set will impact performance at runtime. |
Supervisory, User |
|
Statistics reset |
Stats.Reset |
Resets the following runtime attributes:
|
Supervisory, User |