View Single Post
  #3   Spotlight this post!  
Unread 08-02-2014, 19:03
chigskonkwo chigskonkwo is offline
Registered User
FRC #0884 (Mechanical Mules)
 
Join Date: Feb 2012
Rookie Year: 2011
Location: Malverne, New York
Posts: 34
chigskonkwo can only hope to improve
Re: cRIO/Solenoid/NI9472/Code Programming Problem?

Quote:
Originally Posted by lizzie_1610 View Post
Double check that wires are properly connected both in the robot and in the program, and that the program matches the robot (Relay 1 really is in Relay 1 etc.). If you reference the compressor or solenoids in more than one place in the code, make sure that the refnum name is completely identical in all places (its easy to accidentally put in spaces). But it could just as easily be that a wire is bad and needs replacing so try other wires or testing the ones you have hooked up elsewhere.
We rewired our solenoids so we know that's not the problem. Our compressor and regulator were tested and work perfectly. We also created an entirely different code from scratch, creating only one solenoid and following the guidelines on how to code a solenoid to the letter, deployed the code, and it still did not work. Is there anything else that we have to do in the code other than putting the solenoid in "Begin.vi", "Teleop.vi", and "Finish.vi" in order for the solenoid to work?
Reply With Quote