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/showthread.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