04-18-2012 12:25 AM
Assume that I want to call "A" in "B".
A is 1MB in size.
If B calls A twice, does B gain extra 1MB compared to when B calls A once?
I want to know if B just needs a few bytes to call A onc more time or if the content of A is copied to B each time A is called in B.
04-18-2012 01:36 AM
Short answer: Maybe, it depends.
If B stores data, e.g. in an array will grow in memory, yes.
If you mean the VI itself, it wont grow, unless you Inline a subvi.
/Y
04-18-2012 07:51 AM
@iCat wrote:
Assume that I want to call "A" in "B".
A is 1MB in size.
If B calls A twice, does B gain extra 1MB compared to when B calls A once?
I want to know if B just needs a few bytes to call A onc more time or if the content of A is copied to B each time A is called in B.
The answer to that question can be found in the "Clear as mud" thread.
CAUTION!
Wrap your head in duct tape befor reading that thread to help reduce possible injury.
In that thread Greg McKaskle (now so high in LV R&D we need a telescope to see his feet) comes out of the Ivory Tower long enough to exaplain how and when buffers are copied.
Have fun!
Ben