Diagnostics¶
This page is being written
The outline below is what it will cover.
A panel that misbehaves is measured before anything is changed. The runtime reports on itself so that the measuring does not need a debugger.
Cycle time¶
To be written. Covers: minimum, average and maximum cycle time, and the count of overruns. When somebody writes heavy logic and the picture starts to stutter, this is where the reason shows.
The diagnostic buffer¶
To be written. Covers: a ring of timestamped events — a device that dropped out, a device that came back, a chip that did not answer, a retain area that was reset. Invaluable when servicing remotely.
Bus counters¶
To be written. Covers the per-bus counters. Two are already documented where they are used:
- Raw CAN — frames received and sent.
- Modbus slave — requests and exceptions.
Time and the real-time clock¶
Already written, under peripherals and system services.