View Single Post
  #37   Spotlight this post!  
Unread 18-02-2010, 18:18
umangv620 umangv620 is offline
Programming Captain
AKA: Umang
FRC #1403 (Cougar Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2008
Location: New Jersey
Posts: 80
umangv620 will become famous soon enoughumangv620 will become famous soon enough
Re: solenoid with compressor vi

Ok, we now have Tank Drive running in Teleop(The problem was that we didn't realize that there was Arcade drive code in the Teleop.vi which was screwing around with our tank drive. I fixed it, so its working now.

Now back to the thread.
I have very minimal solenoid code in LabView atm. I have a Solenoid Get Ref outside the Robot Main loop, and a Front Panel Boolean switch wired to the Solenoid Set inside the Teleop loop in Robot Main.

When we run the code(when i click on the boolean switch to go from false to true), the solenoids doesn't fire the piston-type-firing-thing(no clue what its called). We know the solenoid works mechanically because we can press the button to release the air into the piston thing, and it fires.

my begin vi looks very similar to mark's code. We have the solenoid we are testing in slot 1 on module 8, so wiring is not the problem.
__________________
Team 1403 Cougar Robotics

2009-2011 Programming Captain

2010
NJ-Regional - Chairmans Award
Reply With Quote