LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to retain data in subVI for next run

Solved!
Go to solution

You should note that a USR global which only has Get and Set operations on a single piece of data isn't really any better than a global variable. All its advantages (including the memory allocation issue) only exist if all the operations are done inside the VI. You should also note that the memory allocation issue is usually only an issue if you have either large arrays, limited memory or many copies. Assuming your arrays are 1D DBL, that's not a lot over 1 MB for each array. With today's RAM, that's not usually a problem.


___________________
Try to take over the world!
0 Kudos
Message 11 of 11
(517 Views)