Flex Gui I/O Widgets
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 454
- Thank you received: 192
02 Sep 2025 08:26 #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 or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 1017
- Thank you received: 524
02 Sep 2025 14:27 #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 or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 1017
- Thank you received: 524
02 Sep 2025 18:58 #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
The following user(s) said Thank You: MaHa
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 454
- Thank you received: 192
03 Sep 2025 20:11 #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 or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 1017
- Thank you received: 524
04 Sep 2025 15:38 - 04 Sep 2025 15:38 #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
Last edit: 04 Sep 2025 15:38 by JT.
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 454
- Thank you received: 192
04 Sep 2025 19:00 #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:
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
The following user(s) said Thank You: JT
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 1017
- Thank you received: 524
04 Sep 2025 20:09 #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:
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 or Create an account to join the conversation.
Time to create page: 0.066 seconds