read ini values in NGCGUI routine?

More
09 Apr 2017 18:54 #91091 by cts1085
cts1085 created the topic: read ini values in NGCGUI routine?
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!
More
12 Apr 2017 10:42 #91235 by andypugh
andypugh replied the topic: read ini values in NGCGUI routine?
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
More
12 Apr 2017 12:22 #91240 by cts1085
cts1085 replied the topic: read ini values in NGCGUI routine?
Perfect - this is exactly what I was looking for!
Moderators: Rick G
Time to create page: 0.059 seconds
Powered by Kunena Forum