- Posts: 508
- Thank you received: 94
GScreen and some understanding gap of hal-widgets
I finally got a working setup for gscreen and glade and I'm on the way to build my ideas.
Primary goal is to create a UI, which allows me to recognize machine state from the distance (3-5m), so I use bigger font sizes and colors to separate different meanings.
The small notebooktabs are to ease my work. They will be hidden in later version - and I switch tabs by external signals.
.
.
What I don't like at all are the override controls.
I would like to use a progressbar instead - but as soon as I enable different coloring, I get some errors like:
... and here is a view with the position notebook flipped to absolute positions:
.
.
In my ini-file I've set LINEAR_UNITS to mm in section [TRAJ] but the dro widgets seem to not care about that setting. How can I get the dro to use mm-templates?
Please Log in or Create an account to join the conversation.
Das Traj ist nur für die maschine Gscreen hat unter Einrichten eine eigene UNIT angabe für den DRO
die bar ist ein bug
welche version und welches os hast du denn installiert sollte in 2.8master gefixt sein
Please Log in or Create an account to join the conversation.
[widget name].set_property("display_units_mm",True)
linuxcnc.org/docs/devel/html/gui/gladevc...#gladevcp:dro_widget
I'll have to look into the progress bar problem can you give any more information?
Chris M
Please Log in or Create an account to join the conversation.
Servus! - Schön jemand in der Nähe zu wissen
Ja, dumm von mir anzunehmen, dass der Designer das auslesen würdeDas Traj ist nur für die maschine Gscreen hat unter Einrichten eine eigene UNIT angabe für den DRO
Ich denke, wir sollten auf English weiter schreiben.
I use debian stable and 2.9 master of linuxcncwelche version und welches os hast du denn installiert sollte in 2.8master gefixt sein
The dro property prompt is a bit misleading (at least it was to me):You can set the display type in the GLADE editor or the python handler file
[widget name].set_property("display_units_mm",True)
I understood "Display Units" in the sense of "should units be shown together with the numbers" and selected "no".
May be, you'd like to change togglebuttons text to "metric/imperial" or - in case the togglebutton can display yes/no only, change the prompt to "use metric units".
In the middle of the two pictures I placed the terminal output.I'll have to look into the progress bar problem can you give any more information?
What else can I tell you?
Just removed an override widget and added a hal_progressbar. I would like a progressbar like the one from the first pictures from your gladevcp docs.
I started with the tester template and use the silverdragon as a guide to where I want to go to.
I have no idea of python and on any mistake linuxcnc crashes or denies to start ...
Most of the times there's no message that leads to the problem, so its very hard to progress.
So I started to read the widget source files ...
Don't know, whether I got it right.
The method position(self) of drowidget looks quite expensive to me.
I have 15 dro widgets in my screenset, which means, that there are 15 threads running the same periodic method of the dro widget class (or even worse: one thread that runs 15 instances of dro widgets periodic method).
periodic method uses position method as well as several convert_units, which will be expensive too.
Am I wrong - or does that place offer a plenitude of improvements?
Actually when I start the designer, I get these errors
Another issue:
I have two instances of gtksourceview - one small one, readonly, side by side with the gremlin and the other one (editable) taking the whole screen width. I'd like to increase the fontsize of the editable instance ...
The problem now is, that both get the same file loaded, but have a different buffer, so any edit changes will not be seen in the readonly gtksourceview aside the gremlin.
I tried a handler line like this:
... and on keypress, the terminal shows these errors on any keypress (in verbose debugging mode):
Please Log in or Create an account to join the conversation.
None of both EMC_SourceView shows the file content any more
Please Log in or Create an account to join the conversation.
it is the 2.9 and this is the bugs one
i even can get my Gmocapy to work on that as it does not home the joints
there are allot of changes going on
and all is at least for me quite buggy
i stay with 2.7.14 on a real machine as the main advice
Please Log in or Create an account to join the conversation.