Your VI works exactly according to what you have programmed.
There my question: What did you expect to see?
I see (when setting Plane of Motion="X" and X-Direction=False) the output U32 toggling between 0 and 2. The U32 output toggles between 0 and 3 on X-Direction=True.
Maybe you do not "see" how your vi works because there is no indicator connected to the numeric value which is handled in the cases.
Thomas
Using LV8.0 -------------------------------------------------------------------- Don't be afraid to rate a good answer... 😉 --------------------------------------------------------------------