I call a sub vi and at the same time the window of
the main VI is closed (that works fine).
On the sub VI I have the posibility to toggle the desctop, but afterwards I have problems with reappearance of the window, sometimes it works,
sometimes not, I have problems to find the problem.
See the file, that is attached.