Automatially start runtime application on reboot

2017-05-26
2017-06-02
  • barnstormer - 2017-05-26

    How do I configure the raspberry pi to automatically run the application on reboot?

    I have no problems rebooting the pi, connecting to the pi with Codesys, logging on and pressing the 'run' button. But I would like the application to run automatically on reboot.

    Thanks.

     
  • chris.beard - 2017-05-26

    In the device settings you can select run on boot

    Sent from my SM-N9005 using Tapatalk

     
  • barnstormer - 2017-05-27

    Thanks - but I can't find that option for the Raspberry PI. When I right click on the Device (CODESYS Control for Raspberry Pi SL), which brings up the Device Editor, none of the device screens have the 'run on boot' option.

    Where is the Run on Boot option? I'm using Codesys 3.5. Seems like that was available somewhere in v2.3, but I can't find it. The help system or google wasn't able to point in me the right direction.

    Thanks for your help.

     
  • eschwellinger

    eschwellinger - 2017-05-28

    Hi,
    this should be enabled by default.
    If your boot application does not start I asume that there is a problem in your application (crash on Startup - whatever, things like that)
    check the log after startup the pi by ssh connection:
    cat /tmp/codesyscontrol.log

    BR
    Edwin

    IMG: CreateImplicitBootapp.jpg

     
  • barnstormer - 2017-06-02

    Thank you, very much. That's what I needed.

     

Log in to post a comment.