Just a followup on how to get glade files

Hey everyone.

Just a quick email here to show the solution to glade files in axis..

Quick Answer.  Is you need to rename glade files from.
 "yourfilename.glade".     To. "yourfilename.ui"


Here is the full story

First I copied the axis-glade Sim file.

Then copied the glade ini file line (this is just after the display
section. At start of ini file)

 I pasted this into my ini file.


I also copied the "manual input.ui". glade file

Into my config location

Then I tested with the Sim glade file in my configuration and it worked.

So I changed the glade section ini file setting to my file name which was
"turret-test.ui."

And it just worked.

So big thing that I missed is axis needs the glade files to be named.
.ui    Eg.  "yourfilename.ui"


Gmoccapy works for with.    .glade files.




Regards

Andrew

On Sat, Jun 5, 2021, 1:36 PM andrew beck <andrewbeck0...@gmail.com> wrote:

> hey everyone.  I am trying to connect up glade files to axis
>
> I have a working config with gmoccapy
>
> just changing to axis for now
>
> this is working in gmoccapy
>
> #EMBED_TAB_NAME = Turret_test_buttons
> #EMBED_TAB_LOCATION = ntb_preview
> #EMBED_TAB_COMMAND = gladevcp -x {XID} -H turret_test.hal
> turret_test2.glade
>
> and i have these files
>
> turret_test.glade
> turret_test.hal
>
> can anyone help with the syntax to get glade working with axis?  or give
> me a working config that is working.
>
> all the axis/glade examples I have seen use .ui files
>
> for example this is the standard spindle speed stuff that comes with
> pncconf
>
> # add GladeVCP panel as a tab next to Preview/DRO:
> EMBED_TAB_NAME=GladeVCP demo
> EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x
> {XID} -u ./gladevcp/hitcounter.py ./gladevcp/manual-example.ui
>
> none of the examples have .glade files like i use in gmoccapy
>
> regards
>
> Andrew
>

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to