LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

operating seperate vi using vi server

I am trying to operate three seperate vi's using vi server. I found an example vi(attached) which will help me with my situation. This example does not show me how to close a vi. This example does not show that. I want to close the previous vi when i open another vi. Can anyone tell me how to do this?
0 Kudos
Message 1 of 2
(1,951 Views)
When your subVI has a while loop, if you want to close it from the main VI, you would first use Set control Value (or Set Control Value [Variant]) to send a true to the stop button in the subVI and then close the subVI by setting FP.Open to false.
0 Kudos
Message 2 of 2
(1,946 Views)