05-23-2024 07:33 PM - edited 05-23-2024 07:35 PM
Hi,
ive never had the need to make a 3 state button. but im up to the challenge
i have code that is used to control digital lines for a product we cycle on and off: count the cycles and enter product info that is traceable etc..
of course my boss saw a user interface that a outside company wanted to charge 500k (that includes hardware)
and asked if mine can look more like theirs. mine is not bad but only adds and removes new units
i would like the button that can do the three states like the image attached (play, pause, and stop). thanks in advance for the suggestions
05-23-2024 07:40 PM
One work around, add a transparent button on top of a image ring and cycle the image as needed based on the button press.
05-23-2024 08:27 PM
You can use a picture ring control.
Tristate Button Control - NI Community
Adding Picture Items to Ring Controls
05-23-2024 09:06 PM
I hope I’m replying to zyong .. the more I think about ur suggestion the more I think it fits. I’ll give it a go . Thanks ..I want to leave the thread open for a day or so to let someone else chime in with ideas.
05-23-2024 09:10 PM
hope I’m replying to zyong .. the more I think about ur suggestion the more I think it fits. I’ll give it a go . Thanks ..I want to leave the thread open for a day or so to let someone else chime in with ideas.
05-23-2024 09:30 PM
Not sure how the three state button would work here. Maybe you should explain. You press play then it goes to stop state, you press stop state then it goes to pause state. What are the transitions between states.
Attached is a clumsy solution, maybe add a defer panel updates before and after to stop the flicker.