Setting ethernet settings from code
cmatkin
Posts: 86
Hi,
I have a heap of amx systems that i need to telnet into to change the following..
SET ETHERNET MODE 100 FULL
and
SET UDP BC RATE to 0
Does any one know if it is possible to query the current settings, then change and reboot if necessary?
Regards
Craig
I have a heap of amx systems that i need to telnet into to change the following..
SET ETHERNET MODE 100 FULL
and
SET UDP BC RATE to 0
Does any one know if it is possible to query the current settings, then change and reboot if necessary?
Regards
Craig
0
Comments
You may create an IP connection from code to the master's own telnet terminal, and then send this parameters.
A reboot can be done from code, by REBOOT(<device address>).
Thanks for the info. Looks like this could work.
Regards
Craig
I'll have a bit more of a dig during the week when I'm back at work.
Thanks for that. I have never used cafe duet.
I should give it a go some time.
Regards
Craig
definatly should, code reuse is as easy as pie as you can create TRUE objects that you can implement or extend depending on your needs.
A simple DVD or Disc object that may read in the RS232 strings from an XML file, or just code those into a template that you may have, so read into the constructor of the object when it loads.
You can ignore the SNAPI if you are only really developing for yourself, but on the other hand, if you do decide to implement snapi, and conform to that API then you have the added advantage of being able to use your lovely FAST (string processing in the JVM is about 25 - 27 time FASTER than in netlinx) java modules in visual architect
Also, once your 'toolkit' is in place I have found that 'doing it in java' to be actually quicker than developing in Netlinx.
But then it also depends on your Java background as well
All in all I like it and I hope it is develeoped further!
-Trav