AMXTools
PhreaK
Posts: 966
Does anyone know where the latest version of the AMXTools (com.amx.duet.tools) libraries can be obtained from?
0
Comments
About to start on a new batch of modules and would be nice to grab any version newer than v2.0.35 (released in '08). Bueller?
Any of the ITG guys still lurking on the forums?
2.0.36 (January , 2009)
- Fixed handleTimerEvent() in DeviceUtil.java to call reinitialize() inside the
conditional and removed the line of code which set the Online state to false.
The user is responsible for setting whatever Online/Initialize values are appropriate
inside the reinitialize() method w/in the module. This will allow greater flexibility
and consistency.
- Updated the System_Diagnostic routine w/in the DeviceUtil.java class and added method isInDiagnosticMode()
\
AMX is comitted to Cafe Duet as the development platform for AMX and third party device control. The current application was updated about 1.5 years ago along with the API, you should see another release this year. Your purchasing decision should be based on your needs and development preference. If you prefer writing code in java, this is the way to go. If you are a manufacturer and wish to write your own Duet modules rather than provide AMX with your protocols, this would be your best approach. If you are comfortable with NetLinx programming language and use the Duet modules, there is no need to purchase Cafe Duet.
Thanks. Will the next release be free to existing Duet license holders or will there be a fee to upgrade?
No charge for Cafe Duet Upgrades.
Sorry for my english. Translated by Google.
The main advantage is being able to use Java libraries, and presumably an easier migration for pre-existing Java programmers. And I do mean migration ... because a Java programmer with no control system integration experience can really make a hash out of a device module. It can be considerably faster if there is a lot of code manipulation, but as for talking to devices, etc., NetLinx works just as well, if not better.
In the end they're both just tools. No matter what language you're using the goal is to combine a number of discreet components into a singular cohesive experience for the user. It's the design of how this happens (along with the matching of components for system performance) that makes or breaks a system. The master is going to behave the same way, it just what's going on behind the scenes that's different.
Do not know if there is some sort of SDK for Java AMX.
Java SDK for AMX = Cafe Duet
Heheheh, Tanks Eric!
We need to perform some actions on NI using Duet:
- reboot the master controller
- get size of internal queue
There are similar functions called REBOOT() and INTERNAL_QUEUE_SIZE_GET(CONSTANT LONG A) described in NetLinx.axi
I wonder can this functionality be accessed from Duet level and how it can be accomplish.
Any ideas? Thank you
Basically you set up a data event handler for the virtual device within the stub and then use it to communicate from the duet side of your module to the NetLinx side. The nice thing about this is that its all contained within the stub so it remains encapsulated. For things where you need to pass data back (in your case the result of INTERNAL_QUEUE_SIZE_GET()) you then shoot this to the virtual device from within the stub, catch it in duet and forward it on to your callback function. Works a treat.