debug messages

More
7 years 7 months ago #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.

Please Log in to join the conversation.

More
7 years 7 months ago #129349 by andypugh
Replied by andypugh on topic debug messages

sdf wrote: 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?

Please Log in to join the conversation.

More
7 years 7 months ago #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 to join the conversation.

More
7 years 7 months ago #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.

Please Log in to join the conversation.

More
4 years 3 months ago #248616 by andypugh
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

Please Log in to join the conversation.

More
4 years 3 months ago #248636 by tommylight
Replied by tommylight on topic debug messages
@Andy,
User banned for spamming.

Please Log in to join the conversation.

Time to create page: 0.164 seconds
Powered by Kunena Forum