Hi, I've used a static reference to a subvi where I am changing a global varible before (3-4 years ago) and can't remember how I did that.
It was something like these attachment but now I am using LabView 2013 instead of LV 8.6.
The change in the global os not seen in the main vi (it seems like the invoke node run vi is not working with globals).
Furthermore the vi does close with the invoke node Close vi but not if I set the custom properties in the subvi to automatically close.