Home AMX User Forum AMXForums Archive Threads AMX Hardware MAX by AMX

shutdown MAX via Netlinx

Hi. Can I shutdown Max server via Netlinx Code?
Thank's a lot
Alessandro

Comments

  • ericmedleyericmedley Posts: 4,177
    eddymouse wrote: »
    Hi. Can I shutdown Max server via Netlinx Code?
    Thank's a lot
    Alessandro

    Yes,

    I'm not at my machine right now to give you the exact code. But, I think it's something like Power=0.
  • By a send_command ?
    thank
  • ericmedleyericmedley Posts: 4,177
    eddymouse wrote: »
    By a send_command ?
    thank

    Yes, send_command vdv_MAX_Module
  • bobbob Posts: 296
    telnet to the control port and send a string "poweroff"
  • John GonzalesJohn Gonzales Posts: 609
    Just to note, if you issue the POWER=0 command to turn off the server, you have to manually turn it back on. It can't be turned back on by code.

    If you're trying to turn off the AVP and not the server then you could issue the commands below (where nZone is the AVP that you're trying to control):
    Send_Command vdvMAXModule, "'AVP_KEYS=',ITOA(nZone),':45'"  //Turns the AVP off
    
    or
    Send_Command vdvMAXModule, "'AVP_KEYS=',ITOA(nZone),':44'"  //Turns the AVP on 
    

    --John
Sign In or Register to comment.