Setting ethernet settings from code
cmatkin
Senior Member
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
Comments
-
It is not possible to directly set ethernet mode and UDP BC RATE from code.
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>). -
Mark,
Thanks for the info. Looks like this could work.
Regards
Craig -
Or try it through Duet, I'm pretty sure I've seen those properties in one of the objects in Cafe Duet.
I'll have a bit more of a dig during the week when I'm back at work. -
Trav,
Thanks for that. I have never used cafe duet.
I should give it a go some time.
Regards
Craig -
Cafe Duet FTW!
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
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums