From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I dynamically remove vi's.

Is it possible to dynamically remove vi's? It does not seem possible with the vi-server-functions.
0 Kudos
Message 1 of 2
(2,353 Views)
If you dynamically load a VI, you can dynamically remove it by closing the
VI reference.

If it's a VI that has been loaded because it is part of another VI you
cannot unload it while the parent remains in memory.

I've never had to close a VI that has been arbitrarily loaded by the user,
but I think that you cannot have a VI in memory if its front panel is
closed, it is not running and it is not a child of another loaded VI. Hence
I think you can close such VIs by closing their window, which is an
available property.

casimir wrote in message
news:506500000008000000062F0000-1003545641000@exchange.ni.com...
> Is it possible to dynamically remove vi's? It does not seem possible
> with the vi-server-functions.
0 Kudos
Message 2 of 2
(2,353 Views)