Command: Statistics
Function: The command opens the Trace Statistics dialog which shows statistics about each trace variable.
Call: menu; context menu
Requirement: The trace editor contains samples.
Dialog: Trace Statistics
The analyzed time range and duration are displayed in the title bar.
The table contains one line per signal.
Signal | Name of the trace variable Example: |
Index | 0-based index of the signal order |
N | Number of measurements for the calculations |
Min | Minimum value |
Avg | Average |
Median | Value which is located in the middle position when the values are ordered by their size |
RMS | Root mean square |
StdDev | Standard deviation |
Max | Maximum value |
Integral | Integral |
Min Δt [s] | Minimum value of the time intervals of successive values |
Avg Δt [s] | Average of the time intervals of successive values |
Median Δt [s] | Median of the time intervals of successive values |
StdDev Δt [s] | Standard deviation of the time intervals of successive values |
Max Δt [s] | Maximum value of the time intervals of successive values |
Click a column heading in the table | CODESYS sorts the table by that column, toggling the order between ascending to descending. Default: The table is sorted by the Index column in ascending order. The signals are then sorted in the same order as in the signal tree. |
Click in the line | The line is selected. You can select or deselect other lines by pressing Shift+Arrow. |
Ctrl+C | CODESYS copies the selected lines as text to the clipboard. The values of the individual columns are tab-separated, and the lines are delimited with the control character CR or LF. Requirement: You have selected one or more lines. |
For more information see: Data Sampling with Trace