Jump to content

How to tell if current VI is EXE?


Recommended Posts

I'm sure there's a better way to do this, and I'm relatively new to Application Builder.

I've noticed in my EXEs that when the top level VI completes execution, the VI stops and the run button, etc becomes visible, but the EXE doesn't close.

I could add the "Application Exit" function to the program, but when I'm developing, I don't want it to completely exit when the VI completes execution.

Is there a function or property (I haven't been able to find it, perhaps I"m not looking hard enough) that indicates whether the current VI is a VI or EXE? Currently, what I've been doing is parsing the top level VI for its filename extension and exiting only if it finds an EXE. It seems to me that there should be a better way to do this and I've just been missing it.

Thanks guys!

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.