How to read the RS274NGC_STARTUP_CODE from python?

More
02 Mar 2021 20:51 #200820 by turbostew
Using QtDragon and I wish to reload my RS274NGC_STARTUP_CODE every time I load/reload a gcode program. Can i read RS274NGC_STARTUP_CODE from qtDragon_handler?

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

More
03 Mar 2021 12:38 - 03 Mar 2021 12:38 #200896 by cmorley
yes - this should do it:

start_codes = INFO.INI.find('RS274NGC', 'RS274NGC_STARTUP_CODE')
Last edit: 03 Mar 2021 12:38 by cmorley.

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

More
03 Mar 2021 19:47 #200931 by turbostew
Thanks,
Worked Great!

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

Moderators: cmorley
Time to create page: 0.077 seconds
Powered by Kunena Forum