Open vi within vi and close the the last one

Hi all
I've searched the solution to my problem, but didn't find.
Short brief:
I have a VI that uses for authorization, then if all O.K it should open other VI("code-vi") and run it and close itself. 
I saw that some people recommended , that it can be done by just putting the "code-vi" in the right place, but when I'm following this method , the authorization VI can't be closed. 
the other method I tried is to put a sequence where the first stage is opening the "code-vi" with  "vi server ref" and the second stage is close this VI also with "vi server ref". with this method i'm facing two problems , the first is the fact that all the vi's are within a project , and I want that the "path refernce" would be generic - I can put the folder that holdes all the files in any PC and it would run without redirecting the path. 
The second problem is that I can't find the way to automaticaly run the "code-vi" when it invoked. 
which files should I attach if i'm using project ? 
Solved!
Go to Solution.

UdiWeiss wrote:
so from your answer I can't configure it as for a VI that it is not in project -> VI properties , execution. 
I'm not sure what you are trying to say here.  The "Run When Opened" property for the VI doesn't care how the VI was opened, just that it was opened.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Whenever i start my ipad2 the applications automatically starts to open and close automatically jumps from one screen to another

    Whenever i start my ipad2 the applications automatically starts to open and close automatically jumps from one screen to another cannot operate the ipad at all, tried switching off and back on again, also restored the ipad but of no use

    try restart
    http://support.apple.com/kb/HT1430

  • I bought the pack for students adobe creative cloud, already made the payment three days ago but when opening programs like photosop and illustrator puts the trial period has expired, how I can make them work?

    I bought the pack for students adobe creative cloud, already made the payment three days ago but when opening programs like photosop and illustrator puts the trial period has expired, how I can make them work?

    Hello Ibonedm,
    Sol 1. Please try sign out from Creative cloud Desktop App and quit it.
    1. Launch Creative Cloud application manager.
    2. Click the gear icon in the upper-right corner and select Preferences.
    3. In the Preferences menu, under General, click the Account tab.
    4. Click Sign Out from Creative Cloud.
    Then re-sign in and launch Photoshop CC 2014 and check.
    Sol 2. Check your Hosts file.
    Windows
    1. Choose Start > Run, type %systemroot% \system32\drivers\etc, and then press Enter.
    2. Locate Hosts file and move it to Desktop
    3. Right-click the hosts file and select Open. Select Notepad for the application to open the hosts file.
    4. Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK.
    5. Search the hosts file for entries that reference activate.adobe.com (for example, 127.0.0.1 activate.adobe.com) and delete these entries.
    6. Save and close the file and move it back to Etc folder.
    Mac OS
    1. Log in as an administrator to edit the hosts file in Mac OS.
    2. In a Finder window, choose Go > Go To Folder.
    3. Type /etc.
    4. Select the hosts file and move it on Desktop  open it.
    5. Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK.
    6. Search the hosts file for entries that reference activate.adobe.com (for example, 127.0.0.1 activate.adobe.com) and delete these entries.
    7. Move Hosts file back to etc folder
    8. Save and close the file.
    Then try launching Photoshop CC 2014 or Illustrator CC 2014
    If prompt for License this software, please click on it and sign in with the Adobe ID and Password which you have used to purchase the subscription and check if you can activate and use the products.
    Please respond , if any issue.
    All the best
    Loveneesh.

  • HT3702 I'm trying to open an iTunes account and was asked to provide one of each:credit card details or gift card details.i provided a gift card details and yet I'm being asked to contact the support team!!! Pls can someone help me out on this..thanx. Bre

    I'm trying to open an iTunes account and was asked to provide one of each:credit card details or gift card details.i provided a gift card details and yet I'm being asked to contact the support team!!! Pls can someone help me out on this as I cant enjoy my new iPad 3 without buying apps

    Brenda, the easiest way to contact the support team is thru the iTunes Customer Service website:
    http://www.apple.com/support/itunes/contact/

  • I HATE my new MACBOOK PRO, it will not let me open any PDF files and I downloaded the ADOBE READER three freaking times and it keeps saying that all the files are corrupt. I would rather have my 2008 Dell at this point. what is wrong with this thing

    I HATE my new MACBOOK PRO, it will not let me open any PDF files and I downloaded the ADOBE READER three freaking times and it keeps saying that all the files are corrupt or damaged. I would rather have my 2008 Dell at this point. what is wrong with this thing

    Perhaps the PDF files are corrupted.
    Hit the command key and spacebar, a blue Spotlight in the upper right hand corner appears, now type Preview and press return on the Preview program.
    Now you can try opening the PDF's from the file menu and see what's going on.
    If they are corrupted, perhaps they are trojans from your Windows PC or gotten from a bad location online.
    Download the free ClamXav and run a scan on the possibly infected folder.

  • HT4641 I will no longer use pages because I can open any rtf's and that is the majority of my files.  Any ideas?

    I will no longer use Pages because I can't open any rtf's and that is the majority of my files.  For years I have saved all files as rtf to allow me to open them on windows and with any word process program. Now the new version of Pages will not open them. Any ideas?

    You can let Apple know you want this feature back via
    http://www.apple.com/feedback
    and find another word processor.
    Are you talking about a Mac or an iPad/iPhone?

  • I installed CS3 Design premium upgrade yesterday onto my new mac OS X Yosemite 10.10.1. You gave me a new serial no (Case 0186381031). I have been able to open Photoshop, Bridge, Dreamweaver and Flash. The Illustrator, Indesign and Acrobat applications ar

    I installed CS3 Design premium upgrade yesterday onto my new mac OS X Yosemite 10.10.1. You gave me a new serial number. I have been able to open Photoshop, Bridge, Dreamweaver and Flash. The Illustrator, Indesign and Acrobat applications are not in my applications folder although there are folders in there with those names containing associated items. How can this have happened and what can I do?

    Janetc72338130 what happens if you try to reinstall Illustrator CS3, InDesign CS3, and Acrobat?  What version of Acrobat are you installing?

  • My iphone 4 wont open i tried charging and plugging to the computer. What should i do?

    My iphone 4 wont open i tried charging and plugging to the computer. What should i do?

    A reset, hold down the home/sleep button together until you see the apple logo and then release, then wait for the phone to boot back up.

  • In my iphone 5s music palyer is not opening its just blink and comes to the home screen.

    in my iphone 5s music palyer is not opening its just blink and comes to the home screen.

    What?

  • HT201066 QuickTime: I'm trying to open a .WMV file and I get the following message.

    I'm trying to open a .WMV file and I get the following message.
    "The document “.wmv” could not be opened. The movie is not in a format that QuickTime Player understands.  You may need to download additional software.

    Two other possibilities.
    Video Player - Divx
    Video Player - VLC

  • How can I set up new sites to open in new pages and not over the top of the current open page?

    how can I set up new sites to open in new pages and not over the top of the current open page?

    Middle-click ''(press down mouse scroll wheel)'' <br />
    or <br />
    {Ctrl + Click} <br />
    or <br />
    Right-click and use '''''Open in a New Tab'''''

  • Pe10: opening a previously saved and rendered project, the work area indicates non-rendered sections

    Pe10: when I open a previously saved and rendered project, the work area indicates a majority of non-rendered sections.
    When I open a previously saved and rendered project, the work area indicates non-rendered sections. My project is approximately 59 minutes and 27 seconds.
    What must be done to have a saved and rendered project, when open again, be rendered?

    TRUE_SEEKER wrote:
    The price tag of $245 for the Prodad's Mercalli  video software is too steep for me right now.
    Corel's Avid VideoStudio Pro X4 Ultimate (what a mouthful) includes Mercalli SE. It was on sale at half-price on Amazon Black Friday and I missed it - mostly because I was trying to find out what the 'SE' part of it meant.
    Annoyingly (very much so) it seems that Mercalli SE is pretty much the whole deal - a YouTube review of the Mercalli feature in VideoStudio by ProDAD (the Mercalli authors) included all the features I would expect to use.
    So it seems that the $80 VideoStudio product includes the $150 Mercalli plug-in. Thus a workflow starting with Mercalli stabilisation in VideoStudio and then switching to PRE is viable. I can't really afford the full price VideoStudio product so I'm hoping for a similar 50% reduction after Christmas.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children

  • I had problem with my apps,they open for a while and closes with in seconds i cant acess them

    i had problem with my apps,they open for a while and closes with in seconds i cant acess them and i had this with all apss,expect apple apps

    Do you have a lot of apps? Did you use a lot of apps recently? If so, many of them may still be resident in memory even if you aren't currently using them. Double-tap the home key and you should see the app tray with a list of most recently used programs. Press and hold the icons in the tray and remove the ones you don't use often to remove them from memory. Powering off and then back on might also help.
    My wife's iPod does that sometimes, and it's usually because we run out of memory due to apps remaining in memory even when not used. The suggestion above is how we normally fix the problems.

  • HT4527 I have had to open itunes on a new computer because my last one died, and I didn't have any backup. Most of my purchased music I got back, but some songs didn't appear and i have to buy them again. Why??

    I've had to open itunes on a new computer as my last one died and i didn't have backup. but i've noticed many of my purchased songs have not come back to my itunes to download, which means i have to buy them again. Can anyone help me? Most of my purchased music was there ready to load, but about ten weren't. thanks.

    Were they originally bought with a different Apple ID?

  • When I have 4 or 5 tabs open, selecting one of them often forces that tab to open as a new window and close in the original window

    FF 32.0.1. Moving between tabs that are already open, clicking on one which I have opened before forces it to close and open as a new window, which is a real pain. It seems to happen when I have 4 or 5 open tabs, rather than 2 or 3.
    This has only been happening in the last week, after a clean Windows reinstall.
    I've searched and found lots of people have problems with new windows opening when they just want a new tab, but this seems to be about opening fresh tabs rather than returning to one that's already open, so I can't find the same problem as I describe.

    This can happen if you drag a tab slightly down in the browser window while clicking.
    Firefox has a feature called tear-off tabs
    You can detach a tab from the current window and open it in a new window by dragging a tab in the browser window.
    You can also do this via the right-click context menu of a tab: Move to New Window
    You can drag that tab back to the tab bar in the original window to undo that detaching.
    * https://addons.mozilla.org/firefox/addon/bug489729-disable-detach-and-t

Maybe you are looking for