Motor Posistion Reset Help

So i’m trying to program a motor for our lift system. What I want it to do is to rotate one direction when I press one button until the button is released. Then I want it to rotate the opposite direction when a different button is pressed, and stop when it is released. Then I have a limit switch at the top and bottom of the lift to shut off the motor when they’re hit. The final thing I need is for when the two buttons for lifting and lowering are pressed simultaneously, I want the motor to bring the lift all the way down until the lower limit switch is hit. This reset function needs to be just a quick button press for it to bring all the way down, not holding the buttons until it gets down. The reset function is what I really need help with.

I hope I explained this well enough. If you’re not sure what I’m asking, let me know and i’ll try to clarify. I’ve attached what i have so far in Begin and Teleop. Our team hasn’t built anything yet, so I’m not exactly sure what any of what I have yet will do either (stressful)

Thanks!
Team 2183

Motor Posistion Reset Help.vi (13.9 KB)


Motor Posistion Reset Help.vi (13.9 KB)