Check if a program has been loaded
- matasbuk
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
08 Feb 2024 21:46 #292886
by matasbuk
Check if a program has been loaded was created by matasbuk
Hello, is there any way to check and output is a program has been loaded? I am working on a project where linuxcnc is going to be used with some automation and need a signal then a machine is fully set up (homed, on, program loaded, machine is in auto mode) I figured all those, just can't seem to find a way to check if a program has been loaded.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5705
- Thank you received: 2084
08 Feb 2024 22:49 #292889
by phillc54
Replied by phillc54 on topic Check if a program has been loaded
From Python you could possibly use the "file" attribute of linuxcnc.stat:
linuxcnc.org/docs/2.9/html/config/python...xcnc_stat_attributes
linuxcnc.org/docs/2.9/html/config/python...xcnc_stat_attributes
Please Log in or Create an account to join the conversation.
- matasbuk
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
09 Feb 2024 00:09 #292897
by matasbuk
Replied by matasbuk on topic Check if a program has been loaded
Thank you for a suggestion, haven't coded in python, so will definitely be a learning experience, but looking forward to the challenge
Please Log in or Create an account to join the conversation.
Time to create page: 0.050 seconds