View Single Post
  #7   Spotlight this post!  
Unread 16-12-2008, 06:11
rwood359 rwood359 is offline
Registered User
AKA: Randy
FRC #0359 (Hawaiian Kids)
Team Role: Mentor
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Waialua, HI
Posts: 212
rwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to allrwood359 is a name known to all
Re: Programing a Digital Input on the DS in Labview

Quote:
Originally Posted by Doug G View Post
Boy I have some catching up to do here. First of all, what is the difference between the Joystick.Get.Vi and the Joystick. GetRaw.Vi? They seem to be pretty much the same. What I'm trying to learn is how to use a Joystick button to control the state of a motor; ie. hold down a button and the motor goes forward. I've got the motor control figured out, I'm just lost on how to get it wired to the Joysitck Vi. Any guidance would be much appreciated
Basically the difference is integer vs floating point. Get Raw returns an 8 bit integer of range -128 to 127. Get returns a 32 bit floating point of range -1 to 1.
Are you trying to use the Relay VIs to control the motor?
Reply With Quote