vismach gui not refreshing

More
14 Jan 2012 15:15 #16765 by dab77
Hi all, i wrote my vismach gui, but it doesn't refresh.
I've net the pins, and checked netting works.
As I start emc2 the window with the picture is drawn, and line points net to hal_pins are drawn at 0, of course.
But then on hal-pins changing drawing doesn't change.

Do you know why?

File Attachment:

File Name: tvm.zip
File Size:1 KB


Thanks, Davide.
Attachments:

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

More
16 Jan 2012 23:11 - 16 Jan 2012 23:13 #16830 by dab77
I've token a part of code from max5gui.py as an example.
now i've got this working:


Walls and position of object are set by hal_pin

Ciao, Davide.
Attachments:
Last edit: 16 Jan 2012 23:13 by dab77.

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

More
14 Jul 2017 18:29 #95798 by Hobietime
Hello Davide.

I am trying to do something similar, but I do not see how to change the size of the lines with halrotate() or haltranslate(). Did you add a scale function?

Caio

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

More
17 Jul 2017 12:04 #95883 by dab77
Hi, a lot of time has passed. I can't remember what i did and cannot easily find the files i used. I'm sorry. Wish can help you as soon as i can.

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

More
17 Jul 2017 16:13 #95918 by Hobietime
No problem. The python interface looks quite easy to extend, just wanted to make sure I wasn't needlessly starting from scratch.

Caio

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

More
17 Jul 2017 17:11 #95931 by jstoquica
Hi,

Try to compare with operational GUI (python) configuration files. Some HAL connection may be without properly variable or function.

Regards.

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

Time to create page: 0.072 seconds
Powered by Kunena Forum