View Single Post
  #2   Spotlight this post!  
Unread 18-02-2013, 10:26
MotorHead's Avatar
MotorHead MotorHead is offline
Programming Mentor
AKA: Jeff Beltramo
FRC #1922 (OZ-Ram)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Concord, NH
Posts: 68
MotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to behold
Re: labview adding button from joystick

Assuming you initialized the joystick in the begin vi (it is if you didn't modify the default code), it looks ok.

It looks like you are checking button 1 of the joystick. If it is true (ie pressed) you stop the motor, else false you pass the values from the axis to your motor.
__________________
Jeff Beltramo
Team #1922
Concord, New Hampshire

Reply With Quote