A boolean delay

I have a segment of solenoid control code, with a toggle to switch a case function so I can deploy and undeploy a pneumatic with 2 separate clicks.
The problem I am having, is that if I hold down the trigger, I get a rapid switching between deploy and undeploy. Is there some way that I can delay it so it will not accept a boolean until a set amount of time passes, or is it likely to be a problem with the trigger system I have?

Just a addon, I am currently using s0crates’ toggle.vi that he posted here http://www.chiefdelphi.com/forums/showthread.php?t=74120

Open the subVI and run it repeatedly with the input parameter set the way you expect the joystick switch to show up. I don’t see a problem with the subVI, so perhaps it is being toggled in another piece of code.

Greg McKaskle