Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Joystick Read VI and Passing Variables to the Control (http://www.chiefdelphi.com/forums/showthread.php?t=80981)

Stealth 23-01-2010 17:50

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

Greg McKaskle 23-01-2010 20:40

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

billbo911 24-01-2010 11:13

Re: Joystick Read VI and Passing Variables to the Control
 
Quote:

Originally Posted by Greg McKaskle (Post 905583)
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!!

Mark McLeod 24-01-2010 12:59

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.


All times are GMT -5. The time now is 22:33.

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