How to load halshow from postgui_hal?
- Mr. Technical
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
08 Jul 2014 21:54 #48543
by Mr. Technical
How to load halshow from postgui_hal? was created by Mr. Technical
Hi Guys,
I'm doing some debugging, and I keep having to open and close LCNC. Every time I open it, I need to use the drop-down menu to see the Show HAL Configuration, or halshow. Is there a command that I can enter in my postgui_hal file to do that automatically?
Also, is there a way to load my saved watch lists from there as well?
Finally, is there a way to automatically make the windows 'always on top'?
Thanks,
Mr. Technical
I'm doing some debugging, and I keep having to open and close LCNC. Every time I open it, I need to use the drop-down menu to see the Show HAL Configuration, or halshow. Is there a command that I can enter in my postgui_hal file to do that automatically?
Also, is there a way to load my saved watch lists from there as well?
Finally, is there a way to automatically make the windows 'always on top'?
Thanks,
Mr. Technical
Please Log in or Create an account to join the conversation.
08 Jul 2014 22:16 - 08 Jul 2014 22:17 #48544
by PCW
Replied by PCW on topic How to load halshow from postgui_hal?
It might be a bit easier to just use a halcmd script to do this
that is, when linuxcnc is running, open a a terminal and run:
halcmd -f my_halcmd_script
the script might be something like:
setp something true
show somethingelse
...
that is, when linuxcnc is running, open a a terminal and run:
halcmd -f my_halcmd_script
the script might be something like:
setp something true
show somethingelse
...
Last edit: 08 Jul 2014 22:17 by PCW.
Please Log in or Create an account to join the conversation.
08 Jul 2014 22:33 #48545
by ArcEye
Replied by ArcEye on topic How to load halshow from postgui_hal?
Hi
I take it you are still debugging your component
I wrote this some time ago for just this situation, it displays the values of whatever pins you have selected in a seperate userspace window.
When you shutdown linuxcnc it remains and starts refreshing again when linuxcnc is started again.
www.mgware.co.uk/LinuxCNC/halview.html
You will have to install redis and hiredis plus the Qt3 libs if not already there (details on the page) but might suit if you are doing it a lot.
regards
I take it you are still debugging your component
I wrote this some time ago for just this situation, it displays the values of whatever pins you have selected in a seperate userspace window.
When you shutdown linuxcnc it remains and starts refreshing again when linuxcnc is started again.
www.mgware.co.uk/LinuxCNC/halview.html
You will have to install redis and hiredis plus the Qt3 libs if not already there (details on the page) but might suit if you are doing it a lot.
regards
Please Log in or Create an account to join the conversation.
09 Jul 2014 05:54 #48551
by andypugh
What I do in this situation (and it can be in any HAL file, not just postgui) is toin my hal file near where the pins I want to watch are created.
You can optionally define the position on the screen:
www.linuxcnc.org/docs/devel/html/man/man1/halmeter.1.html
I don't think that you can load halshow in the same way (but would be happy to be proven wrong) but you can launch halscope from the hal file.
Replied by andypugh on topic How to load halshow from postgui_hal?
Every time I open it, I need to use the drop-down menu to see the Show HAL Configuration, or halshow. Is there a command that I can enter in my postgui_hal file to do that automatically?
What I do in this situation (and it can be in any HAL file, not just postgui) is to
loadusr halmeter -s parport.0.pin-10-in
You can optionally define the position on the screen:
www.linuxcnc.org/docs/devel/html/man/man1/halmeter.1.html
I don't think that you can load halshow in the same way (but would be happy to be proven wrong) but you can launch halscope from the hal file.
Please Log in or Create an account to join the conversation.
- Mr. Technical
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
09 Jul 2014 23:15 #48587
by Mr. Technical
Replied by Mr. Technical on topic How to load halshow from postgui_hal?
Thanks Guys,
Those suggestions will work nicely!
Mr. Technical
Those suggestions will work nicely!
Mr. Technical
Please Log in or Create an account to join the conversation.
10 Jul 2014 07:47 #48599
by cmorley
Replied by cmorley on topic How to load halshow from postgui_hal?
try this, you must find the actual path on your computer though:
Chris M
loadusr tclsh /home/chris/emc2-dev/tcl/bin/halshow.tcl
Chris M
The following user(s) said Thank You: MatroskinTom
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds