Programming limit switch

Do not know how to program a limit switch.

http://www.team358.org/files/programming/ControlSystem2015-2019/labview/index.php#LimitSwitch