Multi State Indicator Control

How can I operate a multi state indicator using three different discrete signals, one for each state?

Create 4 dynamic properties, discrete1, discrete2, discrete3, and status.

Bind the 3 discrete properties to whatever signals you wish to use

then make an expression binding on status, like so

if(discrete1,1,if(discrete2,2,if(discrete3,3,0)))

Got it. Thanks.

You can also use the expression function binEnum() in place of nested if statements.

ie:

binEnum(0, false, 15, 0, 23)…returns 3 (the index of the 15 - any non-zero number is “true”)