Thread: Help Us
View Single Post
  #5   Spotlight this post!  
Unread 11-03-2014, 15:59
Rochester2909 Rochester2909 is offline
Registered User
FRC #2909
 
Join Date: Mar 2014
Location: Rochester
Posts: 11
Rochester2909 can only hope to improve
Re: Help Us

Quote:
Originally Posted by randantor View Post
Edit: just saw the pictures posted in the thread

As far as I can tell, your solenoid code looks all right. Could you be more specific on exactly what you're having trouble with?

One thing to note is that the Motor Set Output VI expenging-point value from -1.0 to 1.0 , where -1 is full reverse, 0 is stop, and 1 is full power forwards. You seem to be giving it an integer from 0-255, which probably won't work the way you are expecting it to. Any value higher than 1 will be interpreted as full power forwards.
Thanks for the numerical range! That was something I have been searching for, but have yet to find.
Our problem is that when we attempt to test the code, we receive no response from the robot, yet the diver station reports no errors. Currently, we are searching for a wiring malfunction.
Reply With Quote