Log in

View Full Version : Solenoid Programming Issue.


Dr. Manhattan
09-02-2009, 20:00
I'm a rookie programmer with team 2521, I've never used LabVIEW before this season, nor been on a team until this season and am pretty much self taught. I know that I wired the solenoid and pneumatics breakout correctly.

-The pneumatics breakout is in module 8 on the cRIO.
-The solenoid wire is plugged into the breakout, white to negative, red to signal.
-The wire is plugged into the solenoid, white to negative (1), red to positive (2).

My two problems are this.

1) The solenoids are always open at default, is there any way to change this?
2) When I use the third button on the joystick plugged into USB 1, nothing happens.

Any help would be appreciated. :)

Edit: I included my solenoid code below.

Mark McLeod
10-02-2009, 00:33
Is this the entire test program you are running or just an example of what you have put in the Basic or Advanced Frameworks?

This needs a couple of things to run by itself:
- DS Communication
- Watchdog


1) The solenoids are always open at default, is there any way to change this?

You can reverse the piston tubing at the solenoid to reverse the default piston position.

Dr. Manhattan
10-02-2009, 17:42
That's just a sample from the advanced framework, I figured I'd just post that rather than the entire thing.

Edit: What are you referring to when you say "DS Communication"?