View Single Post
  #1   Spotlight this post!  
Unread 01-02-2010, 13:45
ssmith2 ssmith2 is offline
Registered User
FRC #1737
 
Join Date: Feb 2010
Location: Excelsior Springs, MO
Posts: 7
ssmith2 is on a distinguished road
Solenoid code not working

Hi. I am hoping you all can help me. I have coded up a real simple solenoid for this year's robot and I did it just like I did last year and it just doesn't seem to work.

Details:
In the begin.vi I have code (see attachments) to open the solenoid and to assign it to the registry. I then get it from the registry in the teleop.vi and set the "value" of it based on joystick button value. When we deploy it and run it, it just does not trip the solenoid nor do any of the lights on the 9472 (the thing that plugs into the cRIO) come on. I have even tried removing the button value and just hard coded a boolean constant of "true" to the solenoid value input of the "solenoid set" but to no avail.

Any thoughts or help?

-Team 1737 programming mentor
Attached Thumbnails
Click image for larger version

Name:	solenoid_begin.JPG
Views:	69
Size:	50.6 KB
ID:	8461  Click image for larger version

Name:	solenoid_teleop.JPG
Views:	52
Size:	47.8 KB
ID:	8462  
Reply With Quote