On Thursday 07 March 2013 13:35:28 Daniel Rogge did opine: > A simple example: > > The hal gearchange component allows people to select different scales > for speed commands. Without persistence the gearchange.sel pin comes > up in the same state every time, even though the user likely wants it > to come up in the last used state. > > Rogge
This, as it seems to me, becomes something that should be saved over reboots etc, in linuxcnc/config-name/linuxcnc.var. It doesn't need to get any more complex that that. Now, separate item, but same subject, the .var and .txt files. I am on the 2.6.0 branch, and I find that there have been times when a restart, reloads the touch-off values and totally screws up my lathes auto homing setup using the contact tool I built. This has cost me about $30 in carbide chips for my tools by running them into something that should have cleared by an inch or more. The usual way for me to fix that and restore some resemblance of sanity, would be to NOT save the touch off values if a home sequence has been defined in the .ini file. Deleting the .var file & doing a restart accomplishes this. So I am forced to stop linuxcnc, delete that .var file, and restart. That particular box also crashes a couple seconds after stopping linuxcnc about 10% of the time, which leaves the *.var and *.txt files empty. This causes linuxcnc to upchuck and die on the restart until I recognize the symptoms and delete those files, the missing file linuxcnc can cope with, but it cannot yet cope with an existing but zero length file. This was discussed on this list before, so this is more of a ping to let folks know it is still a problem. Touch-offs to me are, or should be from a known home position when first applied, so doing a HOME operation should first zero out any existing touch-off, then do the home. Only after that should they become relative to present position, applied only when the touch-off is invoked or when a G54.N is in the code. Ditto for redoing a homing operation, any touch-off for that axis needs to be zeroed out before the search moves are initiated. Thanks all. [...] Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> is up! My views <http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml> Things equal to nothing else are equal to each other. I was taught to respect my elders, but its getting harder and harder to find any... ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers