When Andy added the spindle section and code, he added the deprecated warnings. He didn't communicate to the GUI maintainers that this was done or why - maybe he forgot. Either way as Hans mentioned the GUI can further limit the manual controlled limits of the spindle. So you can limit the manual controlled speed differently from the auto mode speed. I could certainly see an argument for defaulting to the spindle section if the display section is missing.
Chris ________________________________ From: Bertho Stultiens <[email protected]> Sent: April 7, 2026 9:06 AM To: [email protected] <[email protected]> Subject: Re: [Emc-developers] INI file variable names and sections On 3/30/26 3:21 AM, Chris Morley wrote: > Thanks. python/common/iniinfo.py uses configparser for reading MDI > commands, as an example of the needed behavior. There are some questions here about iniinfo.py (and qt_istat.py). In lines 369..396 of lib/python/common/iniinfo.py there are queries about the spindle(s) reading ini-values from the [DISPLAY] section in form (with n replaced by the spindle number being processed): - DEFAULT_SPINDLE_n_SPEED - MIN_SPINDLE_n_SPEED - MAX_SPINDLE_n_SPEED (equivalent also found in qt_istat.py) These and more spindle ini entries seem to be deprecated in the docs (docs/src/config/ini-config.adoc), but there is no alternative implemented in the IStat class. It is supposed to use values in [SPINDLE_n] sections according to the docs. The values in the [DISPLAY] section are not read by the emc/ini/inispindle.cc file. This looks like a disparity and confusion between UIs and LinuxCNC internals. -- Greetings Bertho (disclaimers are disclaimed) _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
