Thanks Andy that works. John Thornton also suggested the same thing on the IRC... Is there a document that describes the possible values for a given attribute returned by the Python interface? The last value in the string of codes returned by Linuxcnc.stat.gcodes is the state of G7/G8. In debugging we saw 0, 70, and 80 as values returned . But we don't really know what (other?) expected values are...are these documented somewhere? -Tom
>> On Sep 13, 2015, at 5:36 PM, andy pugh <[email protected]> wrote: >> >> On 13 September 2015 at 21:47, Tom Easterday <[email protected]> wrote: >> Is there a Hal widget show the active status of a G code? > > It should be possible to create one. The only way to do it that I can > see would be to poll the active g-codes: > http://www.linuxcnc.org/docs/html/config/python-interface.html#_linuxcnc_stat_attributes > > -- > atp > If you can't fix it, you don't own it. > http://www.ifixit.com/Manifesto > > ------------------------------------------------------------------------------ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
