hazzy - Another touchscreen GUI

More
21 Mar 2018 14:32 - 21 Mar 2018 14:32 #107664 by TurBoss
some pics



Attachments:
Last edit: 21 Mar 2018 14:32 by TurBoss.
The following user(s) said Thank You: tommylight
More
21 Mar 2018 14:56 #107666 by tommylight
Looks nice!
Thank you.
More
07 Aug 2018 05:46 #115725 by jo_key
Hi for all!
I have a question for the developer and users of the perfect GUI hazzy.
I use hazzy-legacy and I ran into such a problem.
When I execute the MDI command (DEBUG, #5400), I get the value (for this command is 0.000)
log:
[HAZZY][INFO] Issuing MDI command: (DEBUG, #5400) (hazzy.py:1798)
[HAZZY][INFO] 0.000000 (hazzy.py:620)

But I execute the MDI command (DEBUG, #<_INI[TRAJ]AXES>) I get a symbol ####
log:
[HAZZY][INFO] Issuing MDI command: (DEBUG, #<_INI[TRAJ]AXES>) (hazzy.py:1798)
[HAZZY][INFO] ###### (hazzy.py:620)

Tell me what the problem may be. I can not understand where to look for it. In the interface AXIS this problem is absent
Thanks in advance for the answer.
Sorry for bad English
The following user(s) said Thank You: kcj
More
07 Aug 2018 06:10 #115727 by kcj
Replied by kcj on topic hazzy - Another touchscreen GUI
Hello, glad to hear your are using and enjoying hazzy!

I don't think that is a hazzy related problem (though there are many :)). A return value of ###### for a variable generally means that that variable is not defined. Most likely you have not enabled the read from INI feature in your config file.

In the [RS274NGC] section of your INI file add FEATURES = 4, and see if that helps.

[RS274NGC]
FEATURES = 4

Cheers,
Kurt
The following user(s) said Thank You: jo_key
More
07 Aug 2018 06:17 #115728 by jo_key
Also for hazzy-legacy i suggest in section
def on_redraw_clicked(self, widget, data=None):
self.gremlin.expose()
#self.gremlin.load()
Uncomment self.gremlin.load()
and section
def on_opskip_pressed(self, widget, data= None):
if self.stat.block_delete == 0:
self.command.set_block_delete(1)
log.debug("Setting opskip ON")
else:
self.command.set_block_delete(0)
log.debug("Setting opskip OFF")

replace on

def on_opskip_pressed(self, widget, data= None):
if self.stat.block_delete == 0:
self.command.set_block_delete(1)
self.on_redraw_clicked(self)
log.debug("Setting opskip ON")
else:
self.command.set_block_delete(0)
self.on_redraw_clicked(self)
log.debug("Setting opskip OFF")

The gremlin will be automaticly redraw preview
The following user(s) said Thank You: kcj
More
07 Aug 2018 06:39 #115729 by jo_key

kcj wrote: Hello, glad to hear your are using and enjoying hazzy!

I don't think that is a hazzy related problem (though there are many :)). A return value of ###### for a variable generally means that that variable is not defined. Most likely you have not enabled the read from INI feature in your config file.

In the [RS274NGC] section of your INI file add FEATURES = 4, and see if that helps.

[RS274NGC]
FEATURES = 4

Cheers,
Kurt


This is a miracle )))
But I don't get value, when i execute (debug, #<_hal[motion-controller.time]>)
Tell me please, where can I read about this [RS274NGC]FEATURES
The following user(s) said Thank You: Mike_Eitel
More
07 Aug 2018 06:42 #115730 by jo_key
[RS274NGC]
FEATURES = 12

He asked himself, answered himself ))
The following user(s) said Thank You: kcj
More
07 Aug 2018 10:55 #115737 by andypugh
FEATURES is documented in approximately the least obvious place.

linuxcnc.org/docs/2.7/html/remap/remap.h...i_file_configuration
The following user(s) said Thank You: jo_key, kcj
More
07 Aug 2018 14:06 #115746 by kcj
Replied by kcj on topic hazzy - Another touchscreen GUI
Thank you for the suggested code improvements. I am no longer developing either the Gtk2 or Gtk3 versions of hazzy, but I will gladly accept a pull request with your changed to the the hazzy legacy branch!

I do have a new and improved version of hazzy legacy in the works, using Qt instead of Gtk. It will be much more full featured, and have many improvements such as the window being resizable etc, but the look and feel will be similar.

Cheers,
Kurt
The following user(s) said Thank You: jo_key
Time to create page: 0.130 seconds
Powered by Kunena Forum