my opinion for what it's worth: > In cvs Jeff made some great changes to import HAL signal names to use > as symbols (eg ' lube out>' instead of '%Q3'). > To do this he cheated a little and circumvented displaying the HAL > signal names in the symbol window,and the signal names take presidence > over symbol names.
was this done to prevent breaking some bit of code? why not just use the HAL signal name as the symbol name? having two names for the same object sounds like asking for trouble. > In my personal version I fixed the window problem but symbol names > take presidence over HAL signal names. (in other words HAL signal names > are only used if there is not already a symbol name for the variable) i didn't even know you could change the names of classicladder variables. > One problem I see is that very long signal names look terrible in > classsicladder. one way to deal with this is to truncate the name to N characters and display the full name when the user mouses over the element. > (I am wondering if there is a way to change the font > smaller when displaying text but can not find a way in GTK.-I'm sure > there is a way) after staring at this for a while I decided (again) that the whole classicladder GUI should just be rewritten from scratch. now that it is usable of course :) > Also my version only checks for HAL signals names when classicladder > is loaded-meaning signals created after classicladder loads will not be > displayed. this should be fixed then > > should classicladder always display HAL signal names if they are > available or should the programmer decide if he wants to use a different > name. classicladder should always use the HAL signal name. there's no reason to confuse things by having two names for the same variable. > and should the symbol window be updated with new signal names > (maybe with a "check for signals" button??) or is loading then once > enough (this is not a problem for a properly laid out HAL file but for a > new-to-integrating person .. an easy way to do this is to read the hal signal names when the window is redrawn ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
