- Posts: 7368
- Thank you received: 2181
geting line number from extending gcode.
- cmorley
- Offline
- Moderator
-
Less
More
7 years 2 months ago #143404
by cmorley
Replied by cmorley on topic geting line number from extending gcode.
There is no universal way to do this. Any highlighting is done by the display screen being used, not by linuxcnc.
You could surely program gladevcp's sourceview widget to search for and highlight whatever you want but it would require custom coding - AXIS would be more difficult.
but gladevcp sourcview does use color coding for gcode and possible you could use that to at least color the gcode differently. I'm sorry I don't have a reference for that - but you might check linuxcnc's wiki or google.
Chris M
You could surely program gladevcp's sourceview widget to search for and highlight whatever you want but it would require custom coding - AXIS would be more difficult.
but gladevcp sourcview does use color coding for gcode and possible you could use that to at least color the gcode differently. I'm sorry I don't have a reference for that - but you might check linuxcnc's wiki or google.
Chris M
Please Log in or Create an account to join the conversation.
- thang
- Offline
- Elite Member
-
Less
More
- Posts: 196
- Thank you received: 11
7 years 2 months ago #143407
by thang
Replied by thang on topic geting line number from extending gcode.
As i know, gladevcp sourceview use "motion_line" in module linuxcnc python interface to get executing line of gcode. And this stat is created somewhere
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
7 years 2 months ago #143409
by cmorley
Replied by cmorley on topic geting line number from extending gcode.
yes linuxcnc's status messages are used in gladevcp, but I don't actually know where it originates from, but possibly motion.
Chris M
Chris M
Please Log in or Create an account to join the conversation.
Time to create page: 0.469 seconds