read ini values in NGCGUI routine?

More
9 years 6 months ago #91091 by cts1085
Is there a way for code written to run inside of NGCGUI to read from the main ini file? for example: [X_Axis]HOME_OFFSET and pass that to a variable?

Just curious....
Thanks!

Please Log in to join the conversation.

More
9 years 6 months ago #91235 by andypugh
You can read INI variables from G-code, so I think this should be possible (as a hand-written part).

linuxcnc.org/docs/2.7/html/remap/remap.h...i_file_configuration

Please Log in to join the conversation.

More
9 years 6 months ago #91240 by cts1085
Perfect - this is exactly what I was looking for!

Please Log in to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum