Quote:
Originally Posted by mbone206
* 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.