Check if a program has been loaded

More
08 Feb 2024 21:46 #292886 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.

More
08 Feb 2024 22:49 #292889 by phillc54
From Python you could possibly use the "file" attribute of linuxcnc.stat:
linuxcnc.org/docs/2.9/html/config/python...xcnc_stat_attributes
 

Please Log in or Create an account to join the conversation.

More
09 Feb 2024 00:09 #292897 by matasbuk
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.085 seconds
Powered by Kunena Forum