Reboot master from code
I've searched several times and I can't find the answer.
What code can I use to reboot the master from within the program? I know.. bad idea, etc. , but I need a temporary fix for a problem that's happening at a site 3 hours away.
What code can I use to reboot the master from within the program? I know.. bad idea, etc. , but I need a temporary fix for a problem that's happening at a site 3 hours away.
0
Comments
or
reboot(0:1:0)
Check out the Netlinx Studio online help.
Trying this from "Control a Device' does not work.
SEND_COMMAND 0:1:1, "'REBOOT (0:1:0)'"
SEND_COMMAND 0:1:1, "'REBOOT (0:1:1)'"
SEND_COMMAND 0:1:1, "'REBOOT (0)'"
No luck with any of them.
if(snafu) { snafu = 0 reboot(0:1:0) }Ok, thank you!
Right. But there are some network issues there (another company is in charge of the network there) and when there are problems I can't telnet to the master, only ping works.
Is this a older NIxxxx?
John
Yes, it's a NI3000 installed at least 3 years ago. Maybe 4 or 5 years old. Why do you ask?
Please read:
http://www.amxforums.com/showthread.php?7903-Network-Probs-since-change-switch
there are some network problems with older NI's.
john