On Thu, 17 Jan 2013, Kirk Wallace wrote:

> On Thu, 2013-01-17 at 10:48 -0600, [email protected] wrote:
>> Is it possible to write a standalone app such as
>> http://linuxcnc.org/docs/html/hal/pyvcp_examples.html#_port_tester
>> using gladevcp that will run without linuxcnc
>> All the standalone apps I find in the documentation use pyvcp
>> I am sure this is a ridiculous question but I am just trying to learn
>
> Yes, you can write a stand alone GladeVCP app. The method would be very
> similar to the pyVCP examples. For both methods one needs to have a good
> understanding of HAL. Going through the HAL tutorial might be a good
> place to start.
> http://www.linuxcnc.org/docs/html/hal/basic_hal.html
>
> Once you get comfortable with using a terminal to load modules, set up
> threads, run functions and connect pins to nets. You can look into using
> Glade and GladeVCP's HAL interface to put a face to your HAL back end.
>

So I got a small test app setup and running but 2 questions
1) If I use a hal label all that shows in the app is 0 but a label 
displays the name correctly
2) When I launch the app with "halrun -I -f ptest.hal" I get

(gladevcp:10681): libglade-WARNING **: Expected <glade-interface>.  Got 
<interface>.
(gladevcp:10681): libglade-WARNING **: did not finish in PARSER_FINISH state
**** GLADE VCP INFO:    Not a libglade project, trying to load as a GTK builder 
project

but the app appears to work properly

------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to