07-08-2013 04:48 AM
Solved! Go to Solution.
07-08-2013 04:55 AM
@Julia2013 wrote:
The project file is compressed in attached file with directory
you forget to attach something.
07-08-2013 08:02 AM
On the block diagram, right click on the sub-vi and go to Node-Setup. Here, you will likely find that the option "show front panel when called" is selected. Deselect this option. This is of course assuming 1 possible cause of your problem since you didn't post any code.
07-08-2013 10:40 AM
For each of the subVIs open the VI, go to the VI Properties (CTRL+I is the quick way), go to the Window Appearance "tab", select Default.
07-08-2013 11:16 AM
Well, to prevent us from guessing, you really need to show us some code as promised. 😉
SubVIs show the front panel if they are configured this way in the "vi properties...window appearance", or in the "subVI node setup" on the diagram of the calling VI. Of course the panel can also be shown or hidden at any time programmatically while the subVI is running.
As you can see, there are many possibilities to explain what you are seeing...
Are these subVIs interactive? Are they modal?
@Julia2013 wrote:
Much worse for "continuous button" , when I click it, the subVI will keep flickering, I even do not know how to close them!
The "continuous run button" is no way to run a VI, it is a debugging tool. Why would you even use it? To close runaway VIs, try ctrl-. (ctrl+period). Hold these keys down while closing popup windows.
07-08-2013 12:06 PM
Right-click the subVI, and make sure your options for the first 2 checkboxes are unchecked.
Or like someone suggested, you can go to each of the subVI properties, VI Properties --> Window Appearance and select default.
07-08-2013 07:56 PM
Oops, The network seems working bad yesterday! I missed the attachment, and I also lost the format
of the texts.
I did not find button to modify my message , so I post all of them again.
-----------------------------------------------------------------------------------------------
Hi All:
I have a problem running the main VI "ProConsume for HP8903B.vi"
Two sub VI will automatically pop out,
Ref HP8903B Read values.vi & Ref HP8903B Setup before read.vi
This is really boring, each time I click "single button " on the main front panel,
the subVI will pop out and take up most space of the screen , I had to close them manually.
Much worse for "continuous button" , when I click it,
the subVI will keep flickering, I even do not know how to close them!
The project file is compressed in attached file with directory as
how to hide\how to hide\E\engineer test VIs\NI Forum\LV Project folder\how to hide subVI.lvproj
Can anyone help me out! Many thanks in advance!
07-08-2013 07:58 PM
Hi pjr1121:
Thanks! But yes, I do deselect this option.
They still keeps poping out.
07-08-2013 08:03 PM
Thank you altenbach!
I have just uploaded my code now. Not knowing how to modify the first message, I post another message after it...
"subVI node setup" has been checked.
I will check "vi properties...window appearance" later.
These sub VI are a little unusual , I pass " references" to them.
Ah, the "continuous button" I mean is the one I made on my front panel. That is why I must post my code.
07-08-2013 08:18 PM
Thanks crossrulz,
I just tried this method, it works.