2013/4/23 John Kasunich <[email protected]>
>
>
> "halcmd show" will show pin names as well.  You can also
> use halcmd in interactive mode;  type "halcmd -f" at the
> shell prompt, and halcmd will display a "halcmd: " prompt.
> You can then use commands like "show pin", complete
> with wildcards, tab completion, and all the goodies.
>

I already found halcmd man page and tried also "halcmd show pin" command.
Here is what I get in terminal:

vie@vie:~$ halrun -f /home/vie/linuxcnc/configs/counter/counter.hal

(gladevcp:1516): libglade-WARNING **: Expected <glade-interface>.  Got
<interface>.

(gladevcp:1516): libglade-WARNING **: did not finish in PARSER_FINISH state
**** GLADE VCP INFO:    Not a libglade project, trying to load as a GTK
builder project
/home/vie/linuxcnc/configs/counter/counter.hal:21: parameter or pin
'gladevcp.length' not found
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/gladevcp/led.py", line 105, in expose
    cr.stroke_preserve()
KeyboardInterrupt

vie@vie:~$ halcmd show pin
RTAPI: ERROR: could not open shared memory (errno=2)
Segmentation fault
vie@vie:~$


At first I started the HAL+Glade. The output shows that the meter widget
pin also is not found.
But the glade panel shows up and everything else seems fine.
Then, with glade panel open, I ran the second command of halcmd and
received segmentation fault error.

I would appreciate any hints, why are the glade panel pins not found, when
they are linked in HAL file and what does the segmentation fault mean.
I am running LinuxCNC in VirtualBox, if that is important. I would gladly
do whatever tests required to help identify the cause.

-- 
Viesturs

If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to