TP Job Exist

  • I don't think, but you can make this verification in karel if you have the option installed.

    1) Hallo, With Karel, how can I get a program exists or not, I hope default folder is MD:\,



    PROGRAM Kareltest

    %NOLOCKGROUP

    BEGIN


    IF (MD:\Test_Name) THEN

    DOUT[238]= TRUE

    ELSE

    DOUT[238]= FALSE

    ENDIF

    END Kareltest


    ---------------------------------------------------------


    2) Does karel logic runs as BGLOGIC or does it raises mixed logic error?


    Thanks

  • You can not run it in BG logic but you can make it loop with GO TO ex:


    loop::

    --Program section

    DELAY 100

    GO TO loop

    %NOABORT=ERROR+COMMAND will be useful in this case


    Personally, I recommend you to call this program only when you want to make the verfication.

Advertising from our partners