Anytime Help Center

AMX Is it possible to Reset or reboot a system master from Netlinx Code

Rating


Is it possible to Reset or reboot a system master from Netlinx Code?

 

 

Is it possible to Reset/Reboot a system master from Netlinx code?

 

Yes.

 

The syntax is: REBOOT(0)

In this example, 0 is the device you want to reboot. Some early AMX documentation references a keyword SYSTEM_RESET. This is incorrect. REBOOT(d:p:s) is the correct command. However, it does not highlight as a keyword in NetLinx Studio as it should at the time of this TechNote. But, it does work! The Help and highlighting will be corrected in a future version.

To build a system reset button on a touch panel the code would be as follows:

DEFINE_EVENT

BUTTON_EVENT[dvTP,1] (*SYSTEM RESET BUTTON*)

{

  PUSH:

  {

    REBOOT(0) //In this instance when you use “0", 0:1:0 is assumed

  }

}

This keyword works only on NetLinx controllers, not Axcess controllers.

NOTE: This keyword can be used to reboot any device that supports being rebooted by the controller. You could reboot a touchpanel also with REBOOT(10001:1:0) or REBOOT(dvTP)

​ 


Downloads

Product

 

Topic

Programming

Related Articles

Last modified at 3/29/2023 4:30 PM by PRO Knowledge Base
Top