- Posts: 541
- Thank you received: 0
Flex Gui I/O Widgets
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?
Is there a way, to make the sliders follow the adjustement with mpg wheel?
Please Log in to join the conversation.
1 year 1 month ago #334271
by JT
JT
Replied by JT on topic Flex Gui I/O Widgets
How do you have both the slider and the mpg connected to halui?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?
JT
Please Log in to join the conversation.
1 year 1 month ago #334290
by JT
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
Replied by JT on topic Flex Gui I/O Widgets
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.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 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.
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.
1 year 1 month ago #334407
by JT
The module psutil was removed 5 days ago.
Can you post the complete error?
How did you update?
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.
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.
1 year 1 month ago #334436
by JT
JT
Replied by JT on topic Flex Gui I/O Widgets
Sorry about the copy and paste error, I've fixed that. And thanks for posting the complete error it makes it easy to fix.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
JT
Please Log in to join the conversation.
Time to create page: 0.091 seconds
