Re: [Emc-users] Another Python question

2020-12-18 Thread ken.strauss
Thanks for the instantaneous response! Now I need to figure out how to retrofit 
to 2.7...

-Original Message-
From: andy pugh  
Sent: December 18, 2020 7:01 PM
To: Enhanced Machine Controller (EMC) 
Subject: Re: [Emc-users] Another Python question

On Fri, 18 Dec 2020 at 23:55,  wrote:

> Where can I download the python helpful functions enhancements in 2.8 
> documented at 
> http://linuxcnc.org/docs/2.8/html/hal/halmodule.html#_helpful_functions? I am 
> primarily interested in how get_value is implemented.

I think that they are a part of halmodule.cc

https://github.com/LinuxCNC/linuxcnc/blob/43ac9730f4d6be679bd28292d88fdfcdb8204907/src/hal/halmodule.cc

So they are not implemented in Python, but are available to Python if you 
import hal

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is designed for 
the especial use of mechanical geniuses, daredevils and lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Another Python question

2020-12-18 Thread andy pugh
On Fri, 18 Dec 2020 at 23:55,  wrote:

> Where can I download the python helpful functions enhancements in 2.8 
> documented at 
> http://linuxcnc.org/docs/2.8/html/hal/halmodule.html#_helpful_functions? I am 
> primarily interested in how get_value is implemented.

I think that they are a part of halmodule.cc

https://github.com/LinuxCNC/linuxcnc/blob/43ac9730f4d6be679bd28292d88fdfcdb8204907/src/hal/halmodule.cc

So they are not implemented in Python, but are available to Python if
you import hal

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Another Python question

2020-12-18 Thread ken.strauss
I'm obviously not sufficiently github knowledgeable. 

Where can I download the python helpful functions enhancements in 2.8 
documented at 
http://linuxcnc.org/docs/2.8/html/hal/halmodule.html#_helpful_functions? I am 
primarily interested in how get_value is implemented.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users