Log in

View Full Version : Pneumatic piston and buttons.


tubadude
13-02-2010, 19:18
It's our first year looking into pneumatics and I have a few questions. We are able to run our compressor and fire the piston while using the solenoid and compressor example and I've started looking into running it in our teleop.vi.

I've managed to set up the main code so that it starts the compressor running, but I've been unable to get a button on the Attack 3 Joystick to activated the pneumatic piston. I've attached a screenshot of our teleop code. Is there anything we're missing to activated the solenoid with a press of the button?

Mark McLeod
13-02-2010, 19:38
Looks fine.

Check the Driver Station Setup tab to be sure the joystick you're using is listed as #3.

Is the corresponding Solenoid Module LED coming on when you pull the trigger?

jmanela
13-02-2010, 19:43
You could also check if you misspelled your refnum's.

tubadude
13-02-2010, 20:08
Thanks for the help everyone. It was the combination of a bad wire and and extra a in the refnum in our begin vi.

Thanks everyone!