LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

close subvi window without "close afterwards when originally closed"

Hi everybody,
I've got a problem concerning Labview. In my program I need to update a graph in a seperate window. Therefore I made a subvi to display the data. The problem is now to close the window afterwards. The subvi is inside a while loop to get updated data all the time. I tried to use the "close afterwards when originally closed" but then the graph is closed after every loop. But it should be opened during the loops. I want to close the window manually by sending a false or anything else. Does anyone know an answer to my problem? Please help!!!
Thx
Thomas
0 Kudos
Message 1 of 5
(5,767 Views)
You can close the VI's FP by using VI server techniques. Open a reference to the VI (use Open VI reference from the Application Control Palette, do this outside the loop) and wire that reference into a property node. Then, select the FP.Open property, place the node after the loop and wire F into it. When the loop finishes running, the FP will be closed.

___________________
Try to take over the world!
Message 2 of 5
(5,759 Views)
Hi,

Please find attached example useful as a reference to your problem solving 🙂

Cheers!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Message 3 of 5
(5,749 Views)
Thx for your help. It finally worked...
0 Kudos
Message 4 of 5
(5,736 Views)
You're most welcome!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 5 of 5
(5,713 Views)