How to close open subvi's in the beginning of running the main vi.

Hello,
I've got a pretty large application that is dependant on several subvi's.
I'm searching for a way to close the subvi's when I start running my main application.
All these subvi's need to be closed during the initialisation phase of my main application. (before it is doing its main task.)
I know it is possible to ask for the VI's in memory for my LabVIEW application, but I don't know how to close a subvi programmatically. (unload it from memory)
What I want to do is check for a list of open subvi's in the beginning of my main application. (only a limited set of subvi's)
If one of the subvi's is indeed open I want to close it (unload it) and then start doing my thing from within the main application.
Note: The subvi's need to be closed so that I can load them dynamically later in the program. If one of the subvi's is open and I start running my main application I get an incorrect behaviour.
Thx for the help!
Message Edited by noxus on 11-14-2006 08:07 AM

Noxus,
I programmed a small example.
If you have further questions do not hesitate to come back...
BR,
ThSa
(Additonally I added the screenshot in term of that you do not have LV 8.20)
http://www.newgistics.com
Attachments:
VI_Server_LV820.zip ‏12 KB

Similar Messages

  • How to close Open Outbound Deliveries

    Hi All,
    please could u tell me how to close Open Outbound Deliveries?
    Regards,
    Ramesh

    Ramesh,
    The delivery will be open until the PGI is completed and fully invoiced. If you don't want to inoice, then PGI needs to be reversed and delete the delivery.
    If all the subsequent documents are created for full qunaity and still the delivery is open, then you will need to set the status as completed in the debug level. Consult your ABAP expert.
    Prase

  • How to close opened URL

    Hello, I have a question on how to close opened browser window/tab.
    I having the following rightnow
    NSURL* url = [ [NSURL alloc] initWithString: urlBase ];
    [[NSWorkspace sharedWorkspace] openURL: url];
    I looked around and openURL returns a bool. How can I do something like [browserWindow close]?
    I thought about using js in the opened URL page to close the window/tab, but closing from where I launched the URL would work better for me.
    thanks

    837703 wrote:
    Hi I'm a little green with the URL // Runtime class and I don't know how to sure up this method.
    Essentially I want to make close an opened url page with a timer actionlistener.
    You should check out:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    But anyhow, your statement
    Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url);Actually returns a Process Object.
    So you should change it to something like:
    Process  myProcess = Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + url);Then if you want to kill the process you can just do:
    myProcess.destroy();hope that helps.
    take a look at:
    http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Process.html
    for more Info on processes

  • When I open a second Profile while another is running the second cannot access the Internet until I close the first. Why?

    I often have occasions to run more than one Profile simultaneously (usually because of different add-ons I've installed on different Profiles). In the past this worked fine. Now, all of a sudden, if I open a second Profile while the first is running the second cannot access the Internet until I close the first. It keeps looking for a website, and failing, until the system "times out". If I close the first Profile, the second is then able to access the Internet.
    Note: this is not a problem with opening a second Window in Firefox. As long as they are from the same Profile they will both work fine. Nor does this stop me from using a second Profile to look at website files I have saved to my computer. The only problem is that the second Profile cannot get on the Internet.

    I just checked, the setting was for "Automatic proxy configuration URL", in the past it was set on "No Proxy". So I'll try changing that (and/or try other proxy options), and see if that solves the problem.
    If it does, then just one (academic) question remains: why did that happen in the first place? I don't care what the answer is, so long as your suggestion solves the problem.
    Thanks.

  • How can I open two screens of Adobe digital editions at the same time?

    How can I open two screens of Adobe digital editions at the same time?

    I doubt that you can. Doesn't the Sound prefpane require you to select just one output device?

  • How can i open a DOC or TXT file and insert the data into table?

    How can i open a DOC or TXT file and insert the data into table?
    I have a doc file . the doc include some columns and some rows.(for example 'ID,Name,Date,...').
    I'd like open DOC file and I'd like insert them into the table with same columns.
    Thanks.

    Use the SQL*Loader utility or the UTL_FILE package.

  • How do I open a .pdf file that I transferred to the ipod touch 5 using Itunes?

    How do I open a .pdf file that I transferred to the ipod touch 5 using Itunes?  It is shown in the Adobe Reader Documents window on Itunes. All help greatly appreciated!

    Is it not showing up in the documents tab when you open Adobe Reader?

  • My problem is after updating to Yosemite does my mail client any longer. I can not even open the mail, and when I "forced closes" mail and try to open it again to go in the entered settings running the colored wheels around and allows me only to forc

    My problem is after updating to Yosemite does my mail client any longer. I can not even open the mail, and when I "forced closes" mail and try to open it again to go in the entered settings running the colored wheels around and allows me only to forcing close again? does anyone have a solution to the above problem?

    You mean the default OS X mail app? Try reinstalling OS X Yosemite if that's the case.
    If you are referring to 3rd party mail applications, that's a compatibility issue. Some apps don't work in the new operating system. You have to wait until the developer updates the app, or you have to revert back to Mavericks to continue using it.

  • How do I open CS4 files after Upgrading to Cloud? The older files are showing up gray and won't open

    How do I open CS4 files after Upgrading to Cloud? The older files are showing up gray and won't open.

    InDesign files are compatible wih all the newer versions. A cs4 file sh
    Could you answer a few questions to help us better understand the issue:
    If you are trying to open the files by double clicking them, do they give any error??
    Have you tried to drag a file into indeisgn, if yes what happends when you do that??
    Is there any error message that you get??
    Also if you create a new files in InDesign CC does it show up as grey like the cs4 files or do they open fine??

  • How can i open my cellular data. I dont have the cellular network in my settings

    how can i open my cellular data. I dont have the cellular network in my settings. Im using Iphone 4s bought in Japan and ulocked here in the philippines using Globe carrier

    Are you trying to set an APN setting on it?
    Settings>Cellular>Cellular Data Network

  • How do I open a playlist in a new window with the new version 11.01

    How do I open a playlist in a new window with the new version 11.01

    I use playlists a LOT to organize my music. It is extremely important to me to be able to open playlists in their own wondows. I am upset to see this feature removed. Please enable this functionality as soon as possible.

  • How to close open windows with ios7, How to close open windows with ios7

    How to close open windows with ios7, How to close open windows with ios7?

    Guess they thought we needed more exercise so now we have to swip them to close.....miss iOS6. My eyes are blurry now after looking at my phone, and my arms are tired from swipping lol

  • How to close OPEN RELAY on Exchange 2010 EDGE server

    How to close open relay on it?
    Server passed OPEN relay test and we would like to avoid spammers attackin us.with best regards
    bostjanc

    Get-ReceiveConnector | Get-ADPermission | where {($_.ExtendedRights -like "*SMTP-Accept-Any-Recipient*")} | where {$_.User -like '*anonymous*'} | ft identity,user,extendedrights
    Identity                                User                                   
    ExtendedRights
    EXCHANGE-EDGE\Default internal receive co... NT AUTHORITY\ANONYMOUS LOGON            {ms-Exch-SMTP-Accept-Any-Recipient}
    Recreated RECIEVE CONNECTOR on EDGE solved it.
    bostjanc

  • After reinstalling game, the achievements from Game Center doesn't uploaded to the game and starts from the beginning . All the achievements are seen in the Game Center . How could I upload the last progress into the game?

    After reinstalling game, the achievements from Game Center doesn't uploaded to the game and starts from the beginning . All the achievements are seen in the Game Center . How could I upload the last progress into the game?

    Hello there, Elena Lyubina.
    The following Knowledge Base article offers up some great steps for troubleshooting issues with an application not functioning as expected:
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open
    http://support.apple.com/kb/ts1702
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • HT1766 How can I backup the iPad to the non-C drive of the computer that runs the itune?   I have already setup the library at a NAS and seems only media file are stored int he library.  iPad backup still need to take use my C: drive that is running out o

    How can I backup the iPad to the non-C drive of the computer that runs the itune?   I have already setup the library at a NAS and seems only media file are stored int he library.  iPad backup still need to take use my C: drive that is running out of space

    Windows - Change iPad default backup location
    http://apple-ipad-tablet-help.blogspot.com/2010/07/change-ipad-default-backup-lo cation.html
    Windows - Changing IPhone and iPad backup location
    http://goodstuff2share.wordpress.com/2011/05/22/changing-iphone-and-ipad-backup- location/
     Cheers, Tom

Maybe you are looking for

  • PCUI GP Deployment ERROR on Standalone Java Stack

    We are in the midst of deploying the PCUI archive via SDM (also tried JSPM) Got the following error Aborted: development component 'pcui_gp/isr/cfg'/'sap.com'/'MAIN_ERP05VAL_C'/'2515722'/'0', grouped by software component 'SAPPCUI_GP'/'sap.com'/'MAIN

  • I have not found the scroll bar I need yet... any help would be great!

    Anyone know where I can get a scroll bar that has two important capabilities: 1). It can be re-skinned so that the dragging scroll bar stays at a fixed height. I re-skinned the ScrollPane component and the bar re-adjusts itself depending on the heigh

  • Can't resize MIDI region

    I have encountered several regions while using Logic that won't let me resize them. It will let me resize them to a certain point (let's say I am grabbing the beginning of the region) and then no matter how far I move the beginning of the region to t

  • Email button invisible

    On a click event for a email button I have apply the script: var  myDoc = event.target; var  address = ""; var  sub = "Request"; var  msgBody = "Please see attachment.\n\nThank You!"; var  Sender = "Department_A";  myDoc.mailDoc({ bUI : false, cTo :

  • Use sy-uname/partner guid to check partner function

    Hi!   I have a userID, and would like to use it to check to partner function. What FM can I use?   Well, I know that <b>FM "BP_CENTRALPERSON_GET"</b> is able to find the <b>Partner GUID</b>. But how should I find for the Partner Function, such as he