On 7 August 2010 17:02, Igor Chudov <[email protected]> wrote:
>
> I looked into HALUI and HAL files and logical elements. While I think
> that I understand why things were done the way they were, I am very
> concerned that a while later, I will not be able to make any sense of
> the config and logical elements.

You can add comment lines to HAL files to remind yourself what you are doing.
Also note that you don't have to call the logic blocks and2.1 etc, you
can allocate them meaningful names (as was recently explained by SWP
but I can't recall if it was here, IRC or the forum)

For example: (note that there are no spaces in the name definition string)
loadrt and2 names=interlock,coolant

Will create two and2 blocks but rather than being called and2.0 and
and2.1 the first will be called "interlock" and will have pins
interlock.in0, interlock.in1 and interlock.out.

(It is probably worth giving them names that make is clear that their
internal function is an "and" operation though)

-- 
atp

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to