- Posts: 34
- Thank you received: 0
Check if a program has been loaded
2 years 8 months ago #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 to join the conversation.
2 years 8 months ago #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 to join the conversation.
2 years 8 months ago #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 to join the conversation.
Time to create page: 0.078 seconds
