NB5 Docs► Reference Section► Drivers▼ diag 🖺

diag

This is a diagnostic activity type. Its action simply reports the cycle number and the reporting delay between it's schedule reporting time and the current time. The reporting is interleaved between the threads, with the logical number of reports remaining constant regardless of the thread count.

example activitydef

alias=testdiag;driver=diag;threads=50;interval=2000;

controls

When the interval parameter is changed, all motor slots are notified and the reporting times are updated for each active motor.

parameters