Page 1 of 1

WD Telnet

PostPosted: Mon Feb 12, 2018 12:26 pm
by sune
hello i need help sending telnet commands from widget designer to my ma2., i can send commands from PuTTY without any problems. But I would like to send the messages WD TCP / IP. But can not figure out how the comrades are to be written.
Hope someone can help me

Re: WD Telnet

PostPosted: Mon Feb 12, 2018 4:40 pm
by ricky
Hi Sune,
if you want to trig GMA2 via Telnet you must create a TCP connection as Client Only (e.g. port 30000) then the script is simple:

Example>> If the connection ID is 1 and the console executor to trig is 1.1:
TCPSend(1,"On Executor 1.1 [CR]")

You can send any kind of command you usually use in the console command line.
If you have the login enebled you must send another command before:
I think you can sent it only the first time you want to send a scipt to the console, but I'm not sure..