- Posts: 60
- Thank you received: 0
Remap info
I hope this is the right place to post this.
I have got my glade panel working to a point I like, now I'm working on a remap function that kinda works, it displays a message window, imported from my glade vcp python file when running, it says please insert tool X, what I would also like to put there is the description of the tool from the tool table if possible, but I am struggling to find information on what functions etc I can call to received different information etc.
Thanks for any information etc
Will
Please Log in to join the conversation.
You will find the way to get all tool info for all tools
Please Log in to join the conversation.
My issue i have had is in the remapped m code not receiving this information but I will see what I can achieve if anything.
Please Log in to join the conversation.
Why not doing all the remap in python, that way you do not have that limitations.
Norbert
Please Log in to join the conversation.
I am trying to do it all in python only but the window I have created that pops up for my error/information messages is a class of it's own and is unable to pull the data from the tool table like in the handler class I have created for my glade vcp panel.
I might be missing some bits somewhere to link everything properly and make it work but thought I would ask here to see if there is an easy way to achieve this or ignite the spark in my head for what I need to do/use.
Will keep looking at source code and trying things to see if I can make it work.
Thanks again so far.
Please Log in to join the conversation.
Willheg wrote: I had looked into the built in pre-python part but it errored out all the time when I try to load it on a remapped M code
I am trying to do it all in python only but the window I have created that pops up for my error/information messages is a class of it's own and is unable to pull the data from the tool table like in the handler class I have created for my glade vcp panel.
I might be missing some bits somewhere to link everything properly and make it work but thought I would ask here to see if there is an easy way to achieve this or ignite the spark in my head for what I need to do/use.
Will keep looking at source code and trying things to see if I can make it work.
Thanks again so far.
The tooltable is a file. In python, open the file and read what you want.
Please Log in to join the conversation.
If I run my new remap in mdi mode its sweet as.
If I load a program it screws with things i.e.
Before I hit the run button it cycles thought all the tools asking to insert each one when loading the preview I think, then when I hit the run program button it wants to load the second tool/next tool before it has even run the path, if anyone has any insite here before I can put my finger on the issue or find what I'm looking for, could you please enlighten me or point me in the right direction.
Thanks
So some more digging and investigation to be done and then hopefully clean up the code and files that I have all over the place.
It has been a hole lot of fun and I dont think I'll ever be finished anytime soon, but every little hurdle jumped to get this thing where I would like is a succes in my book.
Well off to bed again and back at it soon after some thinking and digging.
Please Log in to join the conversation.
Norbert
Please Log in to join the conversation.
Like 2 mins after I posted my last post I stumbled across a post saying something about this, so I tried and that fixed that part, now I just need to work out how to stop it happening when running a program as now it just runs though all the tools on the first tool change, but I'm sure with some more searching and code reading I'll work out what is required.
Cheers again
Please Log in to join the conversation.
My only thing hear is if it is that is to work out what i need to do to stop this before it gets there.
Still having fun and learning all the time.
I do love challenges, makes the outcome if you get it so much sweeter.
Thanks again to anyone reading and trying to help out.
Please Log in to join the conversation.
