Home AMX User Forum NetLinx Studio
Options

Netlinx code to reboot master

Occasionally a power failure puts my Netlinx system in a bad state. Until I can nail the bug (s), I'd like to add a button on a secret touchpad screen that reboots the master.

The problem is: Can someone provide the source code snipet that reboots the master?

Thanks

Comments

  • Options
    annuelloannuello Posts: 294
    It's pretty straight forward.
    reboot(0)
    
    This sends a reboot command to device 0 - the master. BTW - you can reboot a touch panel if you specify it's device number rather than the master device number.

    Roger McLean
    Swinburne University
  • Options
    prime95prime95 Posts: 2
    Thanks. My usual trick of finding what I need from the Netlinx keywords help didn't work this time.
  • Options
    Thomas HayesThomas Hayes Posts: 1,164
    Just out of habit I also reboot my panel any time the master is rebooted. I had a couple of cases last year that the panel would work but the feedback would not if the master was rebooted.
Sign In or Register to comment.