how to set the priority of the task ?
task A priority is set to 30,task B priority is set to 60, which task should execution first ?
how to set the priority of the task ?
task A priority is set to 30,task B priority is set to 60, which task should execution first ?
It is explained in the TASKS chapter of the VAL3 Reference Manual. Execution priority increases as the priority numeric value increases. Tasks are executed in sequence as explained in the SEQUENCING sub-heading of the chapter. If your application only runs taskA(nPriority=30) and taskB(nPriority=60), then taskB will be executed first until a stop condition, then execution shifts to taskA. This continues until a stop condition, then returns to taskB.
Hi TygerDawg
thanks for your reply .
I have found the description on VAL3 Reference Manual,It was most careless of me