Converting Axcess to Netlinx
jswilson
Junior Member
Hello,
I'm a little new to the AMX world, but I've learned a lot so far with the help of the forums here.
My question relates to converting older Axcess code over to NetLinx code. I have inherited a system using an Axcent3 master and I was (fortunately) able to get the source off of it. When I brought the code into NetLinx studio and compiled it as an Axcess source file, it compiled, as I would have expected. Since we might be switch over to Netlinx, i tried to compile it as a NetLinx source file, just to see what would happen, and more to my surprise, it also successfully compiled. I thought I would at least have to change code like:
Doesn't NetLinx require the d:p:s format? I thought this would cause a failure when compiling under NetLinx, but it seemed to pass. Any thoughts on this? Have I missed something?
Thanks for your understanding and help!
I'm a little new to the AMX world, but I've learned a lot so far with the help of the forums here.
My question relates to converting older Axcess code over to NetLinx code. I have inherited a system using an Axcent3 master and I was (fortunately) able to get the source off of it. When I brought the code into NetLinx studio and compiled it as an Axcess source file, it compiled, as I would have expected. Since we might be switch over to Netlinx, i tried to compile it as a NetLinx source file, just to see what would happen, and more to my surprise, it also successfully compiled. I thought I would at least have to change code like:
DEFINE_DEVICE TP = 128
Doesn't NetLinx require the d:p:s format? I thought this would cause a failure when compiling under NetLinx, but it seemed to pass. Any thoughts on this? Have I missed something?
Thanks for your understanding and help!
Comments
-
If a device is declared in a NetLinx program with just the device number, the NetLinx Compiler assumes that it has a Port number of 1 and a System number of 0. Check out tech note 553 (Converting AXCESS to NetLinx) for further info.jswilson wrote:Doesn't NetLinx require the d: p:s format? I thought this would cause a failure when compiling under NetLinx, but it seemed to pass. Any thoughts on this? Have I missed something? -
Thanks for the information, I appreciate it.
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