read ini values in NGCGUI routine?

More
09 Apr 2017 18:54 #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 or Create an account to join the conversation.

More
12 Apr 2017 10:42 #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
The following user(s) said Thank You: cts1085

Please Log in or Create an account to join the conversation.

More
12 Apr 2017 12:22 #91240 by cts1085
Perfect - this is exactly what I was looking for!

Please Log in or Create an account to join the conversation.

Time to create page: 0.064 seconds
Powered by Kunena Forum