Thread: Help Us
View Single Post
  #7   Spotlight this post!  
Unread 11-03-2014, 15:33
randantor randantor is offline
Registered User
AKA: James Y
FRC #0624 (CRyptonite)
Team Role: Alumni
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Katy, TX
Posts: 48
randantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of lightrandantor is a glorious beacon of light
Re: Help Us

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 expects a floating-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.
Reply With Quote