Remove or delete vi from memory

I am running a vi which will run ok the first time I run it but doesn't execute correctly subsequent times.  If I close the vi (return to labview startup screen) and reopen it, then it works again.  The vi in question uses labpython to run some python code.  It is not possible for me to change this code, which is where the underlying bug must be located.
Is it possible to remove or delete a vi from memory similar to closing vi and returning to labview start screen?  I know this isn't elegant and will be slow, but it seems my only option.
I am using Labview 2009 SP1
Go to Solution.

Hi everybody,
Thanks for your help.
Problem solved.
I had an instance of the VI that I was trying to dynamically open hidden in a case structure, once removed it all works great.
I have attached a copy of vi for anybody else who may have similar issues.
P.s. The Get vis in memory is a vi I found on the forum which is very useful.
dynamic ‏19 KB ‏20 KB

Similar Messages

  • Photos did not download and I deleted them from memory card. how to recover?

    Photos did not download to computer.  I deleted them from memory card.  Is there a way to retrieve them from memory card.

    If all you did was delete them it should be relatively easy to recover them BUT don't use the card until you've done it. Even after a format it's fairly easy but not after re use because you write over them. For more help read the replies here.
    You will need a card reader because I don't think it can be done in camera using the usb cable.
    "A skill is developed through constant practice with a passion to improve, not bought."

  • HT1277 How do I make Mail remove junk/deleted messages from the server? The only option tht works for me now is the "Remove from server" button at Account Info Messages on server.

    How do I make Mail remove junk/deleted messages from the server? The only option tht works for me now is the "Remove from server" button at Account Info > Messages on server. What am I doing wrong?

    Mail > Preferences… > Accounts > Advanced > Remove copy from server after retrieving a message

  • HT2500 How do I remove the deleted mailbox from the sidebar on Mail?

    How do I remove the deleted mailbox from the sidebar on Mail?  Anyone knows how? Hit delete and dragging to the Trash but none seems to work.

    Hi, try highlighting it the Right click or Control+click & see if Delete Mailbox is an option.

  • How can I remove or delete magazines from newstand app?

    How can I remove or delete magazines from newstand app?

    Thanks Rysz, that took care of it. Appreciate the quick advice..

  • Deleting sessions from memory in cf server

    I am trying to build an admin function that will allow an
    administrator to be able to see any active user sessions in an
    application and forcefully remove them if necessary. I have been
    trying to get the code below working. Everything seems to work fine
    until I try and delete the key from the structure.
    Has anyone out there done this successfully? Is there
    something that I am missing here?

    I am trying to create a dashboard application that will work
    within any in house cf applications and funciton in the following
    1. Allow the application administrator to view users who are
    logged in to app with a session.
    2. Allow the administrator a method to forcefully remove (or
    logout) user from application if necessary and clear memory on
    I realize that I can get the session collection at two
    different levels using two different methods...
    I am just having difficulty manipulating the values in the
    structs or deleting them.
    I see an additional method of cleanup() in the object
    SessionTracker. Has anyone used this method?
    Any snippets on how it works?

  • How to delete variable from memory

    I need to delete specfic session variables from memory. How
    do I do this? What command?

    Individual keys can be deleted with the StructDelete function
    <cfset StructDelete(session, "nameOfTheVariable")>

  • Deleting data from memory

    I am using a Enhancement for my requirement. The enhancement
    contains 2 Function exits., FE1 & FE2.
    In FE2, I export data in 'ABC' to memory and In FE1 I import data in
    memory to a variable 'XYZ' from memory.After importing,I delete the memory area.
    Everything works fne till here.
    But, suppose in a certain scenario after importing memory to variable 'XYZ' from memory,
    before I delete the memory area due to some exception the program stops in the middle.
    Now, again when I start the same process, I find my old data in the memory.
    This is causing me a lot of headache. Agreed, I use a memory area, I need to delete it to make sure evrything runs smoothly in
    future scenarios.
    Right now am using database indexes as follows:--
    export it to database indx(mm) id 'ZABC'.
    import it from database indx(mm) id 'ZABC'.
    delete from database indx(mm) id 'ZABC'.
    Are there any means of using memory areas for storage of my data ,
    so that when I start a new process the memory area which I used earlier should be freed by itself autmatically
    and start afresh, even if I didnt delete the memory area earlier.
    Thanks in advance,

        You can use memory ids for storing variables or even internal tables. The syntax for that would be
    export p1 = gt_mara to memory id 'ZABC'.
    and import p1 = gt_mara from memory id 'ZABC'.
    No need to declare p1 anywhere.
    and when ur work is done.
    free memory id 'ZABC'  which will clear the value. ( free the memory )
    Edited by: Kshitijsaxena on Aug 20, 2009 5:54 PM

  • Remove the delete button from MFBF screen

    I want to remove the delete button frmo MFBF screen.
    Please help.

    Create a transaction variant using SHD0 and make the variant as default variant for MFBF and hide the delete button in the variant.
    Hope this helps you.

  • Removing "Not Deleted" Mailboxes from a Database

    Before I go anywhere, let me explain what I mean by "Not Deleted" mailboxes - We will be deleting and recreating a pair of databases this weekend. A s part of this process, we move all mailboxes from these databases to the other 22 mailbox databases
    in the corporation, leaving our databases empty.  We then run a command to find the soft-deleted and disconnected mailboxes and handle them (remove the former and reconnect the latter so we can move them to another database).  When I ran this script
    on one of the two databases, I found that the database had two supposedly live mailboxes on it.
    So I ran Get-MailboxStatistics -Database and got info about these two mailboxes.  Neither shows as being SoftDeleted or Disconnected, and neither has a DisconnectDate.  So they should be live mailboxes, with an AD account.  So I checked them
    and found one had an account - but was on another database on a totally different server (in fact, in the other DAG).  And the other belonged to an account that was deleted last November.
    So, these two mailboxes appear to be zombies, with no life and no soul, but doomed to foil my plans to delete the database gracefully - they are all that stands between me and the success of my mission.  Now, I know I can take the database offline,
    delete the database files, and bring them back online and that will kill these zombie mailboxes, but I was hoping someone had a way I can delete them gracefully so I don't feel like I've just used a sledgehammer on my servers.  I tried Remove-StoreMailbox,
    but it requires that the mailbox have a status of either SoftDeleted or Disconnected - and from what I've read online, those are the only two accepted options.
    So I come to you for possible guidance - keep in mind that these are totally unnecessary mailboxes and I have no qualms about deleting the database if that what it comes down to.  Anyone have any other suggestions?  Thanks ...

    There were two active mailboxes showing from the "Get-MailboxStatistics -Database <database name>" command, even though the database showed no active mailboxes when running "Get-Mailbox -Database <database name>" command.  Neither of these
    had a disconnected date, and neither showed a value in the Reason field.  Now for your answers:
    1.  One of these mailboxes showed as being on another database, same GUID, etc, and was able to be accessed on that other database.  However, Get-MailboxStatistics - Database <database name> showed that it also existed on this database. 
    We couldn't connect an account to this mailbox, nor could we delete it - the command (below) said the mailbox was on another database (which it was).
    Connect-Mailbox -Identity <mbx GUID> -Database <name of the database we wished to delete> -User <account SAM account name> -Alias <account SAM account name> -Shared -DomainController <domain controller>
    2.  The command was what I show above.
    Post Mortem:  Since we had to delete the database, and since neither of them were needed, we just went forward with our work.  I was hoping we'd be able to remove these mailboxes gracefully, but none of the tools we had available worked for the

  • How to remove/destroy previous object from memory

    hi guys, I am getting problem of memory of having repeating object.
    Below is my code.
    import flash.system.System;
    var counter:Number=0;
    var systemMemory:TextField=new TextField();
    function showNext(event:Event){
        var myTxt:TextField=new TextField();
        systemMemory.text="Total Memory Used :"+System.totalMemory.toString();
    Above code does repeat textField Object continuously. Now I want to destroy previous created textField Object. So that my memory will not be hang. I got some where in the blog that with System.gc()  could clear garbage collection. But currently I am not working with system.gc any more I want to clear previous object in programatically way. Is there any way that I could destroy previous created object ?

    ok, thanks for your kind replay. Above is my test case. Actually, I need to do show 4 texfield in each FRAME_ENTER with different text properties's value + previous textFields should be remove and comes next 4 textField.
    import flash.text.TextField;
    import flash.display.Sprite;
    import flash.display.Stage;
    import flash.system.System;
    var frameNo:Number=0;
    var txtFieldGroup:Array=new Array();
    var mem:TextField=new TextField();
    function showTxtFields(event:Event):void{
        var eachGap:Number=100*frameNo;
        /* Removing data from txtFieldGroup if there any data */
        /* created textField objects and set it in an array */
        for(var i:Number=0; i<4; i++){   
            txtFieldGroup[i]=new TextField();
        // System Memory Message
        mem.text="System Memory: "+System.totalMemory;
        // Frame No increment
    here, from above script it created 4 txtObject in each frame no. I have clear array in each frame no. But I could not remove textFieldObject from CPU Memory. As you can see textField object of mem. As you say in earlier post making 4 different textfield at initialy  is nice option to control over CPU Memory. Is there any technique so that I could remove previous created textField object because . I am also having problem why my textfields are shows more than 4. I was expecting only 4 textField in each frame. Please you suggestion is required. Thanks for studying my confusion.

  • IPhone 5; iOS 8.1.2: How do I remove a deleted App from Cloud storage so that I may do a fresh install from the App Store?

    I Deleted a faulty App in order to do a fresh re-install from the App Store - but it keeps installing from Cloud storage and I don't know whether this is the original App.
    How do I stop this happening?

    An app cannot self install. If you are using the App Store app see the app listed with a cloud icon, it means that app was downloaded previously but it is no longer on your device. Tap the cloud icon to redownload the app.

  • Removing personalization deleted data from PO_REQ_DISTRIBUTIONS

    In R12, We tried remove personalization using Functional administrator responsibility done on Checkout distribution page and successfully removed so. We executed a test transaction to ensure that it works fine. the transaction was completed successfully after workflow approvals.
    However, later we observed that the data before the test transaction in PO_REQ_DISTRIBUTIONS_ALL is completed removed. During this period, no other change was made.
    Can it be possible that removing personalizations on the page could truncate data in the table ?
    Is there a way to figure out that.
    Appreciate your help.
    Edited by: 883172 on May 28, 2012 12:45 AM

    Removing the personalization is not expected to touch product tables at-all. I can think of few possibilities.
    + You may have executed some scripts along with the personalization task which could be causing this
    + Possibly the data in this table is restricted some newly created VPD and hence it is not showing up now.
    If you are sure that the data is removed from the database itself, please work with your DBA to use the flashback query to identify how exactly the records were removed. You need to do this ASAP so that you dont loose the history.

  • Deleting games from memory card

    I have three games saved on my memory card which do not work since having the phone sent back to be repaired, and I want to delete them, yet it wont work.
    Any idea how I can do this?

    Go to file manager, select card > options > format memory card
    If my post has helped you please click the white star on the right

  • Remove MXML Component reference from memory

    Hi Folks,
         I have a problem with component reference when it is open by PopupManager.
    I opened the mxml file thru PopupManager and close using PopUpManager.removePopup() method. But the reference of the mxml file still in the memory. If I opened it again and again means i have experienced performance issue.
    Have anyone solve this problem should be much appreciated.
    Thank You
    Arun P. Ganesh

    Hi Arun Ganesh,
    You also need to remove all the eventListeners associated with the PopUp before you close your PopUp. Otherwise you wil faced the performance issue the same way you are facing since the eventListners associated with the PopUp will not be removed when you close your PopUp instead you manually need to remove all the Listners before you close your popup otherwise your old listeners in adddition to new listeners exist as how many times you open and get multiplied.
    You can also refer to the thread that I have posted.
    Bhasker Chari
    Message was edited by: BhaskerChari

Maybe you are looking for

  • Old famous problem - AP LAP1142N can't join the controller - 4402, please participate, let's make a good guide!

    Hello folks, I really feel sorry for bringing up this discussion again. I wouldn't dare to ask this question if I find someone's clear cut suggestion/solution or an overview giving a detailed step-by-step procedure. People just suggest jumping throug

  • Dual Monitor Out of Frequency

    I am reposting this from another area to see if get a response here. I have a G5 Dual 1.8 machine with a GeForce FX 5200 DVI-VGA and ADC-VGA adapters. It drives to 17in Daewoo LCD monitors. It all worked fine with dual monitors until I upgraded to 10

  • I have a skype account But cant view it

    I have an account but when I go to view it it says please wait for page to load. I get in once every 10 tries. Why cant I view my accounts?

  • Record count per group

    When building a report in APEX, and using the break columns setup, how can you show a count at the bottom of each group showing the number of rows? I had thought I have done this in the past, but can not find an example of doing it now.. Any ideas or

  • No audio, no sounds! for a month! what! plss help!

    hi im using a presario v2000 laptop... before i was using xp...  then swtiched to windows 7 and Boom! no sounds.. . looking for multimedia audio controller..,,  ive been looking for its driver for a month now and still cant find the right compatibili