Load a dynamic VI and keep in memory after execution

Hi guys,.

I use a strange setting that I have to follow a set of rules.

My problem is the following:

I have a main VI (which is compiled into an EXE file) that dynamically loads and executes a Subvi (the Subvi is not compiled into the EXE file). Calls Subvi has overall functional which is called only by dynamic screws, where the global is not a dependency of handmade VI and it is not compiled into the EXE file either. As you can see already, when I call my Subvi dynamic for the first time (for example it behaves like a SET function), it will define the functional global; then, when the dynamic Subvi execution stops, it releases the global functional VI. So if I call another sub - VI dynamic as a function of READING, he will not retain the information specified by SET Subvi.

I'm not allowed to do the subVIs or global one functional dependence of handmade VI and it can not be compiled into the EXE file, so what I have to do is load the Subvi Dynamics somehow and either keep in memory even when the execution ends, or keep the functional global in memory after the first call.

Anyone know how I would be able to do this?

Help is appreciated,

Drazen

Drazen,

When ' a VI dynamic calls functional overall for the first time, launch an another dynamic VI (Holder.vi) who has the functional overall as a Subvi.  Holder.VI does nothing except wait until the hand VI is called dynamic screws as long as Holder.vi is in memory, it will also keep the functional global in memory.

I have not tried this, but think that it will work.  It of a little awkward, but must have a minimum size and impact on CPU resources.

Lynn

Tags: NI Software

