What widgets are needed in a new version of VCP ?

More
16 Oct 2010 10:34 #4712 by Rick G
Hello Chris,

Chris, that is cool. What I'd like to do for my lathe is have something similar to Deweys ngcgui program in a tab

I agree with John, that would be a asset.

On a lighter note it appears we can only use horizontal bars to display numbers, how about vertical bars?

Rick G

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

More
14 Nov 2010 20:42 - 15 Nov 2010 12:30 #5304 by cmorley
I had a nice wodget mostly done (for gladevcp) then my laptop died ! now i have to find another computer that will accept the drive - or start again.

I should add a vertical bar widget to pyvcp too I guess...

Dang, I hate when that happens...

John
Last edit: 15 Nov 2010 12:30 by BigJohnT.

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

More
29 Nov 2010 05:35 - 29 Nov 2010 05:39 #5712 by psha
Yesterday HBar and VBar widgets were merged to gladevcp master branch


Here is GtkBuilder UI file:

File Attachment:

File Name: bars.txt
File Size:0 KB
Attachments:
Last edit: 29 Nov 2010 05:39 by psha.

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

More
29 Nov 2010 05:37 - 29 Nov 2010 05:38 #5713 by psha
Second screenshot of example bars window

Also are corresponding UI and HAL files
loadusr -Wn bars gladevcp bars.ui

net bars <= bars.hal_hscale1
net bars => bars.hal_hbar1 bars.hal_hbar2 bars.hal_hbar3 bars.hal_hbar4
net bars => bars.hal_vbar1 bars.hal_vbar2 bars.hal_vbar3 bars.hal_vbar4
Attachments:
Last edit: 29 Nov 2010 05:38 by psha.

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

More
29 Nov 2010 05:40 #5714 by psha
Another attemtp to attach UI file :)

File Attachment:

File Name: bars-d018c...4e3d.txt
File Size:13 KB
Attachments:

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

More
29 Nov 2010 10:38 #5717 by Rick G
Cool, just what I was looking for!

Is it possible to have the digital numbers have more than one decimal place?

Rick G

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

More
29 Nov 2010 11:44 #5719 by psha
> Is it possible to have the digital numbers have more than one decimal place?
There is simple str conversion so if there are additional digits they will be displayed

I'll add parameter for format string so you'll be able to choose format you like

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

More
29 Nov 2010 19:10 #5743 by psha
Added arbitrary formatting %.2f, %.03f and 0x%x are used on this screenshot.
Attachments:

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

More
30 Nov 2010 10:49 #5761 by Rick G
That's great, I hope to try the new Vbar this weekend.
I use G92 to set my work location, and I have AXIS set to show relative position. With the Hbar and Vbar I can visually display the machine positions of X Y Z W.

Thanks,

Rick G

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

More
14 Dec 2010 18:35 #6043 by psha
Today was another big merge and there are new widgets: HAL Meter and Graph.
Also there are lot of example configs and config for touchy with gremlin/graphs
More info is in mailing list thread.gmane.org/gmane.linux.distributions.emc.devel/3818
Attachments:

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

Time to create page: 0.842 seconds
Powered by Kunena Forum