06-03-2023 03:08 PM
Hello
You can indicate where the problem is here are the following error messages.
"A selector value is used by more than one case. It may be in the middle of a range in one of the cases."
"A Case structure must have a case corresponding to every possible value of the selector. An easy way to fill this requirement is to specify a default case or cases whose selector values include ranges to or from infinity."
Solved! Go to Solution.
06-03-2023 04:12 PM - edited 06-03-2023 04:16 PM
Your outer case structure has two different cases for "HO" and no case for "HP".
(Lot's of things could be greatly simplified. Can you explain the desired behavior for all possibilities? Where does PAM come from? Since your three LEDS are mutually exclusive, all you need is a radio-button indicator.)
06-03-2023 04:13 PM
There are 2 cases as HO, change one of them for HP and you will be fine.