Go to Post Another year, another picture of a Tytus injury. - Andy Baker [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 02-02-2017, 14:09
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: 60
crollison is an unknown quantity at this point
Global Variables

Attempting to write Joystick Values to Global Variables. New at this part. When creating the Global Variable how to select the data from the Robot Global Data.vi. Everytime I try to create a write variable it wants to create it's own panel. If I create the label in Robot Global then drag over it shows as a read only. I know I'm missing something very simple but I've searched and searched but can't figure it out.

Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2017, 14:30
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,908
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: Global Variables

Curious as to why you'd want to write Joystick values to Globals, since they already are globally available?

As to creating Globals, see if this helps any: http://www.team358.org/files/program...eateGlobal.pdf
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2017, 14:36
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: 60
crollison is an unknown quantity at this point
Re: Global Variables

Thank you, that answered my question. As to why, we have previously barely gotten by on our programming and wanted to ramp up the quality. So looking over the released code from a very successful team I saw that is how they were doing it so I figured I would organize my variables like they did.
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 15:26.

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