How to read the RS274NGC_STARTUP_CODE from python?

More
5 years 7 months ago #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 to join the conversation.

More
5 years 7 months ago #200896 by cmorley
yes - this should do it:

start_codes = INFO.INI.find('RS274NGC', 'RS274NGC_STARTUP_CODE')

Please Log in to join the conversation.

More
5 years 7 months ago #200931 by turbostew
Thanks,
Worked Great!

Please Log in to join the conversation.

Time to create page: 0.333 seconds
Powered by Kunena Forum