Go to Post In the end engineering is what happens between your ears, not what you build with your hands, not what a machine spits out. - KenWittlief [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 23-01-2010, 17:50
Stealth Stealth is offline
Registered User
FRC #2073
Team Role: Programmer
 
Join Date: Nov 2007
Rookie Year: 2008
Location: Elk Grove
Posts: 17
Stealth is an unknown quantity at this point
Joystick Read VI and Passing Variables to the Control

I'm having some issues with the Joystick read VI and getting it to pass some new Boolean variables I created to its control which is placed in the teleop VI in the default code.

I've looked everywhere for where to add new variables to be passes to the control but I have been unsuccessful. Any help would be appreciated.

Thank you in advance
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2010, 20:40
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Joystick Read VI and Passing Variables to the Control

If you are wanting to return data from the subVI, you'll want to show the connector pane and add the indicators to it, possibly adding additional outputs to the subVI if you need to.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2010, 11:13
billbo911's Avatar
billbo911 billbo911 is online now
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,345
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Joystick Read VI and Passing Variables to the Control

Quote:
Originally Posted by Greg McKaskle View Post
If you are wanting to return data from the subVI, you'll want to show the connector pane and add the indicators to it, possibly adding additional outputs to the subVI if you need to.

Greg McKaskle
Robert,
This is what both of us were trying to do yesterday but just couldn't remember how. At least we were on the right track.

THANKS GREG!!
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2010, 12:59
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,695
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: Joystick Read VI and Passing Variables to the Control

In case you haven't figured it out yet...
  1. Put the IO you want to add on the Front Panel of the vi as a control or indicator.
  2. From the Front Panel of the vi right-click on the vi icon in the upper right and select "Show Connector."
  3. Left-click on the control or indicator on the Front Panel to highlight it.
  4. Left-click on the connector in the upper right on the spot where you want it attached to.
__________________
"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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Correlation, Causation, and the Isolation of variables in FiM District Structure Lil' Lavery General Forum 13 30-04-2009 20:09
Camera servo control off of the Joystick axes m3rc1l3ss NI LabVIEW 5 13-03-2009 20:00
HELP!!! Counters, global variables, and the like danielkitchener Programming 2 23-02-2004 23:53
Joystick Variables fred Programming 8 20-02-2004 10:58
Dashreader.dll: A Visual Basic .NET user control to read the dashboard port Ameya Programming 4 12-01-2003 23:40


All times are GMT -5. The time now is 17: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