LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

close the vi with vi server

Is there a method to close a vi that's started with vi server?

0 Kudos
Message 1 of 3
(2,316 Views)

Well there is always the Abort VI Invoke method that can be called. But, that's not the best way. How would you usually close that VI? Is there a stop button? You can access that by get a list of all controls of the VI.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 3
(2,311 Views)

You can close the reference and it'll be removed from memory IF there are no other demands on it.  Read the help file on Close Reference Function for details.  Like the abort function this acts somewhat like the stop sign so you need to be careful with it.  Other options are queues, notifiers, global variables, functional globals, shared variables.

 


--Using LV8.2, 8.6, 2009, 2012--
0 Kudos
Message 3 of 3
(2,296 Views)