01-11-2011 05:03 AM
Hi!
Inside my main VI, I read settings from the same text file like 4-5 different places (some inside sub VI's). This is also inside a while-loop that is delayed about 0,5 seconds. The text file contains about 50-100 lines depending on the settings. My question is if this can make the program unstable or loose it's performance???
Is it better to drag wire in all around the VI and subVI's ??
Best regards
Martin
Solved! Go to Solution.
01-11-2011 05:27 AM - edited 01-11-2011 05:28 AM
Simple way is to use functional global.
Read text file at the start of the program, store it in Functional global.
Use it to read setting anywhere anytime...
If you don't know about functional global here is the link.
01-11-2011 07:46 AM
Thanks!
I will look into that....and clean up my VI.
Will your solution be better on preformance??
01-11-2011 10:21 PM
Yes. I think it is.