Gscreen - a GTK / Glade / Python based screen

More
18 Aug 2012 06:11 #23379 by cmorley
hmm maybe that don't have the most current version ? or else something is odd
i just did some work on the preference file.
It works for me.... when i erase the file the color defaults to color numbers...
Keep me posted..

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

More
18 Aug 2012 21:18 #23386 by Nick
How we can check if installed version is the most current?

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

More
18 Aug 2012 21:34 #23387 by cmorley
find the program gscreen.py and see if line 48 has import pygst.

That is the most current.

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

More
23 Aug 2012 07:08 #23565 by cmorley
Did you get this to run?

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

More
23 Aug 2012 11:06 - 23 Aug 2012 11:06 #23572 by Nick
Yes thank you. I'm not sure what they did but they have managed the problem.

Now we are thinking of customization Gscreen. :laugh:

Here's the deal: they want to create cnc deck like siemens/fanuc...

First of all they want to get rid of the mouse and use hardware buttons to control gscreen. This buttons should be placed below the monitor and when you press hardware button it should act like you press the button on the screen right above hardware one. So we thought that it will be useful to get hal pins for each button-cell. (see attach)

Probably it'll be easier to get access to them if we pack them not into Vbox -> Hbox but into Notepad -> Hbox then we can get access to active row using something like
notepad -> active page -> Hbox.n-th child
And it will be great if we can export pins something like bottom-line-buttons.0, bottom-line-buttons.1 ... and left-side-buttons.0...


I'll post any news about that.
Attachments:
Last edit: 23 Aug 2012 11:06 by Nick.

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

More
24 Aug 2012 05:47 #23605 by cmorley
Gscreen was built with a touch screen in mind, though a mouse works.
I disable some default mouse control for the graphics display then apply new ones that work better for a touch screen.
Wouldn't a touch screen be easier then adding physical buttons?

Yes the buttons on the bottom and right were heidenhain DRO inspirations which had physical buttons below the graphical label.
It could be possible to add an option to buttons to use a HAL pin to toggle them rather then a HAL pin toggled from them.
This is similar to LED with no HAL pin option I added.
Or you could just have a HAL pin call a method to toggle the button.

Please keep in mind there are many tweaks in the Gscreen branch that are not in master (the branch it is based on).
If the tweaks prove out I will add then to master.
Also the code is messy and organic - I apologize - I'm a hacker more then a programmer. And this is an exploration of concepts.

But yes keep me informed on your work.
BTW if you add a glade file called gscreen.glade in your config folder, gscreen should load it instead of the default glade file.
Might help you try different screens without changing the default one.

Cheers Chris M

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

More
24 Aug 2012 05:51 #23606 by cmorley
The notebook idea sounds interesting ....

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

More
28 Aug 2012 17:00 #23722 by Nick
As of now we've made small glade panel with notebooks that work as I've described.
Now we are thinking of the bes way to integrate it into Gscreen :)

Here are our works out: github.com/cnc-club/hw-buttons .

Almost all code comments are in Russian, hope to translate them later.

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

More
01 Sep 2012 01:47 #23818 by cmorley
I looked at the glade file in GLADE editor. Looks good. (I haven't tried running it)
I'll look at your code changes later...

Chris M

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

More
10 Sep 2012 22:28 #24139 by BigJohnT
I just ordered a touch screen for the BP knee mill conversion... look out gscreen!

John

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

Time to create page: 0.155 seconds
Powered by Kunena Forum