- LinuxCNC
- General LinuxCNC Questions
- I'd like to ask a question: how can I conveniently switch the ini file?
I'd like to ask a question: how can I conveniently switch the ini file?
- MakerYang
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 17
25 Oct 2023 03:12 #283765
by MakerYang
I'd like to ask a question: how can I conveniently switch the ini file? was created by MakerYang
After starting LinuxCNC with the `sudo -u user linuxcnc /opt/xyz/machine.ini` command, how can I switch to the ini at `/opt/xyzbc/machine.ini` without stopping the current LinuxCNC process?
My machine tool configuration files all have the following configuration:
My machine tool configuration files all have the following configuration:
...
[DISPLAY]
DISPLAY = halui
CYCLE_TIME = 0.1000
...
Please Log in or Create an account to join the conversation.
- MakerYang
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 17
25 Oct 2023 03:14 #283766
by MakerYang
Replied by MakerYang on topic I'd like to ask a question: how can I conveniently switch the ini file?
I forgot to mention, I have used the LinuxCNC Python module.
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10780
- Thank you received: 3551
25 Oct 2023 12:46 #283802
by rodw
Replied by rodw on topic I'd like to ask a question: how can I conveniently switch the ini file?
I don't think you can.
You could explore the 5 axis switchkins sims and see how they switch to and from TCP mode and see if you can adapt that.
You could explore the 5 axis switchkins sims and see how they switch to and from TCP mode and see if you can adapt that.
The following user(s) said Thank You: MakerYang
Please Log in or Create an account to join the conversation.
- Aciera
- Away
- Administrator
Less
More
- Posts: 4001
- Thank you received: 1728
25 Oct 2023 13:29 #283805
by Aciera
Replied by Aciera on topic I'd like to ask a question: how can I conveniently switch the ini file?
kinematic switching does not switch the ini file but it is possible to change some ini values through hal pins but some settings are used to load the corresponding components at startup so you cannot change those.
Could you explain what exactly you trying to achieve?
Could you explain what exactly you trying to achieve?
The following user(s) said Thank You: MakerYang
Please Log in or Create an account to join the conversation.
- MakerYang
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 17
26 Oct 2023 07:11 #283847
by MakerYang
Replied by MakerYang on topic I'd like to ask a question: how can I conveniently switch the ini file?
The startup and shutdown of LinuxCNC take some time. I originally planned to change the machine configuration without stopping the LinuxCNC process. I have now abandoned this idea, as it would involve updating and changing many things. Additionally, once the machine configuration is set, the likelihood and frequency of changes won't be that high.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- I'd like to ask a question: how can I conveniently switch the ini file?
Time to create page: 0.056 seconds