Ini File Clarification/Roadmap?

More
01 Nov 2024 15:59 #313606 by fletch
Hi

I'm just trying to clean up the ini file reads for the Manualmatic wrt setting default values & min/max velocities for jogging, overrides & spindle(s) etc.

As an example, since 2.9 some of the spindle options have now moved to a
[SPINDLE_n]
section so various
[DISPLAY]
options have been deprecated.

However, there seems to be some ambiguity between the options that relate to hardware (eg min/max velocities) and those that are solely related to display (eg increment or default velocity). There are also at least some
[DISPLAY]
  options (eg
DEFAULT_SPINDLE_SPEED or DEFAULT_SPINDLE_0_SPEED
that have been deprecated with a reference to the
[SPINDLE_0]
section but the 'new' options do not appear in that section.

Just to add a little more zest, the generated ini files currently create options that do not match the ini file documentation :-)

Is there a roadmap or similar document that can help me understand what options I need to prioritise and should I raise an issue for the missing deprecated options?

 

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

More
03 Nov 2024 01:51 #313690 by tommylight
Would this be better in the "LinuxCNC documents" section?

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

More
03 Nov 2024 09:14 #313702 by Aciera
The underlying problem may be that GUIs handle this differently (ie have not been updated to the new [SPINDLE_n] section) but I'm not sure.

Please raise an issue so it does not get lost.

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

More
03 Nov 2024 11:42 #313709 by JT
Replied by JT on topic Ini File Clarification/Roadmap?
Many of the later GUI's introduced a ton of extra ini settings, the authors of those GUI's should update the docs if they moved from display to spindle. I really don't understand why they didn't use the existing ini entries...

JT

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

More
03 Nov 2024 12:26 - 03 Nov 2024 12:28 #313711 by fletch

Would this be better in the "LinuxCNC documents" section?
 

This is a very sensible suggestion - not sure why I didn't but probably because my question evolved as I wrote it!
Last edit: 03 Nov 2024 12:28 by fletch. Reason: Thought a quick repy would quote...

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

More
03 Nov 2024 12:50 #313715 by fletch

Many of the later GUI's introduced a ton of extra ini settings, the authors of those GUI's should update the docs if they moved from display to spindle. I really don't understand why they didn't use the existing ini entries...

JT
 

There does seem to be a bit of inconsistency, duplication and ambiguity in the ini files used and/or generated by either GUIs or configuration tools - is there available guidance on how to use the in file (or is that something I could try to contribute?).

I am planning to create a separate [MANUALMATIC] section where its ini options take priority over values set elsewhere - perhaps the GUIs should each use their own section and keep [DISPLAY] for purely generic/official display options?

The moving of (say) spindle options to a spindle section makes sense initially but should it also include purely UI options like INCREMENT? I don't really have a view on that, but it depends on what the ini sections are supposed to define. eg. TRAJ has options that apply to both the machine and the UI (eg MAX_LINEAR_VELOCITY) but others that it could be argued only apply to the UI (eg DEFAULT_LINEAR_VELOCITY).

I'm not really qualified to have an opinion on any of the above, hence the question, but would be happy to try to document the views of those who are qualified!

 

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

More
03 Nov 2024 13:43 #313717 by Aciera
I vaguely remembered there being a discussion about this and I just found it. This may explain some of the issues:
github.com/LinuxCNC/linuxcnc/issues/2335
The following user(s) said Thank You: fletch

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

More
03 Nov 2024 14:00 #313718 by fletch

The underlying problem may be that GUIs handle this differently (ie have not been updated to the new [SPINDLE_n] section) but I'm not sure.

Please raise an issue so it does not get lost.
 

I have raised an issue here: github.com/LinuxCNC/linuxcnc/issues/3171
The following user(s) said Thank You: tommylight, Aciera, JT

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

Time to create page: 0.170 seconds
Powered by Kunena Forum