debug messages
21 Mar 2019 23:43 #129232
by andypugh
debug messages was created by andypugh
I am pretty sure that you can't control that without editing the source code.
Which we would be happy to tell you how to do, if you want to go that far.
Which we would be happy to tell you how to do, if you want to go that far.
Please Log in or Create an account to join the conversation.
23 Mar 2019 11:54 - 23 Mar 2019 11:55 #129349
by andypugh
It is the snprintf in line 1359 of interp_conver.tcc
github.com/LinuxCNC/linuxcnc/blob/master...erp_convert.cc#L1359
You would need to change the %lf to a string that defines the decimal places required. (and then recompile LinuxCNC)
Perhaps there are better ways to display the information you want than using the G-code debug comment?
Replied by andypugh on topic debug messages
yes, I will be happy to know how to reduce the decimal places.
It is the snprintf in line 1359 of interp_conver.tcc
github.com/LinuxCNC/linuxcnc/blob/master...erp_convert.cc#L1359
You would need to change the %lf to a string that defines the decimal places required. (and then recompile LinuxCNC)
Perhaps there are better ways to display the information you want than using the G-code debug comment?
Last edit: 23 Mar 2019 11:55 by andypugh.
Please Log in or Create an account to join the conversation.
23 Mar 2019 14:40 #129364
by pl7i92
Replied by pl7i92 on topic debug messages
as you are in AXIS display your message to a pyvcp panel that you got full controll
Please Log in or Create an account to join the conversation.
24 Mar 2019 22:13 #129527
by andypugh
Replied by andypugh on topic debug messages
You might not even have the file if you didn't compile from source.
The Linux "find" command will find it if you did.
The Linux "find" command will find it if you did.
Please Log in or Create an account to join the conversation.
29 Jul 2022 12:35 #248616
by andypugh
This is now possible (in master) using C-style % formatters.
github.com/LinuxCNC/linuxcnc/commit/2698...d5f74f037f3c56b24f74
Replied by andypugh on topic debug messages
someone know how can I display only 3 decimal places in the "debug messages" instead the default 6 decimal places?
This is now possible (in master) using C-style % formatters.
github.com/LinuxCNC/linuxcnc/commit/2698...d5f74f037f3c56b24f74
The following user(s) said Thank You: roland
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19198
- Thank you received: 6434
29 Jul 2022 17:44 #248636
by tommylight
Replied by tommylight on topic debug messages
@Andy,
User banned for spamming.
User banned for spamming.
Please Log in or Create an account to join the conversation.
Time to create page: 0.263 seconds