Jump to content

exit labview without effect?


Recommended Posts

Hi everybody,

I have a problem with the exit labview VI in a compiled exe (LV 8.20):

I have the "exit LabVIEW" VI in the last frame of my main VI:

post-885-1165490863.png?width=400

this should close the RT Engine instance of labview, but it does not. the VI stops, but remains open

has anyone an idea, why?

Link to comment
Hi everybody,

I have a problem with the exit labview VI in a compiled exe (LV 8.20):

I have the "exit LabVIEW" VI in the last frame of my main VI:

post-885-1165490863.png?width=400

this should close the RT Engine instance of labview, but it does not. the VI stops, but remains open

has anyone an idea, why?

Blame it on the sequence structure!

Are you connecting to this VI while it is executing on the RT system? If so, I'm not sure it would exit the LabView development environment... Besides, I'm not even sure what that function is supposed to do in an RT environment...

Link to comment
Blame it on the sequence structure!

Are you connecting to this VI while it is executing on the RT system? If so, I'm not sure it would exit the LabView development environment... Besides, I'm not even sure what that function is supposed to do in an RT environment...

I am just pointing out the obvious:

Is that the only function you have in the last frame? Do you also close the front-panel in the last frame? make sure you don't run into race condition, close the FP first then call the function.

Link to comment
Blame it on the sequence structure!

Are you connecting to this VI while it is executing on the RT system? If so, I'm not sure it would exit the LabView development environment... Besides, I'm not even sure what that function is supposed to do in an RT environment...

no, it's not running on a RT system, but you are right with your comment!

using "quit labview" on a RT system results in "strange behavoiur" e.g.: your application remains in memory can restart if you open max and edit tasks!

the reason for my problem was an other one:

If you have an event structure in your application, which catches the "application instance close" event, the quit labview function will not work any more. I have reported this as a bug and I am waiting for confimation ...

You can try it out with the attatched VI, the behaviour is reproducable on my system - even in the development environment LV will not close on calling "close labview", while calling the function without the event structure closes labview (as it should).

thank you all for your quick response!

Download File:post-885-1165504596.zip

Link to comment
  • 1 month later...

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.