I need to be able to run a KAREL program continuously in the background, that listens for a KAREL variable (or perhaps we will look into using a flag for this) that signifies an abort all request. Using a background logic program would be perfect, but KAREL programs sadly cannot be used here. I have tried to use a hot start autoexec program that calls a 'listener' KAREL program with the infinite loop, however this autoexec program still blocks the execution of other KAREL/TP programs which we need for the robot's regular functionality (TPIF-013 Other program is running). I am not sure what other options I have to implement this functionality, all options seems to get stuck on the fact that a program that is running and needs to be aborted blocks the execution of the abort_all program... Any suggestions would be appreciated.
Thread
Background programs
I'm getting stuck on setting up some background programs that I want to run on boot. One is a TP program, the other a KAREL program.
I've tried adding each of them to the Cold Start Autoexec option under SYSTEM>CONFIG. No dice. Nothing happens when I cold boot the robot -- no errors show up in the alarm history, the programs just don't run.
I also tried creating a CF file that would load and run both programs, and put it into the Autoexec option. Same (lack of) result.
Then I tried going to…
I've tried adding each of them to the Cold Start Autoexec option under SYSTEM>CONFIG. No dice. Nothing happens when I cold boot the robot -- no errors show up in the alarm history, the programs just don't run.
I also tried creating a CF file that would load and run both programs, and put it into the Autoexec option. Same (lack of) result.
Then I tried going to…