View Single Post
  #4   Spotlight this post!  
Unread 10-02-2009, 16:42
finman's Avatar
finman finman is offline
Programmer
AKA: Chris Finley
FRC #0888 (Robotiators)
Team Role: Programmer
 
Join Date: Mar 2008
Rookie Year: 2008
Location: Glenelg, MD
Posts: 16
finman is an unknown quantity at this point
Re: relay device reference?

there may be a better way to do this, but i was able to do so as follows(this should work for other devices as well as relays):

-place the "open relay" vi wherever you need it e.g. begin
-right click on the device reference out terminal and select create>constant
-cut and paste the block created into the global variables vi
-you should now be able to access this from the robot data in bundle

please let me know if you have more questions; having a global reference actually made the relays work for me, they had not been doing so previously

-chris
__________________


"Red goes to black, right guys?" ~Mike Mascaro: Our Fearless Leader