06-09-2008 03:01 AM
06-09-2008 03:08 AM
06-09-2008 03:08 AM
06-09-2008 03:14 AM
06-09-2008 03:17 AM
06-09-2008 03:24 AM - edited 06-09-2008 03:25 AM
06-09-2008 03:25 AM - edited 06-09-2008 03:27 AM
06-09-2008 03:31 AM
06-09-2008 03:41 AM
06-09-2008
03:45 AM
- last edited on
07-09-2025
06:43 PM
by
Content Cleaner
Using local or global variables can cause "race conditions" (http://zone.ni.com/reference/en-XX/help/371361D-01/lvhowto/race_conditions/) which can be very difficult to debug. It is also difficult to control timing when using too many local variables, which is half the part of creating a VI in LabVIEW. I personlly never use local variable unless I have some very strict condtions to control the timing. It's best practice to limit or eliminate the use of local variables in your programs. It may be a bit more difficult to write, but is more effective in the long run.