Boot Project and rtservice

Anonymous
2009-08-07
2016-03-08
  • Anonymous - 2009-08-07

    Originally created by: Stefano.Casarini

    Hi,

    I have make the bootproject and set the auto-start and run of the boot project after boot the PC.

    The RTservice always starts but the boot project sometimes doesn't start and i have to click to "Reset" and after click "start cycle" and so the program starts correctly.

    when the program doesn't start i open codesys and when i do the login a message error appear "task violation in

    <main>". After the procedure "Reset and Run" the program starts correctly.

    What does mean the error "task violation"??

    Another question:

    I need to launch and run after codesys project a visual basic project.exe:

    Is possible to launch by codesys an external program for example ".exe" of visual basic??

    Sorry for bad english,

    Regards

    Stefano

    </main>
     
  • inkakawi - 2016-03-08

    Yes,

    It is possible to launch an "exe" via codesys program.
    For example attached file showsn command which launches "lrae" binary in linux.

    Regards,
    Winy

    IMG: executebinarycmd.png

     

Log in to post a comment.