Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Labview control motor with buttons (http://www.chiefdelphi.com/forums/showthread.php?t=110992)

crollison 11-01-2013 13:39

Labview control motor with buttons
 
Could somebody send me a screenshot or something to show me how to program a motor to buttons on the joystick. Just working through programming and wanted to see how to do this, followed one youtube video and it doesn't work. I'm pretty sure that I have everything correct in the begin.vi, it's the telop.vi that I'm having problems with.

Thanks.

Alan Anderson 11-01-2013 16:29

Re: Labview control motor with buttons
 
Search the forums for "motor button" and you'll find lots of suggestions. Here is a good one.

propionate 11-01-2013 22:51

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.


All times are GMT -5. The time now is 10:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi