Jump to content

Stop execution of VI


Recommended Posts

Hi All,

I have a VI which opens up a front panel of another VI depending upon the selection. but the problem I'm facing is as soon I execute the VI it starts executing the selected VI and I don't want that to be happen so i'm wondering is there is any way so that I can stop execution of that VI unless I press the run button.

Thanks,

Ravi

Link to comment
Hi All,

I have a VI which  opens up a front panel of another  VI depending upon the selection. but the problem I'm facing is as soon I execute the VI it starts executing the selected VI and I don't want that to be happen so i'm wondering is there is any way so that I can stop execution of that VI unless I press the run button.

Thanks,

Ravi

4102[/snapback]

Ravi,

If I understand your problem correctly, you have a subvi that executes when you execute the main vi this subvi is in. To prevent his from happening you need to right click on the subvi and select "Subvi Node Setup". Make sure that none of the options are selected. (see attached image).

I hope this helps,

Mike

post-283-1109872714.png?width=400

Link to comment
Hi Ravi:

Perhaps application control menu>Invoke Method>Open FP will do what you want.

post-1144-1109907891.png?width=400

It isn't really possible to "call" a sub-vi without executing the code, but this will open a vi's front panel from another vi, without actually calling the vi whose panel you open.

Hope this helps. 

Best Regards, Louis

4108[/snapback]

Hey Thanks Louis it works

Ravi

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.