limit switch implementation

I have attached a vi which uses a 1d interpolation to stop motor motion when a limit switch is active. Thought some of you may like to see a different implementation.

This vi has inputs for limit switches and a joystick, it outputs a modified joystick signal.

Limit switch.vi (14.7 KB)


Limit switch.vi (14.7 KB)