Well, it looks to me like you need to change the name of the component to
something other than 'gladevcp'. I think the panel gets the name 'gladevcp',
so
the tab must have a different name.
Try something like this
EMBED_TAB_NAME=Cycles
EMBED_TAB_COMMAND=halcmd loadusr -Wn cycles gladevcp -c cycles -u
lathehandler.py -x {XID} lathemacro.ui
See also section 3.6 here:
http://www.linuxcnc.org/docs/2.7/html/gui/gladevcp.html#cha:glade-vcp
Moses
On 06/29/2015 09:26 AM, Tom Easterday wrote:
> I should add that with this config:
>
> GLADEVCP = EMCO120p.ui -d
> EMBED_TAB_NAME=Cycles
> EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u
> lathehandler.py -x {XID} lathemacro.ui
>
> I get this message when Axis comes up and while my side panel is there and
> works, the tab is empty:
>
> LINUXCNC - 2.7.0~pre6
> Machine configuration directory is
> '/home/tom/linuxcnc/configs/EMCOturn120p-glade'
> Machine configuration file is 'EMCOturn120pGlade.ini'
> Starting LinuxCNC...
> .
> Found file:./EMCOturn120pGlade.hal
> Found file:./custom.hal
> spindle-vfd: device='/dev/ttyS0', baud=9600, parity='N', bits=8,
> stopbits=2, address=1, enabled=0
> INFO CLASSICLADDER- No ladder GUI requested-Realtime runs till HAL closes.
> Toolerator3000 Firmware Version: Toolerator 3000 version 1.3 Burping Badger
>
> Xlib.protocol.request.QueryExtension
> Xlib.protocol.request.QueryExtension
> Waiting for component 'gladevcp' to become
> ready./home/tom/linuxcnc-dev/bin/gladevcp:185: GtkWarning: GtkSpinButton:
> setting an adjustment with non-zero page size is deprecated
> builder.add_from_file(xmlname)
> Waiting for component 'gladevcp' to become ready.
>
> /home/tom/linuxcnc-dev/bin/gladevcp:185: GtkWarning:
> IA__gtk_radio_button_set_group: assertion `!g_slist_find (group,
> radio_button)' failed
> builder.add_from_file(xmlname)
> HAL: ERROR: duplicate component name 'gladevcp'
> *** GLADE VCP ERROR: Asking for a HAL component using a name that
> already exists.
> /home/tom/linuxcnc-dev/bin/gladevcp:295: GtkWarning:
> gtk_widget_size_allocate(): attempt to allocate widget with width -5 and
> height 15
> gtk.main()
> ------------------------------------------------------------------------------
> Monitor 25 network devices or servers for free with OpManager!
> OpManager is web-based network management software that monitors
> network devices and physical & virtual servers, alerts via email & sms
> for fault. Monitor 25 devices for free with no restriction. Download now
> http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users