- Posts: 140
- Thank you received: 0
Ini File Clarification/Roadmap?
1 year 11 months ago #313606
by fletch
Ini File Clarification/Roadmap? was created 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
section so various
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
options (eg
that have been deprecated with a reference to the
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?
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
Code:
[SPINDLE_n]
Code:
[DISPLAY]
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
Code:
[DISPLAY]
Code:
DEFAULT_SPINDLE_SPEED or DEFAULT_SPINDLE_0_SPEED
Code:
[SPINDLE_0]
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 to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
1 year 11 months ago #313690
by tommylight
Replied by tommylight on topic Ini File Clarification/Roadmap?
Would this be better in the "LinuxCNC documents" section?
Please Log in to join the conversation.
1 year 11 months ago #313702
by Aciera
Replied by Aciera on topic Ini File Clarification/Roadmap?
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 raise an issue so it does not get lost.
Please Log in to join the conversation.
1 year 11 months ago #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
JT
Please Log in to join the conversation.
1 year 11 months ago #313711
by fletch
Replied by fletch on topic Ini File Clarification/Roadmap?
This is a very sensible suggestion - not sure why I didn't but probably because my question evolved as I wrote it!Would this be better in the "LinuxCNC documents" section?
Please Log in to join the conversation.
1 year 11 months ago #313715
by fletch
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!
Replied by fletch on topic Ini File Clarification/Roadmap?
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?).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
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 to join the conversation.
1 year 11 months ago #313717
by Aciera
Replied by Aciera on topic Ini File Clarification/Roadmap?
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
github.com/LinuxCNC/linuxcnc/issues/2335
Please Log in to join the conversation.
1 year 11 months ago #313718
by fletch
Replied by fletch on topic Ini File Clarification/Roadmap?
I have raised an issue here: github.com/LinuxCNC/linuxcnc/issues/3171The 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 to join the conversation.
1 year 9 months ago #318123
by HansU
Replied by HansU on topic Ini File Clarification/Roadmap?
See also this one:
github.com/LinuxCNC/linuxcnc/issues/3238
Please Log in to join the conversation.
Time to create page: 0.091 seconds
