Go to Post Pro-tip: Friends don't let friends play defense! (in qualifications) - Mr. Lim [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 22-03-2016, 16:43
Bradley Boxer's Avatar
Bradley Boxer Bradley Boxer is offline
Registered User
AKA: Bradley Boxer
FRC #0303 (TEST Team 303)
Team Role: Programmer
 
Join Date: May 2015
Rookie Year: 2015
Location: United States
Posts: 15
Bradley Boxer is an unknown quantity at this point
Passing values from "begin.vi" to "autonomous independent.vi"

After examining our LabVIEW code for this year, my team has decided to eliminate RefNums from our code in favor of code execution speed (http://www.chiefdelphi.com/forums/sh...php?&p=1447945) .We are doing this by taking all of our DevRefs, clustering them, and passing that cluster to any location we want a registry value from. This has worked great for Teleop and Periodic Tasks, but we are running into issues when we want to do this for autonomous. The autonomous vi is run from a static vi reference in robot main, and we are unable to pass the values into it even after adding the correct terminal on the front panel. In this case, is the only way to get our values into autonomous to use global variables? In that case, are there any downsides to transferring that amount of data in a global variable? (we have about 15 refnums) Is there something I'm missing?

Thanks,
Bradley Boxer

Last edited by Bradley Boxer : 22-03-2016 at 18:26.
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


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

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