- Posts: 5712
- Thank you received: 0
Program Reload
Please Log in to join the conversation.
so you can do a EMC_task to reload the g-code
Please Log in to join the conversation.
Norbert
Please Log in to join the conversation.
I don't think I can do what I want. My configuration uses a filter program specified in the INI file to parse the GCode file when it is first loaded. I see that Gmoccapy actually loads a temporary copy of the original GCode file, I tried the following code but it doesn't seem to apply the filter.
Please Log in to join the conversation.
You may be able to use that to create an external reload.
Maybe Norbert could add a way for users to tap into Gmoccapy's event loop to make this easier.
Chris
Please Log in to join the conversation.
This is the code I use in the Key handling.
If you are in auto mode, using 2.8 branch gmoccapy3.0.8 you can use a hal pin for that purpose:
something like this:
Norbert
Please Log in to join the conversation.
Please Log in to join the conversation.
IMHO as long as you do use your cam to save the program under the same name and after that reload the program, the changes will take effect. If you need to pass your program before that through a helper program, you will need to add your own button using python script to load the program with the load command.
Please Log in to join the conversation.
It seems that Gmocappy is a bit out of step here. If filtering is a supported feature of Linuxcnc, the GUI (eg Gmocappy) should respect the feature and reapply any filter on a reload.
The thing is here is that Plasmac is a complete working system for Gmocappy. Plasmac is now part of the LinuxCNC core. The current Gmocappy plasma sim config that is an empty shell containing useless features for a modern plasma controller. and not including required features.
Plasmac deserves full support from the developers of the core LinuxCNC feature set. Its a very significant advance for Linuxcnc as it brings commercial quality control of a new class of machine to Linuxcnc. Furthermore, the way it build configs for new users sets a standard that other developers should adopt.
Please Log in to join the conversation.
No, not a new program, I want to reload the program I selected in the filechooser so the original program passes through the filter program again.newbynobi wrote: OK so you do not want to reload a program, you want to load a new program! That is a big difference.
IMHO as long as you do use your cam to save the program under the same name and after that reload the program, the changes will take effect. If you need to pass your program before that through a helper program, you will need to add your own button using python script to load the program with the load command.
Please Log in to join the conversation.
