Go to Post It's still not about the robots. FIRST is about doing the right thing. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 28-01-2013, 17:06
katsauga's Avatar
katsauga katsauga is offline
Lead Programmer
AKA: Marshall Baskin
no team
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Mora, MN
Posts: 86
katsauga has a little shameless behaviour in the past
Arrow Labview issues

I cannot remember how to use a button on a joystick for a set of motors, could someone send me a diagram?
__________________
If life gives you lemons,Make grape juice and sit back and watch the world wonder how you did it
  #2   Spotlight this post!  
Unread 28-01-2013, 17:30
bhumudar's Avatar
bhumudar bhumudar is offline
Mentor/Programming/Electrical
AKA: Bryant Humud-Arboleda
FRC #0714 (Panthera)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2008
Location: Newark
Posts: 50
bhumudar is on a distinguished road
Re: Labview issues

You should start by looking though the LabVIEW FRC examples. They are extremely helpful, and easy to read through. To answer your question, what you need to do is open up your teleop block diagram VI and inside, there should be a joystick already opened. Right click on any white space, go to programming and look for "unbundle by name" in the cluster palette. Finally just wire the "button" node from the joystick to the input of the "unbundle by name". Once you've done this you will be able to see all the buttons available to you. If you want to control a motor with it just call the motor inside of a case structure and make any button the Boolean input to the case structure. Good luck with your season!
__________________
Bryant Humud-Arboleda
Stevens Institute of Technology
B.A - Electrical Engineering 14'
Mentor - FRC 714 (2012-Present)
Student - FRC 714 (2009-2010)

2013 Bridgewater-Raritan Winners (Thanks 1676 & 3314)
2012 MAR Regional Championship Judges Award
2012 Mount Olive District Excellence in Engineering Award
2012 Chesapeake Regional Finalist (Thanks 2068 & 358)
2012 Hatsboro-Horsham District Gracious Professionalism Award

Last edited by bhumudar : 28-01-2013 at 17:32.
  #3   Spotlight this post!  
Unread 28-01-2013, 17:33
katsauga's Avatar
katsauga katsauga is offline
Lead Programmer
AKA: Marshall Baskin
no team
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Mora, MN
Posts: 86
katsauga has a little shameless behaviour in the past
Re: Labview issues

I know where to get buttons, I mean, I don't know how to wire them to the drive, what VI do I use?
__________________
If life gives you lemons,Make grape juice and sit back and watch the world wonder how you did it
  #4   Spotlight this post!  
Unread 28-01-2013, 17:45
bhumudar's Avatar
bhumudar bhumudar is offline
Mentor/Programming/Electrical
AKA: Bryant Humud-Arboleda
FRC #0714 (Panthera)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2008
Location: Newark
Posts: 50
bhumudar is on a distinguished road
Re: Labview issues

I've attached an example VI.
Attached Files
File Type: vi Motor Control Example.vi (7.5 KB, 12 views)
__________________
Bryant Humud-Arboleda
Stevens Institute of Technology
B.A - Electrical Engineering 14'
Mentor - FRC 714 (2012-Present)
Student - FRC 714 (2009-2010)

2013 Bridgewater-Raritan Winners (Thanks 1676 & 3314)
2012 MAR Regional Championship Judges Award
2012 Mount Olive District Excellence in Engineering Award
2012 Chesapeake Regional Finalist (Thanks 2068 & 358)
2012 Hatsboro-Horsham District Gracious Professionalism Award
Closed Thread


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 02:25.

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