View Single Post
  #4   Spotlight this post!  
Unread 25-03-2011, 15:39
linkhyrule5 linkhyrule5 is offline
Registered User
FRC #1072
 
Join Date: Oct 2009
Location: California
Posts: 12
linkhyrule5 is an unknown quantity at this point
Re: More local variables.

Actually, I would warn against using Globals in LabVIEW. LabVIEW will actually avoid race conditions by automatically pausing the program to allow everything that needs to write to it to do so before anything can read. This can cause massive slowdowns, as well as otherwise inexplicable pauses in the code.

If you really need to communicate across VIs, make a VI whose only purpose is to serve and receive a value, as follows:

Code:
Indicator - Control
Reply With Quote