View Single Post
  #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