Coding Standards for Netlinx programs
catalino
Posts: 25
We currently have more work than I am interested in/can produce on my own at my place of business. I'm looking to develop a set of codified standards with how to create Netlinx and Duet code so that everyone is on the same page. The problem is, I "know" how I create Netlinx/AMX/Java code, but where do I begin putting this in a document to give integrators and other future programmers?
Does anyone have anything they would be willing to share that I could take and modify to our institutional standards?
Thanks,
Catalino
Does anyone have anything they would be willing to share that I could take and modify to our institutional standards?
Thanks,
Catalino
0
Comments
I had to write a coding standard when we got a new person on our team not following the coding format in our library. The only way I could enforce the standard was to write one. There are some specific things to how we treat Amx modules in the document. All of our modules get an include file that contains polling, queuing, debug levels, tech controls of what is being sent from / to the device. We don't use Duet unless its the only option with an unplished api. The include file supports IR, Serial, and IP controllable devices. This is atleast a starting point for you.
Once our modules are written they are used on all our projects.
John Greer