Thread: servo
View Single Post
  #5   Spotlight this post!  
Unread 16-02-2011, 13:39
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: servo

Quote:
Originally Posted by Ian McShane View Post
I am also having trouble connecting the unbundled buttons going through the case structure and into the motor set output vi.
A Joystick button returns a boolean. The motor set output requires a number. If you want to feed the numeric value of a boolean (0 or 1) into the set output VI (this would run a motor in one direction whenever the button is held and stop it when released there is a small VI block that will do the conversion.

I don't have Labview in front of me here at work, but I would guess that it is in the Boolean palette and if I recall correctly has "0:1" on the icon.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote