Custom GUI and PyVCP

More
13 Jun 2015 07:36 #59771 by cmorley
Replied by cmorley on topic Custom GUI and PyVCP
pyVCP can only display on the right or as stand alone panels.
tkinker doesn't support the XID protocol fully for embedding IFAIK.

Without some code changes in AXIS, you must use gladeVCP.
Chris M

Please Log in or Create an account to join the conversation.

More
13 Jun 2015 20:11 - 13 Jun 2015 20:26 #59782 by vre
Replied by vre on topic Custom GUI and PyVCP

File Attachment:

File Name: gladevcp_huanyang.zip
File Size:3 KB


I have made a gladevcp panel for huanyang vfd hal component and works very nice.
Thanks John Thornton for his nice gladevcp tutorial.
Attachments:
Last edit: 13 Jun 2015 20:26 by vre.
The following user(s) said Thank You: alan_3301

Please Log in or Create an account to join the conversation.

More
20 Jun 2015 23:21 #60015 by giggler999
Replied by giggler999 on topic Custom GUI and PyVCP
This plugin appears broken in linuxcnc 2.6.8 :blink:


Starting LinuxCNC...
**** GLADE VCP INFO: Not a builder project, trying to load as a lib glade project

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

(gladevcp:4834): libglade-WARNING **: did not finish in PARSER_FINISH state
**** GLADE VCP ERROR: With xml file: huanyang.glade : could not create GladeXML object
<commandline>:0: gladevcp exited without becoming ready
Embeded tab command "halcmd loadusr -Wn gladevcp gladevcp -d -c gladevcp -x 71303832 -u handler.py huanyang.glade" exited with error: 1
TCL error in asynchronous code:

while executing
"163057292callit"
("after" script)
Shutting down and cleaning up LinuxCNC...

Please Log in or Create an account to join the conversation.

More
21 Jun 2015 00:13 #60016 by giggler999
Replied by giggler999 on topic Custom GUI and PyVCP
linuxcnc 2.6.8

#sudo apt-get install glade

#glade


load "huanyang.glade" as LibGlade, then saveas LibGlade (not GDKBuilder), write over same file. Appears to work now.

Please Log in or Create an account to join the conversation.

More
21 Jun 2015 07:48 #60026 by cmorley
Replied by cmorley on topic Custom GUI and PyVCP
interesting what linux distribution are you using?

Please Log in or Create an account to join the conversation.

More
26 Jun 2015 05:39 #60136 by vre
Replied by vre on topic Custom GUI and PyVCP
I have tested gladevcp panel to linuxcnc 2.7 not 2.6

Please Log in or Create an account to join the conversation.

More
06 Jul 2015 12:12 #60461 by cmorley
Replied by cmorley on topic Custom GUI and PyVCP
No I meant what distribution of linux?

Wheezy or Ubuntu?

either way you should be using glade-gtk2 version of the GLADE editor.

Chris M

Please Log in or Create an account to join the conversation.

Time to create page: 0.108 seconds
Powered by Kunena Forum