This simple example shows how to use a mbbo and a seq to select which value will be set to a PV.
EPICS base built.
To test this example, you can start the ioc using this command:
$EPICS_BIN/softIocPVA -d example0.cmdAnd then on a different terminal with , you can do like that:
$EPICS_BIN/caput CHOOSE 1
$EPICS_BIN/caget RESULT
# you should get the value 2