Similar Questions

  • Everytime I open Photoshop CS2, it starts as if it were the first time.  All the settings are default and it asks me to register even though I already have.  How do I save my settings and keep his memory?

    Everytime I open Photoshop CS2, it starts as if it were the first time.  All the settings are default and it asks me to register even though I already have.  How do I save my settings and keep his memory?

    Right-click on the exe to PS file and choose Run as administrator. I think you choose the option "check mail", it will not ask again.

  • 5.5 Dreamweaver do not load my jquery scripts and keep having problems of syntax

    I am new to using jQuery and I have problems with this jQuery script, it shows in the Live view in Dreamweaver, but when I try to see it in the fire he fox just a blank screen of white. also, I tried to use jquery - 1.6.min.js and jquery - min.js 1.7.1 and none of the selector commands work, nothing works. What I am doing wrong?

    Jquery issues liveview.jpg

    Jquery issues liveview2.jpg

    Jquery issues.jpg

    Jquery issues2.jpg

    Jquery issues3.jpg

    On line 15, you have to add a fence '>.

    GRAMPS

  • Sequence file unload the runtime starts and remains in memory through executions reference

    Hello!

    I am facing a problem using a dynamic movie file loading.

    Here's how my request: I'm testing the products on two sockets of different test so I use (a measure) parallel processModel.

    When lauching a test on one or another location of test, I still have the same trial customer template (MyProcessModelClient) in which I wrote a PreUUT call as usual. In this PreUUT custom, I get the serial number of a product, and according to this number I am a sequence of test script file and saving it (TestSequence_1.seq if it's on the test Socket 1) and TestSequence_2.seq if it is on the other.

    Then, in the MainSequence of 'MyProcessModelClient', I have a single sequence call TestSequence_1/2.seq dynamically according to the socket (TestSocket.MyIndex + 1). This calling sequence is then defined with:

    • option to load: dynamically load
    • unloading option: unload after executing the step

    And here's the trouble!

    First, the code stored in my "SequenceFileUnload" of TestSequence_x sequence reminder runs when the file is loaded... (I guess this one is loaded, copied in memory and unloaded right after...)

    Then what PreUUT reading for the next product on the same sockets of test generates an error in my script code tries to save the new file TestSequence_x (error-17206: '... a file of sequence with this path is already loaded "")!

    No idea why he acts like that?

    I don't know why you see the behavior that you describe and I'm unable to reproduce with a simple example (that I have attached). A few comments/suggestions:

    1. Make sure that you call Engine.ReleaseSequenceFileEx after that you create and save the movie file in PreUUT.
    2. The unloading of movie file callback will be called when you release the sequence file after you save it in the PreUUT because you release the last reference to this file in sequence.
    3. Make sure that you set the OptimizeNonReentrantCalls false on the sequence that you call in the TestSequence_x.seq.

    -Erik

  • Can u download music during the 3 month free trial and keep these songs after it ends?

    I kinda want to do the free trial but I fear when it is that I won't get to keep my downloaded songs

    Hello sylvie13,

    Thank you for using communities of Apple Support.

    I see that you're wondering on downloading music for listening offline when you use the Apple trial music of 3 months.  The trial behaves like normal subscription works and allows full functionality of Apple's music and iCloud music library.  If you recorded any music for listening offline, and you decide not to continue with a subscription to Apple's music, then you will not be able to play this music.

    If you do not renew your subscription to Apple's music, the songs you downloaded remain on your computer, but you cannot play them up to that join you.

    12 iTunes for Windows: Stream or download unlimited songs with Apple music

    Take care.

  • Windows load with black screen and does not start after windows updates

    Original title: load windows normally screen will not continue

    I went to my computer tower and I chose to install updates when closing.  I went back later to re - turn on my computer and now it loads to the top of the black screen that gives you 5 options. safe mode, safe mode with networking safe mode command prompt, windows loads normally and finally to load windows from last known configuration that works.  Problem is that none of these options work.  they all return me to the same screen.  Help this laptop came preloaded with Win XP Media Center edition and I can't get back to work.  IM assuming I need a XP disk support center but I can't find them anywhere! HELP PLEASE SOMEONE!

    Hi Burton089,

    Your hypothesis is right. To resolve this problem, we need to repair your installation of Windows using the Windows XP disk. We recommend that you contact the manufacturer of the laptop to check if they have the Windows recovery disk.
    See perform a repair Installation

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Firefox keeps historical memory after having settled "not the story never forget."

    I have Firefox 24.0. I always had my personal information set for ever, don't forget history and until a month ago, it worked fine. Now when I clear my cache with Ccleaner there is always 100-200 MB of storage in firefox temporary internet cache. Why is no longer removes these their output because it allows?

    Firefox does not use the IE temporary internet cache.

    Firefox has its own cache and you can see the use of the current cache on the subject: the cache page.

    You can open integrated on: pages through the bar of addresses as you open a web page.

    • Firefox/tools > Options > advanced > network > Web content caching
  • The ITV player / You Tube keeps in memory buffer and sound cut since I have done a Windows Update. How can I fix?

    I did a Windows Update on my XP

    The ITV player / You Tube keeps in memory buffer and sound cut since I have done a Windows Update. How can I fix?

    What is the speed of internet connection?

    http://www.Speedtest.NET/

    Don't make sure that no firewall or internet security thing trying to block streaming.

    Install the latest version of Adobe Flash Player: -.

    http://get.Adobe.com/flashplayer/

  • Tabs don't is not loading. The web page loads and then begins to re load instantly and keep it.

    When Firefox opens, it loads a blank tab. As soon as I click on any web site, it loads a milli-second and then pages on a reload of the cycle and therefore never stops loading the page at all. I is not serious if you reinstall Firefox, restart turn off computer java or anything like that.

    Hello Stepgar, it sounds like a theme or extension could be interfering here. Please, try to start firefox in safe mode once and see if the problem occurs here also.

    Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox

  • WMI provider host uses all memory and keeps crashing how to fix?

    Since I've upgraded to windows live messenger tools my full vista hard nuts, crashing ever few minutes and take the memory of the system.  now, my iphone software "does not either.  How can I fix wmiprvSE.exe?

    Please repost your question in Forum Windows Live Messenger to: http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.windows.live.messenger where people who specialize in this product will be more than happy to help you with your problem.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • TH3800.DLL loading of the causes "invalid access to memory location.

    Hello, new.

    I am writing a program of control of temperature thermotron for a school project and I'm having a problem with the drivers provided by Thermotron. I've unpacked their drivers and put them in the instr.lib folder, then I put the TH3800.dll included in C:\VXIpnp\WinNT\bin according to the guidelines. I am using the Student Edition of LabVIEW 2010 with SP1, and every time I load a VI library, I get an error message that says:

    Error loading "TH3800.dll".
    Invalid access to memory location.

    I have no idea what the problem is exactly and not sure what to do to fix it. Any suggestion would be appreciated.

    Thank you

    Simon

    I'm not positive, but it seems that is the drivers you have are corrupt, do not exist or are locked in memory somehow. It would certainly be a question that you don't want to appear with Thermotron, because they will have more details on their dll. I tried Googling on the subject and the name of the dll that is self open surprisingly little information. Certainly something to talk about them!

  • Is anyway to create fifth partition and keep the basic hard disk?

    Hi, my laptop is g7 1207se Pavilion and the and HP has made 4 partitions (C for windows) and the other 3 for system files and recovery, I want to create a new partition for my files (so I can recover my system without losing them) or install other operating systems, but apparently if I want to create fifth partition I have to convert my hard drive in Dynamics by the practice that I won't be able to boot from any partition but the C, which means no recovery and no other operating system.

    Is anyway to create fifth partition and keep the basic hard disk?

    Hello

    See the excellent guide of Daniel_Potyrala on the link in this regard.

    http://h30434.www3.HP.com/T5/other-notebook-PC-questions/how-to-REPARTITION-HDD-of-HP-notebook-with-pre-loaded-Windows-7/TD-p/742019

    Kind regards

    DP - K

  • 910219. how to download and keep the Windows Update files?

    Hello

    What is the ideal way to update Windows? now, Windows downloads the selected updates. where? I do not know! and after their installation, it removes the packages for installation on my computer. This causes the downloaded updates are lost, and I can't use them to similar machines that need to install the same updates. for these machines, I have to download updates again! This causes my internet to be charged again while it is not really necessary.

    the ideal way, in my view, is that I can specify a folder for the Windows Update service. It can use a default folder for that also. After selecting the updates, I want to install in my system, it checks to see if the update is already existing in the folder. only if NOT it downloads. then after downloading it maintains the package in the same folder after installing. installation should be done automatically as it is done now. Then I can move the folder to another machine. in the second machine, I also choose the update I want to be installed which are mostly the same as the first machine. for example, Windows Update only consumes my internet traffic for updates that are not yet downloaded. I wonder why Windows Update doesn't currently work the same way?

    by this method, I can at least use the consumption of traffic and I can access the latest updates with the easier and faster way. I I would like to choose a memory flash for this purpose and keep the folder inside.

    is there a way to achieve this?

    THX

    Security updates are available on image files CD ISO-9660 starting from Microsoft Download Center

    http://support.Microsoft.com/kb/913086>

    You can also download individual updates from the catalog and save to be installed later.

    http://v4.windowsupdate.Microsoft.com/catalog/en/default.asp>

    You can also download individual updates from the catalog and save to be installed later.

    http://catalog.update.Microsoft.com/v7/site/home.aspx>

    Click the Add button for each update you want to download. Once you have what you want, click on the link "go to download basket. Type or browse to the location where you want the saved updates to and then click on the button "Download Now".

    Once downloaded, you can then burn to CD or Flash...

    How to download drivers and updates from the Windows Update Catalog or the Microsoft Update Catalog

    http://support.Microsoft.com/kb/323166>

    Other links that may be useful:

    Search for a download

    http://www.Microsoft.com/downloads/search.aspx?displaylang=en>

    How to install multiple Windows updates or hotfixes with only one reboot

    http://support.Microsoft.com/?kbid=296861>

    For security and other fixes published for a given month:

    http://www.Microsoft.com/technet/security/bulletin/Ms#-* .mspx >

    Replace # with two-digit year

    Replace * with the three-character month abbreviation

    There are reported for that month, you will see the list of 'critical' patches 'important' for this month

    Check the 2nd Tuesday of each month - later in the day.

    For just the list:

    http://www.Microsoft.com/technet/security/current.aspx>

    Courtesy of MVP Harold Horne

    UTC/GMT is 12:58 on Wednesday, May 9, 2012

  • Load CSS dynamically in the ADF application

    Hello

    How to load css dynamically by application of the adf?

    Version of the ADF - 11.1.1.6.0

    Thank you

    ASIS

    Hello

    Please take a look at the URL below:

    http://www.Oracle.com/technetwork/developer-tools/jdev/index-092146.html [Configuration of an Application may use a custom appearance].

    1. you can have a range session variable watch the skin name:

    #{sessionScope.skinFamily}

    2 and set the value of the name of skin on the #{sessionScope.skinFamily} before the loading of the page.

    Please follow the steps above and the skinFamily name of the value to the variable expression sessionScope #{sessionScope.skinFamily}.

    In this way, we can dynamically change the skinfamily when running the application.

    Only a concern in this approach, is that before each page is loaded, we need to define the name of skinFamily.

    Thank you

    Amey

  • Loading external/dynamic text fields

    I have a recurring problem with my fle flash and it involves add external SWF and dynamic text files.

    Here goes...

    My flash is implemented with 5 sections. Each separate section is composed different maintimeline on frames and labeled. SO, when you click on a section in the navigation bar it tells the movie to access this section labeled on chronology. On each article, there is a space for the external txt file or an external swf. I've done many tutorials on how to load these things and I can actually get them to load when I put the instance of them on the first image with the code of the main action. BUT I still want more in the timeline panel.

    For example... When you click on a section, I put the area of dynamic text on this article which is further down in the timeline panel. When I test the movie I see that the text box there, but there is no text in there. When I put the same text on image 1 box, it works. SO I think it has something to do with the code to find the instance further to the bottom of the timeline.

    I hope this makes sense... I enclose my code. Any help would be greatly appreciated because I see this as a recurring problem for me in each section.

    Thank you! Sandra

    LINK:

    http://www.sandraschmitt.com/Coclico/index100.html

    CODE:

    Stop();


    Exteranl loaded text fields
    var textLoader:URLLoader = new URLLoader();
    var textReq:URLRequest = new URLRequest ("text_philosophy.txt");

    function textLoaded(event:Event):void
    {
    philosophy_txt. Text = textLoader.data;
    }

    textLoader.load (textReq);
    textLoader.addEventListener (Event.COMPLETE, textLoaded);


    handle events for the buttons...
    collections.addEventListener (MouseEvent.CLICK, clickSection);
    raison.addEventListener (MouseEvent.CLICK, clickSection);
    stores.addEventListener (MouseEvent.CLICK, clickSection);
    news.addEventListener (MouseEvent.CLICK, clickSection);
    contact.addEventListener (MouseEvent.CLICK, clickSection);
    home.addEventListener (MouseEvent.CLICK, clickSection);


    function clickSection(evtObj:MouseEvent) {}
    trace shows what is happening... in the output window
    trace ("the"+ evtObj.target.name + "button was clicked!" ")
    Go to the clicked section on...
    gotoAndStop (evtObj.target.name);
    }

    You must wait until you are on the frame where the textfield must try to assign the text - you can't assign text if it is not present.  You can probably load all the text and saved it as a variable in frame 1, but this variable must be available on the framework where you assign the textfield text charge.

Maybe you are looking for