Flex Gui preset buttons
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 437
- Thank you received: 184
16 Jul 2025 15:23 #331904
by MaHa
Flex Gui preset buttons was created by MaHa
I have some override preset buttons for feed_percent_ , rapid_percent_, spindle_percent_
I'm still doing simulation.Only on a MDI axis movement or run a program, if one of those buttons pressed, it doesn't release
for about 5 seconds, and the DRO doesn't update for the same period. Otherwise it switches instantly. There is no plotter at the moment.
and more:
_To display 'rotation_xy_lb' (returns float), i am unable to set precision to 3 digits. Depending on calculation, it is filling the label.
_Is there something similar to bool label, but to display a .png? For spindle is on, or spindle at speed and others it would be a good alternative to text.
I'm still doing simulation.Only on a MDI axis movement or run a program, if one of those buttons pressed, it doesn't release
for about 5 seconds, and the DRO doesn't update for the same period. Otherwise it switches instantly. There is no plotter at the moment.
and more:
_To display 'rotation_xy_lb' (returns float), i am unable to set precision to 3 digits. Depending on calculation, it is filling the label.
_Is there something similar to bool label, but to display a .png? For spindle is on, or spindle at speed and others it would be a good alternative to text.
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 437
- Thank you received: 184
17 Jul 2025 10:05 #331937
by MaHa
Replied by MaHa on topic Flex Gui preset buttons
Just to check if i messed op the ui file, i made a new project, just with essential items to start. The behaviour is the same. When a running a program or mdi move, and press a button with feed_percent_, rapid_percent_ ,spindle_percent_ the display stops updating for about 5 seconds. When watching distance to go in hal, this keeps moving.
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 987
- Thank you received: 514
18 Jul 2025 16:32 #331985
by JT
Replied by JT on topic Flex Gui preset buttons
I'll have to add float type status labels to a different dictionary to be able to set the precision.
A display delay is usually the CPU is maxed out and the display is always second to real time.
JT
A display delay is usually the CPU is maxed out and the display is always second to real time.
JT
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 987
- Thank you received: 514
18 Jul 2025 17:02 #331988
by JT
Replied by JT on topic Flex Gui preset buttons
I just added precision to all status labels that return a single float.
JT
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: 437
- Thank you received: 184
02 Aug 2025 14:52 - 02 Aug 2025 19:17 #332674
by MaHa
Replied by MaHa on topic Flex Gui preset buttons
After the last update the formating is fine now.
But the question i have now, about gcode filter. I tried the filter, i am using with axis, but nothing happened.
Is it possible to use a filter and my setup is wrong?
And another problem:
A subroutine for probing is called at program start. To prevent problems with tool not loaded yet and others, i test for #<_task> EQ 0 and return to mainprogram, if 0
But this makes the preview disapear, also after probing is done. until abort or reset the program. only then it comes back.
Is there an alternative probe button for testing? to load 'simulate_probe &' doesn't work anymore
edit:
after testing a dummy filterprogram, its definetely not possible.
About the preview, i commented all probing and stuff, just left the bare nc code. When starting the program, preview disapears, on reset it returns. Program is checked in the settings
But the question i have now, about gcode filter. I tried the filter, i am using with axis, but nothing happened.
Is it possible to use a filter and my setup is wrong?
And another problem:
A subroutine for probing is called at program start. To prevent problems with tool not loaded yet and others, i test for #<_task> EQ 0 and return to mainprogram, if 0
But this makes the preview disapear, also after probing is done. until abort or reset the program. only then it comes back.
Is there an alternative probe button for testing? to load 'simulate_probe &' doesn't work anymore
edit:
after testing a dummy filterprogram, its definetely not possible.
About the preview, i commented all probing and stuff, just left the bare nc code. When starting the program, preview disapears, on reset it returns. Program is checked in the settings
Last edit: 02 Aug 2025 19:17 by MaHa.
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 437
- Thank you received: 184
02 Aug 2025 19:33 - 07 Aug 2025 19:59 #332690
by MaHa
Replied by MaHa on topic Flex Gui preset buttons
Thats what i got so far
Last edit: 07 Aug 2025 19:59 by MaHa. Reason: it needs complete overhaul
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 437
- Thank you received: 184
11 Aug 2025 11:37 #333209
by MaHa
Replied by MaHa on topic Flex Gui preset buttons
Still busy to rebuild and test, another problem occured with gcode containing umlauts. My german cam is not configurable to avoid äöü in comments. The UI crashes(in my sim) when loading a file containing umlauts in comments.
Please Log in or Create an account to join the conversation.
Time to create page: 0.071 seconds