Go to Post Where we are is only of modest importance. And where we are going is what is really important. - ebarker [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 17-01-2011, 20:10
AndrewD's Avatar
AndrewD AndrewD is offline
Programming/Electrical Mentor
AKA: Andrew Dolio
FRC #1243 (Dragons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Swartz Creek, MI
Posts: 23
AndrewD is an unknown quantity at this point
Exclamation How do I get joystick values in LabView?

Hi, this is my first build season and I'm trying to get a feel for labview. Can anyone help me find the functions i need? Also, LabView didn't give me the default Robot Framework.vi for some reason.......
__________________



____________________________________________
Programming/Electrical Mentor
FRC Team #1243 - The Dragons
Reply With Quote
  #2   Spotlight this post!  
Unread 17-01-2011, 20:30
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: How do I get joystick values in LabView?

Did you install the LabVIEW Update?
Reply With Quote
  #3   Spotlight this post!  
Unread 17-01-2011, 20:31
AndrewD's Avatar
AndrewD AndrewD is offline
Programming/Electrical Mentor
AKA: Andrew Dolio
FRC #1243 (Dragons)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Swartz Creek, MI
Posts: 23
AndrewD is an unknown quantity at this point
Smile Re: How do I get joystick values in LabView?

i'll try it...i just installed labview tonight
thanks
__________________



____________________________________________
Programming/Electrical Mentor
FRC Team #1243 - The Dragons
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2011, 13:24
IisMathwizard's Avatar
IisMathwizard IisMathwizard is offline
Programming Mentor
AKA: Mathwizard
FRC #1248 (Titanium Allies)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Berea-Midpark High school
Posts: 60
IisMathwizard is an unknown quantity at this point
Lightbulb Re: How do I get joystick values in LabView?

Also, when you get that installed...
to get the joystick values you would right click in block diagram...
go down to the bottom selection to the robotics library...
goto the joystick selections...
use the device refnum vi thats in the selection.... (make sure to pick the one with the arrow on the right)
on the left of this icon put a contant called "Joystick 1"...
on the right, hook up another vi in the joystick section called Get.vi...
Now, right-click and go to the section called cluster which should be next to numeric...
in there is a thing called unbundle by name, put it the block diagram
hook the "unbundle by name" to the axis output of get.vi....
Increase the size of the cluster just like you would increase the size of a picture...
You can now hook up the x-axis and y-axis cluster values to numeric indicators on the telop dashboard to get joystick axis values...
You can also use the unbundle cluster for button values also found on the get vi...
Then you can hook boolean indicators to them as well to find out what buttons are being pressed...
HOPE THIS HELPS

Not This:

Do This:
__________________

jRIO 2013 Project
Reply With Quote
  #5   Spotlight this post!  
Unread 17-01-2011, 20:31
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,833
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How do I get joystick values in LabView?

If you don't see the default frameworks, then you are missing the LabVIEW Update.

You'll also be missing the libraries that handle the joystick for you.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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:18.

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