I'm controlling 16 relays over a serial connection and would like a GUI component to allow individually override each relay for diagnostics. But I can not find a three-state-switch-array GUI component. In fact there doesn't even seem to be a single three state switch. I would like to avoid manually placing and configuring 32 "on/off + "override". What is the best way? Make and place 32 buttons by code? Use the Table component and monitor clicks inside it?
Last edit: magnusstril 2021-01-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm controlling 16 relays over a serial connection and would like a GUI component to allow individually override each relay for diagnostics. But I can not find a three-state-switch-array GUI component. In fact there doesn't even seem to be a single three state switch. I would like to avoid manually placing and configuring 32 "on/off + "override". What is the best way? Make and place 32 buttons by code? Use the Table component and monitor clicks inside it?
Last edit: magnusstril 2021-01-23