Am 22.04.2013 um 19:00 schrieb Viesturs Lācis <[email protected]>:

> Hello!
> 
> I am working on a "HAL+Gladevcp only" config and I have 2 issues:
> 1) I have a horizontal scale in gladevcp panel (scale is named "sample")
> and I have linked the scale output in HAL file. But, when I start up the
> config in terminal with "halrun -f [path to my halfile]", I see that it
> reports that such pin does not exist.

see 
http://www.linuxcnc.org/docs/devel/html/gui/gladevcp.html#_widget_and_hal_pin_naming

have a look how the pins are actually named by running

$ halshow.tcl

-m

> If I start the same glade file as a panel in Axis GUI and go to HALShow, it
> reports that gladevcp.sample pin exists and it is there. What am I missing?
> 
> 2) I would like to use classicladder for 10+ counters and some other minor
> stuff; in hal file it looks like this:
> 
> # load the counter.glade GUI and name it counter
> loadusr -Wn counter gladevcp -c counter
> /home/vie/linuxcnc/configs/counter/counter.glade
> 
> # load realtime components
> loadrt threads name1=encoder period1=20000 fp1=0 name2=counter
> period2=1000000
> loadrt hal_parport cfg="0x378 in"
> loadrt classicladder_rt
> 
> 
> # add functions to threads
> addf parport.0.read encoder
> addf parport.0.write encoder
> addf classicladder.0.refresh counter
> 
> # load userspace components
> loadusr classicladder counter.clp
> 
> But in terminal I get this:
> vie@vie:~$ halrun -f /home/vie/linuxcnc/configs/counter/counter.hal
> 
> (gladevcp:1525): libglade-WARNING **: Expected <glade-interface>.  Got
> <interface>.
> 
> (gladevcp:1525): 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: Pin 'gladevcp.sample'
> does not exist
> Traceback (most recent call last):
>  File "/usr/lib/pymodules/python2.6/gladevcp/led.py", line 105, in expose
>    cr.stroke_preserve()
> KeyboardInterrupt
> Shared memory conflict or RT component not loaded!
> ERROR CLASSICLADDER-   Ladder memory allocation error
> vie@vie:~$
> 
> 
> I would appreciate any help in translating the meaning of this error
> message :)
> 
> -- 
> Viesturs
> 
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to