Go to Post Don't forget to stock up on luck. You'll need some of that too. - Molten [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-01-2013, 13:39
crollison crollison is offline
Registered User
AKA: Chris Rollison
FRC #4809 (Black Knight Robotics)
Team Role: Coach
 
Join Date: Nov 2009
Rookie Year: 2009
Location: Marceline, MO
Posts: 57
crollison is an unknown quantity at this point
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.
Reply With Quote
  #2   Spotlight this post!  
Unread 11-01-2013, 16:29
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Labview control motor with buttons

Search the forums for "motor button" and you'll find lots of suggestions. Here is a good one.
Reply With Quote
  #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
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:51.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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