sm07
-
Posts
2 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by sm07
-
-
I have 2 or 3 VI's running in parallel (some may be sub-vi's of others) and i'm wondering how bad is it to use global variables in them. My needs are very simple. For example, in one program i am writing to variable X inside a while loop, and in a second program, I am using variable X to calculate variable Y. Honestly that's as simple as I need things to be. In total I might need 10 global variables. The VI's themselves are complex and they must be separated, but this is what I'd like to do with regards to global variable usage. My main concern is that my loops run for quite a while so the memory is very 'active'. On the LV website, there is a document that states that, with respect to global variables in a loop, 'labview reclaims the memory after each iteration of the loop.' so do i have much to worry about?
Global Variable Usage
in Application Design & Architecture
Posted
QUOTE(yen @ Jul 26 2007, 03:04 PM)
All of my data are either individual 'double's or booleans...and there are only about 10 of them in total