PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Closing VI reference using .Net

So again the easiest thing to do would be to change the name of the VI so they are not the same.  If that solution doesn't work for you I may have another idea.  Since there doesn't appear to be a dipose or destroy method, you might need to close the LabVIEW Application reference instead.  Something similar to

oVI = oLabVIEWApp.GetVIReference(cfg.VIFilePath, "", false, 0);
oLabVIEWApp.Quit()

Once you have removed the LabVIEW Application from memory you can reopen the reference and try calling another VI path.  Let me know if you make any progress.

Andy F.
-----------------------------------------------------------------
National Instruments
Message 11 of 12
(849 Views)
Thanks, that is what i was doing ...... closing the LabVIEW application itself.
0 Kudos
Message 12 of 12
(834 Views)