[help] Add joystick button to pneumatics bumper

Competitions are over for out team, but we are adding things to our robot for the sake of learning how the code works, etc.

We did not write the code for our robot and are trying to figure out how to add a joystick button that activates a cylinder. We already have one button on this joystick that activates a cylinder, so we just copy and pasted the code and tried to change the bumper relay, but the leds on the bumper don’t react to the new code, so I’m prettysure we did something wrong.

Any help is much appreciated and I can give any info needed.

P.s: I already checked websites with labview examples . . .









In Begin.vi set Duel Solenoid 3-4’s module to “Solenoid Module 1” like Duel Solenoid 1-2 is.

The “Solenoid Module 2” option is only used if you have two pneumatic bumpers. Presumably you only have one; I don’t think that I’ve ever seen a team use two.

Okay, I made the correction. It’s still not working though :/.

I am not the most experienced in double solenoids (we always use single); so I may be missing something obvious. It looks like your code should work.

Could there be a wiring error? The Double Solenoid is called “Dual Solenoid 3-4” but it uses Solenoids 7 and 8. Is it wired to 7 and 8?

Do the other functions of that joystick work? Is the other solenoid is working as it is supposed to?

Odd as it may seem, when we program dual acting solenoids, we actually program them as two single acting solenoids and simply pair them together (think identical twins). We got the idea after having pnuematic trouble and turning to team 358’s website for help. Below it the link. I would scroll down to “Double Solenoid Example” and "Double Solenoid Example - alternative implementation ". We’ve used the alternate style for years. The website also has a description of the mechanical pnematics set-up (along with almost everything else you could want to know about a robot) if you need to check your hardware.

http://team358.org/files/programming/ControlSystem2009-/LabVIEW/