Multi-Tasking End Management Procedure
One of the great features of Robo Pro is the very easy multi-tasking programming.
However, there's no mechanism supplied to end all tasks. Here's one end management procedure, consisting on two functions:
|
Example
Here's a standard example with two processes:
|
Process on the Main Program
Function on Each Loop and Each Process
Each loop and each process shall include either END_Test_L or END_Test_R function.
This function checks the value of the Fin variable and redirect the to the output accordingly:
In order to avoid messy projects, two flavours are supplied:
|
Download the driver with an example for RoboPro.
This file is under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. |
|