Flex Gui I/O Widgets

More
1 year 1 month ago #334255 by MaHa
Flex Gui I/O Widgets was created by MaHa
My machine has mpg wheels to control feed and spindle, halui.feed-override.counts and halui.spindle.0.override.counts
Is there a way, to make the sliders follow the adjustement with mpg wheel?

Please Log in to join the conversation.

More
1 year 1 month ago #334271 by JT
Replied by JT on topic Flex Gui I/O Widgets

My machine has mpg wheels to control feed and spindle, halui.feed-override.counts and halui.spindle.0.override.counts
Is there a way, to make the sliders follow the adjustement with mpg wheel?
 
How do you have both the slider and the mpg connected to halui?

JT

Please Log in to join the conversation.

More
1 year 1 month ago #334290 by JT
Replied by JT on topic Flex Gui I/O Widgets

My machine has mpg wheels to control feed and spindle, halui.feed-override.counts and halui.spindle.0.override.counts
Is there a way, to make the sliders follow the adjustement with mpg wheel?
 
You can use a HAL_IO slider and the slider position is updated when the count changes. Note a QSlider is an integer only widget.
You will need a fresh copy of Flex GUI as I just fixed that a HAL_IO QSlider didn't get updated when the value changed.
gnipsel.com/linuxcnc/flexgui/hal.html#hal-i-o

JT

Please Log in to join the conversation.

More
1 year 1 month ago #334370 by MaHa
Replied by MaHa on topic Flex Gui I/O Widgets
Today, after updates, i am not able to start any flexgui ui .  Error: No module named 'psutil'

Please Log in to join the conversation.

More
1 year 1 month ago #334407 by JT
Replied by JT on topic Flex Gui I/O Widgets

Today, after updates, i am not able to start any flexgui ui .  Error: No module named 'psutil'
 
The module psutil was removed 5 days ago.

Can you post the complete error?

How did you update?

JT

Please Log in to join the conversation.

More
1 year 1 month ago #334428 by MaHa
Replied by MaHa on topic Flex Gui I/O Widgets
After another update one error solved, and next error occured. I modified ini settings, moved css entry  and dro_font_size to [flexgui], but my ui and the examples are not starting:

Code:
Traceback (most recent call last):   File "/usr/bin/flexgui", line 341, in <module>     window = flexgui()              ^^^^^^^^^   File "/usr/bin/flexgui", line 245, in __init__     startup.setup_plot(self)   File "/usr/lib/python3/dist-packages/libflexgui/startup.py", line 2169, in setup_plot     dro_font = self.inifile.find('FLEXGUI', 'DRO_FONT_SIZE') or '12'                ^^^^ NameError: name 'self' is not defined
 

Please Log in to join the conversation.

More
1 year 1 month ago #334436 by JT
Replied by JT on topic Flex Gui I/O Widgets

After another update one error solved, and next error occured. I modified ini settings, moved css entry  and dro_font_size to [flexgui], but my ui and the examples are not starting:


Code:
Traceback (most recent call last):   File "/usr/bin/flexgui", line 341, in <module>     window = flexgui()              ^^^^^^^^^   File "/usr/bin/flexgui", line 245, in __init__     startup.setup_plot(self)   File "/usr/lib/python3/dist-packages/libflexgui/startup.py", line 2169, in setup_plot     dro_font = self.inifile.find('FLEXGUI', 'DRO_FONT_SIZE') or '12'                ^^^^ NameError: name 'self' is not defined  
 
Sorry about the copy and paste error, I've fixed that. And thanks for posting the complete error it makes it easy to fix.

JT

Please Log in to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum