View Single Post
  #3   Spotlight this post!  
Unread 11-01-2013, 22:51
propionate's Avatar
propionate propionate is offline
Team co-lead and LabVIEW programmer
AKA: Stephen
FRC #1732 (Hilltopper Robotics)
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Milwaukee
Posts: 93
propionate is on a distinguished road
Re: Labview control motor with buttons

If Alan's code doesn't resolve the issue, you could try these things in the following order (testing your motor in between):

1. Make sure that you're "opening" the motor and joystick in the begin.vi so that teleop can recognize the refnum's (in the most basic terms, the refnum is a label for any input/output device in LabVIEW).

2. Make sure that the refnum's for the motor and joystick in the begin.vi match those in the teleop.vi

3. Create an indicator on your joystick's button cluster, then deploy directly from the laptop. Press your desired buttons on the joystick and watch to see if they light up their respective indicators on the teleop.vi front panel. If not, reply with results.
Reply With Quote