Standard scheduling works well when a processor is moderately loaded. When a processor becomes overloaded, the scheduler may run a task before the previous instance of the same task has completed. The result is a task overrun.
You can configure a model running on the target hardware to notify you when a task overrun occurs.
In your model, select Simulation > Model Configuration Parameters.
In the Configuration Parameters dialog box, select the Hardware Implementation. Select the Detect task overruns check box.
Click OK or Apply.
When a task overrun occurs, the EV3 display shows an “Overrun!” error message until you stop the model.
The three recommended methods to fix a task overrun are to:
Simplify the model.
Increase the sample times for the model and the blocks
in it. For example, change the Sample time parameter
in all of your data sources or sensor blocks, from
If you are using External mode, consider disabling External mode.
External mode increases the processing burden of the model running on the EV3 hardware. If the software reports an overrun, disable External mode.