Programming Doubt
vijaykumar
Posts: 18
Hi guys.,
just i am giving how can i do the program for amx devices,,present i am having a modules Met-Ecom , Matrix audio controller and csg-544 SIP ...Etc
in my Netlinx project ..for every module main file code..i am copying and paste in my Main(Master file) Project File,for that one in my project master file having the lot of code..
IS THEIR ANY OTHER WAY TO INSERT THOSE MODULES WITHOUT COPY OR EDIT IN MY PROJECT ..
just i am giving how can i do the program for amx devices,,present i am having a modules Met-Ecom , Matrix audio controller and csg-544 SIP ...Etc
in my Netlinx project ..for every module main file code..i am copying and paste in my Main(Master file) Project File,for that one in my project master file having the lot of code..
IS THEIR ANY OTHER WAY TO INSERT THOSE MODULES WITHOUT COPY OR EDIT IN MY PROJECT ..
0
Comments
All that you need to utilize the modules is to instantiate them using 'define_module', you will then communicate with them via string, command and channel events on the attached virtual device as defined in the module API doc. From there you can separate functionality out into include files etc and utilize functions for handling repeated tasks to maximize code re-use and/or provide a further level of abstraction from the module API.