K-IDE support forum
Find all information about Kawasaki's Integrated Development Environment

Killing background tasks in a definated order

#1 by cquante , Sun Dec 22, 2019 10:46 am

Background tasks (PC programs) are mostly keep each other alive. In some cases there's a so called "watchdog task" that checks if another task is running and if not restarts that task. In the template file "KRG" of the K-IDE you'll find such a watchdog task in "autostart5.pc".

Watchdog tasks makes it a bit more difficult to kill other tasks after changing a pc program and before upload. In some cases it may happen, that the watchdog task restarts a task that is just killed and before the new pc program is transferred. Therefore the watchdog task has to be killed before the task of the pc program you like to upload to the robot.

In K-IDE the default order to kill a task is from one to five. For a project made out of the template "KRG" for example the kill order may make trouble. For that reason task 5 has to be killed before the other tasks. You can change the order of the tasks to be killed by simply drag and drop the tasks in all dialog boxes that present the tasks to be killed. For a project like the KRG template you may want to change the order that task 5 is the first task to be killed.

|addpics|s5l-1-7791.png-invaddpicsinvv|/addpics|



The following users say thank you: dodasch and mc54345
 
cquante
Posts: 281
Date registered 12.20.2019

Last edited 12.22.2019 | Top

   




Xobor Xobor Community Software
Datenschutz