vismach gui not refreshing

More
14 years 9 months ago #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?

Attachment tvm.zip not found



Thanks, Davide.

Please Log in to join the conversation.

More
14 years 9 months ago #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.

Please Log in to join the conversation.

More
9 years 3 months ago #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 to join the conversation.

More
9 years 3 months ago #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 to join the conversation.

More
9 years 3 months ago #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 to join the conversation.

More
9 years 3 months ago #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 to join the conversation.

Time to create page: 0.089 seconds
Powered by Kunena Forum