Dynamic load of Labview VI

Hello

I tried to run a VI within another VI in Labview 8.0. I studied the example of the dynamics of the load, but when I run my own the VI that I call the "VI principla" does not open, it runs but it used literally opened (I must look in my files and manually open, now I see that it is running and working, but it doesn't not open so I can handle)

I think the problem lies in the way that I save, it most like a herachy or something. I hope someone can help me and I hope my question is clear.

Hi special K,

I m do not know why you need, if you use the call made by the reference node, but you can use for example the property FP.open = true.

Mike

Tags: NI Software

Similar Questions

  • Impossible to find dynamically loaded VI

    I am updating a code of LV6.1 to LV2011. The application works well before you build it and install it on another machine. When I install and run it on the other machine, it tries to open a file of reference, but it can not find a VI named DSA8300.vi. I get the following error message.

    Reference VI opened in InitScope.vi-> PATAR.vi->

    Path of the VI: c:\PATAR3.0.2\Range_RC3\Plugins\Scopes\DSA8300.vi<\b>

    Built Application or shared library (DLL): ensure that all loaded screws dynamically were correctly included in the specification for the application or a shared library build.

    But I checked the properties of my generation, and the file has been correctly included in the specifications of construction as a dynamic VI. What else can I check?

    Thank you very much.

    This thread can be useful.

    http://forums.NI.com/T5/LabVIEW/can-t-find-my-dynamically-loaded-VI-path/m-p/1124341/highlight/true#...

    Have you tried searching the forum for you the question?  There are others.

  • Passing parameters to dynamically loaded screws

    Hello

    I have a data acquisition application that uses an analog input, PCI-Hardware.
    With this material I enjoy different channels and display them in audio
    In operation 'Preview' I enjoy 4 channels and display them in 4 audios.
    I have therefore a quarter of the maximum sampling for each channel.
    Operation 'zoom' I only enjoy a channel (at the material max sampling rate)
    and display the data in the selected channel (the other channels are igored in zoom mode)

    My idea is to launch the different screws according to the mode (overview, zooom).
    I could imagine, that a good approach to perfom this task calls different screws
    of the main program.

    Unfortunately, I do not understand how to pass parameters to the VI if I call them
    using knots "reference open VI", "call for reference" and "close reference VI.
    I tried to understand the Labview "Example of dynamic load", but it's too complicated for me.
    Can someone give me a simple example to dynamically load the screws or y at - it white papers
    or nugets on this topic?


  • How to query a Subvi dynamically loaded to its input terminals names?

    Hello

    I have an application where I use dynamically load the Subvi and I need a way to query the Subvi for its names of input terminals.  I'll use several different Subvi now and in the future and will not experience the terminals.

    Any help would be greatly appreciated.

    Thank you in advance!

  • Return of dynamic loading vi loses focus

    Following the example of NI Loader.vi dynamic, my vi charge, runs and returns properly.  Howerver, when you use the same code to call from my main program, vi of the same load and runs, but in return, emphasis is not on the original vi.  A click of the mouse on the screen is necessary for the development of restoration.  Given that my program is heavilly keyboard based, it is a nuisance, and users may think that the program froze.

    Looking at the appearance of the window, showed that, in the Example.vi of dynamic load display front panel and narrow Panel have been verified.  These were not checked in my program.  When activated, this seemed to solve the problem.

    It seems that the first vi needs both to take focus on return of a vi loaded dynamically.

    Thanks for the tips.

  • Problem loading of LabVIEW examples: "an error has occurred - system OR Web server does not work."

    On one of my computers, whenever I try to load any LabVIEW example, it does not load and I get this message. It works on other computers.

    How do I tell me what's not on the computers?

    OK I get it; the trick is to learn how to do a search of this forum with the right combination of magic words, and it may take a few tries. It seems the least better words. The words magical combination "OR Web Server system" showed me to go to the Panel > programs and repair LabVIEW; problem solved.

  • Question about the Manager of messages in queue and dynamically load/close Subvi

    Hi, my dear LV users

    I learn how to use the machine in queue Sate Architecture. I created a simple project, including a "main.vi" to dynamically load a sub vi 'sub_Vi2.vi' in the case of "initialize". The sub vi simply open a configuration file and load affecting some control and write these values in the configuration file. If the configuration file is not created, the sub vi creates until the user closes the Subvi.

    In the case of "Get out" of my "main.vi", I send 'true' to the Subvi stop button to stop running it. But the sub vi did not write these values back to the configuration file, or created a new when I delete the configuration file.

    There is another vi I made 'main1.vi', which loads dynamically and close the Subvi. And it works as well as I expected: create the file and write data!

    Can someone help me understand the code? I've also attached the front of diagrams and source code. It's in 2012 LV.

    Best regards

    Li CQ


  • How to debug several copies of a dynamically load vi

    I have a Subvi, which is dynamically load by several sie. How can I debug the Subvi for each instance? It seems that I can open only a copy of the Subvi but I want to get the front panel for each instance. Is this possible? Thank you!

    Tom

    You must do two things to open several instances of the same VI dynamically.

    • Make sure that the VI is reentrant.
    • Set the input options on Open VI refers to the value 8, indicating that you open the VI for reentrant run.

    In the case otherwise you simply open a reference to the same VI twice, and this instance cannot run in two places at the same time. The second call to the VI will have to wait for the first at the end.

  • App Builder with dynamically loaded VI - please help

    Hello

    Please take a look in the ZIP file attached with the sample project. The appellant load sub dynamically. This works well in the development environment (LV 2011) but when I build the EXE, it stops working. Please take a look; Ideally, repost fixed project in this thread, others to take advantage of the way to solve this problem...

    Thank you!

    JorgeinSD

    Hi Jorge,.

    This is the problem of the ususal: in the executable path to your dynamically loaded VI Exchange.

    You have defined to be included in the executable. If the path passes to Appdir\DynLoad.exe\LoadMeDynamically.vi, but you try to open the path AppDir\LoadMeDynamically.vi...

    Options:

    -check the execution (by the property node) environment to decide which way to use

    -change the location of the VI to "support the directory", this will be a folder named 'data' next to your executable file. Call the VI of this folder. You can do the same thing inside your project to have the same calling conventions in the development and runtime environment...

  • Dynamically loading the file location

    Hi all

    Please give me an idea on dynamic locations. At present iam using the localization file it works fine locally, but is new scenario: I need to download the file location on the server side and dynamically change the value.

    Please help me if anyone has any idea on this?

    Thank you

    I'm not saying it's impossible, but I really don't see a way to use the built-in location facility and have the ability to dynamically load the additional locations.

    My only suggestion is to establish a similar device yourself.

    If you are looking for something on the basis of this, in addition to the Blackberry application, I was looking at the Android application that uses XML "translation."  Using this approach, you would be able to download a new XML file to get a new translation.

  • dynamically load the Options in a drop-down list in C++

    Hey guys,.

    I'm trying to dynamically load items Option in a drop-down list by using C++.  I have a function in my class of WorkManager file that does the trick:

    QStringList WorkManager::getListOfItems() {
        int i = 0;
        QStringList taskNames;  // used for debugging mainly, so i can print the list out to debug
        QList  myObjects = m_model->toListOfObjects();
        DropDown * dpList = bb::cascades::Application::instance()->scene()->findChild("scriptListDropDown");
        if (dpList != 0 ) {
            dpList->setSelectedOption(0);
            dpList->removeAll();
            for (i = 0; i < myObjects.size(); i++) {
                Task * myTask = (Task *) myObjects[i];
                taskNames.append(myTask->taskName());
                dpList->add(Option::create().text(myTask->taskName()).value(myTask->command()));
    //          delete myTask;  // do I need to delete the task object?
            }
    //      qDebug() << "WorkManager::getLIstOfItems(), ---> list of tasks is : " << taskNames;
            return taskNames;
        } else  {
            qDebug() << "WorkManager::getListOfItems(), ---> dpList was 0";
            return taskNames;  // empty list
        }
    }
    

    I also found this thread:http://supportforums.blackberry.com/t5/Native-Development/Adding-options-to-a-DropDown-from-c/m-p/21... that helped me get the filled drop-down list when the application starts.

    However, I need to re - fill list from time to time, when the list (a GroupDataModel) changes.  calling the function above a second time anywhere in my application appears to hang the application immediately.

    I think / thought it might have something to do with the slot for the onSelectedValueChanged, but I can't understand it.

    It seems down right when I do dpList-> removeAll().

    I also can't seem to find the right place to call this function to an object of type in my class.  I think it's because the drop-down list is not ready yet as the dpList * is always 0 unless what I call after the line:

    app->setScene(root);
    

    in the applicationui.cpp file.  Calling it works on start-up, but trying to update the list later (by removeAll() and recreate) causes the app crashing.

    is there a better way to do it?  .. and make it safer?  I can't understand how to do this.

    Thank you!

    J

    First, drop the:

    dpList->setSelectedOption(0);
    

    Not only if it is not necessary, but it will explode your application if the function is called when there is already no options in the menu dropdown.

    Also, do NOT delete the task, because it is still owned by the datamodel. I also see that you use type casting C, which just blindly accepts your cast, even if it's a mistake. Instead, if you know for sure what kind it will be this way instead:

    Task* myTask = static_cast(myObjects[i]);
    

    If you are not sure if the type you are casting the is the type you need, use the dynamic_cast instead:

    Task* myTask = dynamic_cast(myObjects[i]);
    

    The advantage of this more static_cast , is that if you try to perform a type cast is not compatible, then myTask will be set to NULL.

    Alternatively, Qt offers a replacement for dynamic_cast which works on platforms where is not regular C++ casts.

    Task* myTask = qobject_cast(myObjects[i]);
    

    It is functionally equivalent to dynamic_cast, but as I said, it works on all platforms that Qt exists, whereas dynamic_cast cannot.

    Once you did get back to us.

    oddboy wrote:

    Hey guys,.

    I'm trying to dynamically load items Option in a drop-down list by using C++.  I have a function in my class of WorkManager file that does the trick:

    QStringList WorkManager::getListOfItems() {
        int i = 0;
        QStringList taskNames;  // used for debugging mainly, so i can print the list out to debug
        QList  myObjects = m_model->toListOfObjects();
        DropDown * dpList = bb::cascades::Application::instance()->scene()->findChild("scriptListDropDown");
        if (dpList != 0 ) {
            dpList->setSelectedOption(0);
            dpList->removeAll();
            for (i = 0; i < myObjects.size(); i++) {
                Task * myTask = (Task *) myObjects[i];
                taskNames.append(myTask->taskName());
                dpList->add(Option::create().text(myTask->taskName()).value(myTask->command()));
    //          delete myTask;  // do I need to delete the task object?
            }
    //      qDebug() << "WorkManager::getLIstOfItems(), ---> list of tasks is : " << taskNames;
            return taskNames;
        } else  {
            qDebug() << "WorkManager::getListOfItems(), ---> dpList was 0";
            return taskNames;  // empty list
        }
    }
    

    I also found this thread:http://supportforums.blackberry.com/t5/Native-Development/Adding-options-to-a-DropDown-from-c/m-p/21... that helped me get the filled drop-down list when the application starts.

    However, I need to re - fill list from time to time, when the list (a GroupDataModel) changes.  calling the function above a second time anywhere in my application appears to hang the application immediately.

    I think / thought it might have something to do with the slot for the onSelectedValueChanged, but I can't understand it.

    It seems down right when I do dpList-> removeAll().

    I also can't seem to find the right place to call this function to an object of type in my class.  I think it's because the drop-down list is not ready yet as the dpList * is always 0 unless what I call after the line:

    app->setScene(root);
    

    in the applicationui.cpp file.  Calling it works on start-up, but trying to update the list later (by removeAll() and recreate) causes the app crashing.

    is there a better way to do it?  .. and make it safer?  I can't understand how to do this.

    Thank you!

    J

  • How can I dynamically load a different css in a desktop Air application?

    I dynamically load one or more css in an Air of Air desktop application to implement a theme system.

    How can I do?

    OK, I finally managed to do, by reloading the page in which I dynamically generate the css link.

    The difficult part was to pass the identifier of the theme from the old page to the new.

    I managed to do in writing an "option file" that I read to the loading of the page.

    I ' not very elegant ts, anyway I have to save it in the option file as a permanent option, so he ' just read during the loading of the html code.

    Concerning

    Maurizio.

  • Dynamically load Scripts

    I have not found a way to dynamically load JS or JSX scripts. I understand that the principal can not be loaded dynamically, but I would think that other scripts, because they are not compiled, should be loaded dynamically. If it helps, I'm debugging using Sublime text mode.
    Is there a way?

    Thank you
    Alex

    http://www.davidebarranca.com/2014/01/HTML-panels-tips-2-including-multiple-jsx/

  • How can I dynamically load swc files using as3? (without relying on the Flash IDE).

    How can I dynamically load swc files using as3? (without relying on the Flash IDE).

    The SWF file can be used in the same way as the CFC, which means that you don't need to "visually show" anything when it is loaded. Your code can use the classes and assets incorporated into the SWF, just as a SWC file. So if someone just to load the SWF file to see what was in it that they see nothing. They could however access programmatically to what anyone on the inside just like you, if they went to that level. But it is not as easy as just racing as SWF to see what is inside.

    I hope that all packaging several separate sovereigns will allow you to load and unload only what you need to keep the RAM usage as low as possible with a minimum load SWF.

    If you are ready, please mark all useful/correct so we can filter without response. You're welcome and good luck!

  • Dynamically load content in NavigatorContent inside Viewstack

    Thanks for help.

    Question:

    How do I dynamically load components or inside a NavigatorContent buttons when the user clicks on the

    Label NavigatorContent appropriate within the viewstack located inside the TabBar component?

    Code example...

    < s:Scroller id = "scrollerHome" includeIn = "Home" x = "3" y = "8" width = "933" height = "584" >

    < s:VGroup width = '100 percent"height ="100% ">

    < s:TabBar dataProvider = "{viewstackHome}" / >

    < mx:ViewStack id = "viewstackHome" width = '936' height = '553' >

    < s:NavigatorContent width = '100 percent"height ="100% "label ="Tab 1">

    .

    .

    .

    < / s:NAvigatorContent >

    < s:NavigatorContent width = '100 percent"height ="100% "label ="Tab 2">

    < / s:NavigatorContent >

    .

    .

    .

    < / mx:ViewStack >

    < / s:TabBar >

    < / s:VGroup >

    < / s:Scroller >

    When the user click on Tab1 or Tab2 depending on the time of day I want to

    display a different set of components which vary in number.

    Is there something that I need to manage, if so how. I could not find in these objects.

    Other suggestions are also welcome.

    Thank you

    Jumroo

    Since it's content browser, all components are created automatically the responsibility of the application that they do not obey the creationpolicy.

    1st way: I could intercept the events of "hide" / "show" on the content of navigator to listen to the event and dynamically add child elements.

    2nd way: Instead of Viewstack I'll go with the States of the spark.

    and on creationComplete of these components you can manage it that display and what not to do.

Maybe you are looking for

  • Download (Mac Pro, 2012) slow network speeds

    I have a 1 Gbps with wired link speed, but only 30 MB/s download speed (according to speedtest.net). Wired using a TP - LINK AV1200 Gigabit Powerline. WiFi is 300 Mbps, with 50 MB/s. My router is an ASUS RT-AC87U The strange thing is that with my iPh

  • My computer can not remember my password

    The sites do not ask me to remember my password. Can someone help me?

  • stream HP for computer laptop 11-r015wm: my computer does not turn off

    I disable my computer by going to the closing process, once I hit the closing down the screen turned white, but the fire to rekindle never went away, and now I can't put it back in it or off it is just a black screen!

  • Windows logo testing problems

    I am trying to install itunes on my computer and it says it was not installed correctly because he failed to pass windows logo testing is a way to solve this problem, because I can not sync my ipod touch now?

  • problems strarting to Windows

    When I start my laptop it always shows "with the operating system that you want to continue" with windows 7 the only option. I have only a single operating system only which is windows 7 ultimate. When it starts to say when the desktop appears and th