FlexGui - hal_io Spinbox
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 467
- Thank you received: 199
29 Oct 2025 23:12 #337422
by MaHa
FlexGui - hal_io Spinbox was created by MaHa
From a postgui hal file are some flexhal pins set at startup, with setp. In halshow the value is set, but the spinbox is not populated with that value. How can i force the spinbox to update?
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 1036
- Thank you received: 538
30 Oct 2025 14:20 - 30 Oct 2025 16:40 #337487
by JT
Replied by JT on topic FlexGui - hal_io Spinbox
I'll have to check that out.
Edit: This will take some thought to have the spinbox updated from the hal pin and the hal pin updated from the spinbox without a fight as to who is in control of the value.
JT
Edit: This will take some thought to have the spinbox updated from the hal pin and the hal pin updated from the spinbox without a fight as to who is in control of the value.
JT
Last edit: 30 Oct 2025 16:40 by JT.
Please Log in or Create an account to join the conversation.
- JT
-
- Away
- Administrator
-
Less
More
- Posts: 1036
- Thank you received: 538
30 Oct 2025 20:23 #337526
by JT
Replied by JT on topic FlexGui - hal_io Spinbox
Looks like I never did finish the HAL I/O but it's finished now and working as expected. If the HAL value changes the widget value or state changes to match and if the widget value or state changes then the HAL pin is updated.
JT
JT
The following user(s) said Thank You: tlightus, tommylight, MaHa
Please Log in or Create an account to join the conversation.
Moderators: JT
Time to create page: 0.100 seconds