View Single Post
  #5   Spotlight this post!  
Unread 01-03-2012, 13:59
Omar's Avatar
Omar Omar is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Huntsville, AL
Posts: 122
Omar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of lightOmar is a glorious beacon of light
Re: Please Help Compiled info Teleop Periodic Task need verification

Quote:
Originally Posted by mbone206 View Post
* Avoid Local variables (not desirable in parallel sequencing program), Global variables OK, prefer put all in RobotGlobalData.VI
Global variables are preferred over Locals, but Global are just as bad and not desirable in parallel sequencing program the same as Local variables.

Global and Local variables defeat the data flow of LabVIEW. You can have race conditions just as easy with Globals as you can with Locals.

Try to use wires.

Globals are good for global settings that do not change very much, read only in many places, but maybe write only in one location.
__________________
Omar
Reply With Quote