05-18-2010 07:34 AM
hi,
i creating a new software product using labview, in this user can set a visual screen them self and can able to select the channel for each controls and displays, like a indicator, graph...
i created a Vi template for indiactor.vit, Graph.vit..... using menu user can pop up the indicator and graph, so each vi template will create a new vi and run on the main.vi, all vi templates are floating vi. so, user can able to access main vi also.
i just wanted to know how to read the running vi name. because, i want to save the vi name and also i want to close the all vi when the main vi exit.,
05-18-2010 07:54 AM - edited 05-18-2010 08:03 AM
Have a look at the snippet below. It should serve as a starting point.
The property node on the left provides a list of all the VI's in memory. Within the For Loop, you get the reference for each VI and you can usea property node toobtain the info that you need.