hey all,
I have a problem on how to implement two dependent boolean buttons.
my instrument application has two buttons:
one is an on/off button which I implement as text i.e it shows on all the time for true values and off for false value. it is a switch button and every press change the state and remain in that condition till the next switch.
my second button is an emergency button - he works as latch button and every press shut down the insturemnt immediatly - it is equivalent to the off state of the first buttons.
both buttons work indepently - but I want them to work dependtly so that when the emergency button will also change the on \ off state on the front pannel. I elaborate, at the moment I have the following when pressed (Action - Result)
POWER ON SWITCH - text button shows power on and the the instrument is on.
Emergency is latch - Instrument is off but the POWER TEXT BUTTON STILL SHOW ON.
I want the later to both turn the instrument off and to change the button text on the front pannel.
is this possible?