I'm trying to figure out some weird behavior I'm seeing in one of my programs. This should be fairly straightforward - except that it's not working. I have an INT named ValveState which is used for controlling 14 pneumatic valves (controlled by booleans named Valve1-Valve14). I'm attaching a snapshot of the rung for controlling one of the valves, Valve6. Note that in the picture ValveState is 5, which *should* be triggering the last path for setting Valve6 to true. And yet Valve6 is false. When ValveState initially becomes 5, it does correctly trigger Valve6 to become true - but then it immediately resets to false. But Valve6 is not being written anywhere else in the program (it is being read in one other rung, in which a digital output is assigned the value of Valve6). I am seeing this behavior with all 14 valves - they will only be briefly set to true when a condition is met, but then immediately revert to false. I feel like there must be something obvious I'm overlooking, but I can't figure out what. Thank you!




