Showing results for 
Search instead for 
Did you mean: 

Case Structure Delay/Reset

Hello everyone,


I have a very simple question regarding case structures and calling constants out of them to an output value.


I'm using a slider to change my motor from Forward, Reverse, and Stop Position. The problem is when I run the program I can't switch from say like Forward => Backward. If it begins on "forward" it will stay forward until I stop the program or turn off the power supply


Does anyone know how to fix this problem? I know it has to do something with delay or something. I'll attach a picture of my VI.




Download All
0 Kudos
Message 1 of 3

It has to do with 'or something'. It has nothing at all to do with delay. Your control is outside the loop. The only time it is read is when you start the VI. Simply place it inside the loop. It would be far better to use an event structure though.


You might want to look into the free LabVIEW tutorials.

Message 2 of 3
god I feel stupid. Thanks.
0 Kudos
Message 3 of 3