Check if a program has been loaded

More
2 years 8 months ago #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 to join the conversation.

More
2 years 8 months ago #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 to join the conversation.

More
2 years 8 months ago #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 to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum