Solenoid Programming Issue.

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. :slight_smile:

Edit: I included my solenoid code below.

soelnoid_code.jpg


soelnoid_code.jpg

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

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

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”?