Solenoid only runs once

In OI, 2 buttons are set to open and close the solenoid, but after it opens and closes once it no longer opens and will fire randomly. Why?

lotta code there. Which button, command and actuator are the problem children?

The compressor and solenoid are in slide. The two commands, GripTote and UnGripTote, use the solenoid. Those commands are bound to buttons in the OI.

You need to make sure both of those commands require the slide subsystem. What’s happening is both commands are running at the same time.

Either that or make sure they both finish after one execution. To do this move the actuation of the slide into the initialize method and return true from isFinished();

YES! That worked.