What i have gathered so far...
jisaac
Posts: 34
gentlemen,
im a few weeks away from taking another crack at the ACE programming track. In my effort to actually succeed and develop habits to write clean efficient programs, i have come up with what i see to be good programming practices across the board.
1. Subroutines:
This is another name for what is basically a macro. Mostly all multi step actions will
have one and there should be some for misc. actions such as parsing strings from
devices.
2. Que's:
Namely command Que's. Usually accomplished using some sort of array. This is akin
to what a router or switch does in a network, manage incoming and outgoing traffic.
3. Modules:
The lifeblood of programs in Netlinx. If possible write or utilize one for every device in
a system. This also makes it easier to make changes on the fly.
4. Events:
mapping of actions to button, levels or data. This has the most to do with your
touchpanels/keypads. Its good to also include page flips and pop-ups in the code
versus doing it in TPD4.
feel free to add anything to the above. The more the better. Thanks to everyone who has contributed to my threads, i really appreciate it.
im a few weeks away from taking another crack at the ACE programming track. In my effort to actually succeed and develop habits to write clean efficient programs, i have come up with what i see to be good programming practices across the board.
1. Subroutines:
This is another name for what is basically a macro. Mostly all multi step actions will
have one and there should be some for misc. actions such as parsing strings from
devices.
2. Que's:
Namely command Que's. Usually accomplished using some sort of array. This is akin
to what a router or switch does in a network, manage incoming and outgoing traffic.
3. Modules:
The lifeblood of programs in Netlinx. If possible write or utilize one for every device in
a system. This also makes it easier to make changes on the fly.
4. Events:
mapping of actions to button, levels or data. This has the most to do with your
touchpanels/keypads. Its good to also include page flips and pop-ups in the code
versus doing it in TPD4.
feel free to add anything to the above. The more the better. Thanks to everyone who has contributed to my threads, i really appreciate it.
0
Comments