Jump to content

Sub VIs launching themselves on project-open


Recommended Posts

Hello there,

I have an application with a main vi that can launch sub-vis as separate widows/processes. These child windows contain a plot. I launch the child window using the code snippet attached.

This all works perfectly. However, when I open the project file it so happens that the child windows open as well, even before I have opened or run my main vi. I don't understand how they are being launched. The same thing happens if I build an executable.

Please can anyone help?

Thank you,

Martin

post-13935-019818200 1277381067_thumb.pn

Link to comment

THowever, when I open the project file it so happens that the child windows open as well, even before I have opened or run my main vi. I don't understand how they are being launched.

Hi Martin

Not sure why a VI opens when you load the LabVIEW Project - it should not load any VIs into memory, only check dependencies (I think).

But there is a Show Front Panel When Loaded option in VI Properties that you may have checked causing this?

Cheers

-JG

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.