read ini values in NGCGUI routine?
09 Apr 2017 18:54 #91091
by cts1085
read ini values in NGCGUI routine? was created 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!
Just curious....
Thanks!
Please Log in or Create an account to join the conversation.
12 Apr 2017 10:42 #91235
by andypugh
Replied by andypugh on 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
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.
12 Apr 2017 12:22 #91240
by cts1085
Replied by cts1085 on topic read ini values in NGCGUI routine?
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.059 seconds