Receive code from amx device question
udi
Posts: 107
I have a client which has a ni-2100 device and he has MVP-7500 touch panel. He wants some changes in the control of the devices. But the program of the amx device wrote by another company and I don’t have the code of the ni-2100 control.
Is it possible to get the file from the ni-2100 controller? Or I have to write everything from scratch????
Thanks for any help
Is it possible to get the file from the ni-2100 controller? Or I have to write everything from scratch????
Thanks for any help
0
Comments
Use the send/ receive dialog box and select the receive tab.
You will always get an src file downloaded, but if it is very small it will just contain the text "no source code available on master" or similar.
what does it mean compile with source. how you can compile without a source? don't you have to compile before sending to the device??? I don't understand.
Anyway, I managed to download the file as you said, But files are missing and there are some errors. how can it be ?
Is not that the files that have on the device????
You normally only upload the compiled file to the controller. What he means is that you can include the original source with it. So NetLinx sends that to the controller as well so that the next programmer can retrieve the code that's on the actual device and see/alter it. Same goes for yourself as well. If you do it that way you always know which code is running on that controller as you can simply retrieve it.
You can do this in the settings menu:
Netlinx Compiler -> "Build with source" if you check that it will add the source.
You can still password protect it if you want to avoid access by strangers. There's a checkbox just below that will allow you to do just that. Hope this helps.
Is not that the files that have on the device????
Include files that were compiled into the program will not be on the master if they were not included in the workspace. I think (but am not positive) that this applies to TOK files as well. IN other words, the original programmer didn't upload a complete set of files.
how can you compiled files into the program and not included them in the workspace.
When i try to compile the softwere said that one .axi file is missing.
The file declaration is in other .AXI file, Maybe because of this it is not included in the workspace????
In addition the program missing also one TKO file as you said.
The compiler will find files which reside in compiler search paths which are configured from the menu in NetLinx Studio under Settings -> Preferences -> NetLinx Compiler -> Directories without them being added to the workspace.
If this is an AMX written module, we may be able to dig you up a copy. What is the name of the .tko file?
this is the file that missing. they use EIB lighting.
anyone have some module example for the EIB?
Some of the file I got from the AMX device are .AXS files and in those file they wrote a module (Example file attached). Do I need to add the TKO file of this .AXS files to my workspace??? How do I use this filed in the workspace??? When I am doing compiling are those files included??
thanks for any help.
Hope that helps
-Ryan
anyone have some module example for the EIB?