halviewer, go or no go?

More
1 year 10 months ago #317402 by lkavan
Replied by lkavan on topic halviewer, go or no go?
Hallo friend,
nice project! I need to make something similar in C++, but I don't know how to get full tree of all HAL components, pins, etc. I have tried to analyse halshow.tcl script, but I am not able to understand it and transfer it to Qt C++
Can you help me how to do this?
Thanx a lot!

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

More
1 year 10 months ago #317497 by Grotius
Replied by Grotius on topic halviewer, go or no go?
Hi Ikavan,

looking into the .tlc files is certainly not the way to go.
You can look at the halcmd source. Halcmd is a program that can make a list of components, pins, params etc.

To build halcmd you can look at repositories on github.  github.com/grotius-cnc/linuxcnc/tree/master/cmake
Then from there you can create a qt app.
 
The following user(s) said Thank You: lkavan

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

More
1 year 9 months ago #319909 by lkavan
Replied by lkavan on topic halviewer, go or no go?
Hi Grotius,
thanx for your help. I have checked halcmd source and I have found what I have looked for. HAL reading works!

 

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

Time to create page: 0.134 seconds
Powered by Kunena Forum