On Friday 11 September 2015 04:59:55 andy pugh wrote:

> On 11 September 2015 at 05:33, Gene Heskett <[email protected]> wrote:
> > One hopefully last question then Andy, can hal or axis do the math
> > such that there is one master place to specify this "scale", and set
> > the pid's maxoutput to 0.98 * scale?
>
> No, but yes.
>
> Mathematical expressions are not allowed in a HAL file.
> Unless the HAL file is a TCL HAL file...
> http://linuxcnc.org/docs/html/hal/haltcl.html

Something I haven't played with, yet.

However, after hacking around in the hal file to get rid of a pin does 
not exist error, I am back to an error that is a showstopper for running 
it, on that machine, but sending the x display stuff back to this 
machine.

Logged into "lathe" with an ssh -Y session, an attempt to 
run 'linuxcnc -l' stumbles over, and exists with this error:

_tkinter.TclError: unknown color name "BACKGROUND"
Shutting down and cleaning up LinuxCNC...

I think we hacked up something in the environment on this machine to fix 
those two errors (there will also be an unknown color name "FOREGROUND" 
error to deal with when we define BACKGROUND) but that was pre-wheezy on 
this machine.  Do you recall how to fix that?

FWIW, other stuff that uses X Just Works(TM), like geany or 
synaptic-pkexec, have no such problem.

Thanks Andy

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to