|
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.
|