06-17-2008 09:50 AM
06-17-2008 09:59 AM
06-17-2008 09:59 AM
06-17-2008 10:06 AM
06-17-2008 11:08 AM
12345qwertt wrote:
I have a VI having number of array of boolean and numeric controls and indicators. I have two threads running one is accessing all controls and indicators directly. Other thread is going to put values in controls based on values read from text file. Which is the best method to access variable - Is it through local variables...
06-17-2008 11:56 AM
altenbach wrote:
12345qwertt wrote:
Which is the best method to access variable - Is it through local variables...
SInce you list local variables as an option, I must assume that both "threads" are running in the same VI (e.g. two parallel while loops). Is this correct?In this case, you should go with the local variables.
06-17-2008 01:05 PM
06-17-2008 01:12 PM
12345qwertt wrote:
Eg: I have 25 numeric controls. In this case I can create 25 references and only 1 value property node. This would save the memory compared to local variables. I don't know the race conditions possibility...Best Regards