Is there anyway I can make sure a KAREL program starts automatically and runs like the BACKGROUND tasks do. Rather than having RUN from a TPP routine?
Is there anyway I can make sure a KAREL program starts automatically
-
julian lenz -
March 25, 2019 at 6:09 PM -
Thread is marked as Resolved.
-
-
The easy way is to set it to run at hot start and/or cold start in the config menu.
Sent from my iPhone using Tapatalk
-
Another was is a system variable called $PWR_NORMAL, during normal power cycle startup it runs a .CF (command file), where you run your programs.
I think you would just type the folder and name of the .CF file without the extension. example: $PWR_NORMAL = FR:/STARTTo create a .cf file
example of START.CF created in notepad where it loads a tp program and a pc program, then loads the vr files of the pc program and runs it.
*****
LOAD PROG test_tp_program
LOAD PROG test_karel_programLOAD VARS test_karel_program
run test_karel_program
***** -
Hey I tryed the version with the .cf file but it do not work. dose enyone got it working with a cf file?