Hi,
I'm sometimes having trouble with calling subvi's with vi reference.
Our labview application is some kind of a loop that calls subvi's. The appearance properties of the called vi's are set so that it should be shown when called ("show frontpanel when called" and "close afterwards when originally closed" are both enabled).
The problem is that the vi's are not shown when called!
Am I forgetting something?
The thing is, that when the called subvi itself is calling a another vi with the same appaerance settings, this latest one is shown (but still not the subvi called directly from the main program). Some vi's called from the main program don't have subvi's so nothing is shown for the user when I call them in my main program.
In code, I simply open the reference to the vi, then I invoke the "set control value" method (where we specify the control name, type descriptor and some flatten data) and then I invoke the "Run vi" method with the wait until done flag set to true.
can someone help me with this problem?
thanks a lot in advance
kind regards,
Marino