Kurt Jacobson
2017-03-27 21:21:57 UTC
Good evening all,
I am trying to get a list of the currently active gcodes using the Python
Interface in LCNC 2.7.8. As long as the interpreter is not executing,
stat.gcodes appears to return the active gcode values as expected. Ex: when
I issue a command via MDI the active gcodes update immediately. However, if
I try runing a program the gcodes update initially but then stop updating
until the program finishes. Ex: G0 and G91 are active. I start a program
and the gcodes initially update to G1 and G90, but will not update for the
remainder of the program, even though the program includes many switches
between G0 / G1 and G90 /G91. None of the other gcodes change either.
Is this expected behavior of stat.gcodes or is this a bug in the Python
Interface, or elsewhere?
I think this might be related to Norbert's issue here:
https://github.com/LinuxCNC/linuxcnc/issues/200
Thanks,
Kurt Jacobson
I am trying to get a list of the currently active gcodes using the Python
Interface in LCNC 2.7.8. As long as the interpreter is not executing,
stat.gcodes appears to return the active gcode values as expected. Ex: when
I issue a command via MDI the active gcodes update immediately. However, if
I try runing a program the gcodes update initially but then stop updating
until the program finishes. Ex: G0 and G91 are active. I start a program
and the gcodes initially update to G1 and G90, but will not update for the
remainder of the program, even though the program includes many switches
between G0 / G1 and G90 /G91. None of the other gcodes change either.
Is this expected behavior of stat.gcodes or is this a bug in the Python
Interface, or elsewhere?
I think this might be related to Norbert's issue here:
https://github.com/LinuxCNC/linuxcnc/issues/200
Thanks,
Kurt Jacobson