Go to Post What happens when everything becomes fully swagged out? Also, does my robot need to have collar-popping functionality to use every feature? - AlecMataloni [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 13-02-2010, 11:33
Team1824 Team1824 is offline
Registered User
FRC #1824
 
Join Date: Oct 2008
Location: Peterborough
Posts: 14
Team1824 is an unknown quantity at this point
global variables and autonomous independent

Okay, I have been looking around but I haven't really found the answer to this question. I want to have several cases in autonomous independent that will depend on what field position we are in. I have read something about making a global variable in the finish.vi or something but I don't know anything about global variables. my idea is to put a case structure around all of the autonomous independent and then use the variable to select the case. Is this possible? my cases will be named 1, 2, 3 etc. how do I get the global variable to be read as a number and be wired to a case structure? thanks in advance.
__________________
Team 1824
Reply With Quote
 


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
Autonomous Independent Code Issue Watchdog not fed pilum40 FRC Control System 0 11-02-2010 12:00
Using Sensors in Autonomous Independent Felipe Sagui NI LabVIEW 2 27-01-2009 17:25
Making global variables in LabVIEW. Joshamuffin National Instruments LabVIEW and Data Acquisition 1 19-01-2009 13:35
HELP!!! Counters, global variables, and the like danielkitchener Programming 2 23-02-2004 23:53
Global Variables, anyone? Darkman_X000 Programming 3 05-02-2004 22:11


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

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