- Posts: 62
- Thank you received: 0
I'd like to ask a question: how can I conveniently switch the ini file?
3 years 1 week ago #283765
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:
Code:
...
[DISPLAY]
DISPLAY = halui
CYCLE_TIME = 0.1000
...
Please Log in to join the conversation.
3 years 1 week ago #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 to join the conversation.
3 years 6 days ago #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.
Please Log in to join the conversation.
3 years 6 days ago #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?
Please Log in to join the conversation.
3 years 5 days ago #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.
Please Log in to join the conversation.
Time to create page: 0.126 seconds
