Jump to content

While calling a new vi, closing the other vi


clara

Recommended Posts

Hi everyone,

 

I am designing a useful interface for a programmable robot system.

 

Firstly, i wanted to add a language selection to make easy the interface for the users. This is ok.

When the user select "the language", then "the main program" must be opened. So, i called "the main program vi" in the block diagram of "language vi".

 

The problem is that:

When the main program opens, the language page must be close. But i couldn't find the way to close the first vi.

I tried some of ways but they didn't work. Do you know a simple way to close the first vi? and also the second vi must continuously run.

 

If you download the 3 files, and open only the "page1" file. You will understand what i want to say, and you can see my block diagram codes for calling a vi.

 

Please help me.

page1.vi

page2.vi

Giris.vi

Link to comment
  • 3 months later...

I think this is what you want.  In the future when you post here, be sure to include all the subVIs and control typedefs that you use.  It will make it a lot easier to help you!  Probably why there are no answers til now, yet many downloads of your VIs.

 

post-4616-0-70733700-1386856051_thumb.pn

 

I changed the name of your controls from "OK button 2" to "Turkish" or "English" as needed.

page1.vi

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.