LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

call setup, load or unload vi in memory

Solved!
Go to solution
Solution
Accepted by topic author superglglgl

I understand, that this is confusing. Honestly, i am surprised that the documenation isnt more clearly against the observed behavior.....

 

The point is, that your Call by Reference can only call a single VI as you entered the path to the VI hardcoded. Therefore, LV can (and will) check if that VI is available and it will make sure that it can be executed smoothly.

I would expect that to be the reason for the VI to show up in the "VIs in Memory" list.

IT DOES NOT SHOW IF THE VI IS RUNNING OR THERE IS MEMORY ALLOCATED FOR THE VI!

 

So essentially, the call reserves a handle, but locks it only if required. Locking the handle will also allocate memory for the subvi. If the handle is unlocked, the memory can stay allocated, but might be used for other VIs.....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 11 of 12
(814 Views)

Norbert,

 

i think, you are completely right. thanks a lot.

 

Lei

0 Kudos
Message 12 of 12
(809 Views)