Running multiple vi's in top level app at same time.

hello, i am wondering on how to run multiple vi's under the same top level application.  if i have a top level application that has multiple buttons that call other vi's, is there a way to minimize one of the sub vi's and open another.  i keep having problems because i think that the top level application needs the first sub vi to close befor you can call another sub vi.  i attach an example i found in the ni examples as an example.  thank you.
Attachments:
Dynamic Load Example.vi ‏52 KB

Thank you for the response.  I tried to use this feature but i think i am doing it wrong.  Do you put the method in the sub vi's or in the top level application.  also what should you wire to the Auto Dispose Ref input for the Run VI method.  Thank you

Similar Messages

  • Running multiple instances of a top level vi

    The following question is copied from a 1999 post which I am also interested in an answer to. It wasn't answered in '99, but maybe there are more people around today who could comment;
    "I am interested in running multiple copies of a top-level vi in Labview
    operating under Windows95/98/NT much like you could run several copies of
    notepad.exe simultaneously. Whenever I attempt to start a second copy of a
    vi (or .exe), in either the development or runtime environment, Labview just
    brings the first copy to the foreground. Is it possible to alter this
    behavior?"

    I think it is not a bug but an "open feature". What to do if there is 2 or more calls to the same VIT on the diagram? Should a new instance be created for each node or the same instance reused? It depends of the programmer's intents... The problem has been swept under the carpet allowing only one subVIT instanciation per diagram.
    Back to the topic, one would have to be very careful to code an application where the same hierarchy of VIs has to run in multiple copies in parallel. User interface VIs has to be instanciated dynamically user VITs. What to do with subVIs with unitialized shift registers that shouldn't share their data amongst different hierachies? It is doable but requires a careful design. However for simple user display and
    input, a VIT does the job.
    The easiest way is to duplicate and run an executable file copy. That is because when a second instance of a LabVIEW executable is run, it detects the already running instance, passes the control to it and quit. With a different file copy of the executable, the application can be relaunched with its own application space where you can run the same hierarchy of VIs without conflicts.
    LabVIEW, C'est LabVIEW

  • Can you run multiple APEX listeners for different instances on the same server

    Please confirm that we can run multiple APEX listeners for different instances on the same server?  Is it an xml setup configuration or do we need to do more??
    Thank You,
    Tony Miller
    SmartDog Services
    Austin, TX

    Yes.. Just exactly what I was looking for...
    Thanks Jari!!
    Thank You,
    Tony Miller
    SmartDog Services
    Austin, TX

  • Hi i am working on my web site and it appears to have blocked the ip from my server i can't open my web sites and i cant open the server home page but can do this on my iPhone i have trend micro running on 2 other desk tops all from the same router please

    Hi i am working on my web site and it appears to have blocked the ip from my server i can't open my web sites and i cant open the server home page but can do this on my iPhone i have trend micro running on 2 other desk tops all from the same router please help maybe its a firewall? Cheers Dave

    All I can suggest is that you open that file on the MBA and save it as a new file, then see if you can open the new one on the iMac.

  • Can multiple PCs access one remote panel at the same time?

    I've written a program in labview 7.1 to monitor/control a labview application running in the test cell through Remote Panel. I and my coworker can remotely monitor and/or control this labview application individually. But if my coworker has the remote panel displayed on his PC and I try to get the remote panel on my PC, I get a labview error (63) as below:
    "LabVIEW:  Serial port receive buffer overflow.
    LabVIEW:  The network connection was refused by the server."
    My question is: Can multiple PCs access one remote panel at the same time?
    Thanks in advance!
    Y

    Sorry I wasn't clear. The remote panel license is separate from the number of LabVIEW development licenses. Pricing information on remote panel licenses can be found here.

  • Can I connect multiple bluetooth headsets to my iPod at the same time?

    Can I connect multiple bluetooth headsets to my iPod at the same time?

    After 1 or 2 reboot system I managed was enter my MacBook Pro my AppleID and it is connected I managed so to have the flow of "Stream Photo" from my iPhone 4 S to my iPad 2 on the MacBook. But incomprehensible how the function "find my Mac" not recognize the MacBook Pro in "iCloud.com" or App in the iPhone 4 / iPad 2. Thus I do little "see the iMac, iPhone 4 and my iPad 2" and not the Macbook Pro !?!
    I am sorry about my English quality but I'm not English speaking this text is translated by Microsoft Translator.

  • How to run save for web and contact sheets at the same time

    Hi
    my question is simple and a means to save time-
    Lets suppose I have 3 camera images and I want to run either save for web applications on 2 cameras at the same time, how/can i do that to save time or lets say contact sheet action on 1 and save for web on the other to save time or photoshop files and this runs in the background?
    would really help save me time.

    Even if you could run the three process in the background at the same time I do not think the duration of the total execution time would be any shorter. You would still be executing the same number of processor instruction reading and writing the same number of files. If the whole processor was constrained by the processing power running them cuncurrenly may increase the processing time because of contention for the processor. If the processes are IO bound that will not change a overlaping the processes may cause more hard disk seaking because of contention of the hard disk arm.

  • IMac can't running any two fire wire hard disks at the same time . which

    iMac can’t running any two fire wire hard disks at the same time . which two hard disks have extra power from power socket . If i just insert one of them .No problem . If connect two Hds at the same time. Leopard cant find it and the Hds seem no problem. the machine must be restarted and then use one . No problem . I have formated the HD many times .even if which format is Fat 32 or Mac issue persists .Boot from installation CD used the disk utility . Issue stills . If i used one fire wire HD that get power from power socket and used one fire wire device . Leopard was no problem during this time . Whether is this design problem or my machine hardware problem?My Mac has been changed the logic board by Apple service . Do you have similar case in here????
    Message was edited by: KennyG1983

    Hi KennyG1983-
    How are you connecting these drives?
    This may help: What to do if your computer won't recognize a FireWire or USB device
    Luck-
    -DaddyPaycheck

  • My ipod touch 4 gen is in recovery mode and i dont know how to get out of it,i tried everything like hold the home and top button at the same time. All it did what g to the apple logo and went back to recovery mode any help?

    My ipod touch 4 gen is in recovery mode and i dont know how to get out of it,i tried everything like hold the home and top button at the same time. All it did what g to the apple logo and went back to recovery mode any help?

    Once the Device is asking to be Restored with iTunes... it is too late to save anything... and you must continue with the Recovery...
    kevinpowell1 wrote:
    how can i get it out of recovery mode?
    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    Then See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    Take your time... Pay particular attention to Steps 3 and 4.
    Some users have reported as many as 8 or 9 attempts were necessary before success.
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766
    If the issue persists...
    Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • How do I get the Time Capsule to run both 5GHz and 2.4GHz networks at the same time.

    How do I get the Time Capsule to run both 5GHz and 2.4GHz networks at the same time.

    Thanks for digging out the facts.
    You have a 1st Generation Time Capsule.
    Your model can produce two bands....either 2.4 GHz or 5 GHz....but not both simultaneously.
    You would need a Generation 2, 3 or 4 Time Capsule for simultaneous dual band capability.

  • Can i run remote memory profiling and remote debugging at the same time .

    can i run remote memory profiling and remote debugging at the same time .
    i am using jdev9.0.5 and oc4j9.0.4 standalone server.
    how to write the batch file to run both at the same time

    Thanks for your help!
    Another question. How do you turn off the ATT wireless transmitter? Also, there are more computers connected to the 2Wire network. I will have to set up a wireless pc to work with the Base Station after disconnecting the ATT transmitter. Easy answers for both, I hope?

  • Running 2 copies of VS 2012 Pro at the same time -- question

    I have two projects that I want to work on at the same time (neither shares files from the other so they are independent) -- one is actually a class library (DLL) and the other is an application, but the application doesn't point to the compiled DLL automatically
    (I have to manually copy it to the application's folder to use the compiled version so they are not directly interacting with eachother in any way).
    So, I've found that you can run multiple instances of VS with different projects open... but here's my problem: sometimes it loads files from one project in the other IDE window, and causes issues when I flip back and forth between instances of VS (basically
    keeps telling me that the document was updated outside of VS -- as in, the other IDE instance--and needs to be reloaded). 
    So, long story short, it displays the errors and source code file in whichever instance of VS I'm currently working with (or whichever instance is test "running" the app; so for example, if I"m working on the app and an error in the class
    lib occurs, it displays the source code files in the IDE that has the app open, not the class lib.  So if I flip back to the class lib instance of VS, I get the warning messages about files being updated outside of VS).
    Is there a way to tell VS to keep the two separate or just display an error and not try to open the source code file that has the error when one occurs?
    It's more of an annoyance than anything, but I would like to be able to flip back and forth without issues because now that I've found you can have multiple instances open, I can get more done faster (with the exception of this "problem").
    Ideas?

    My first thought is that, since only one of your projects is an application (the other is a DLL) why not have a single solution that builds both projects and work on them in a single instance of Visual Studio?
    I ask this because you cannot launch a DLL project directly.  And if you only ever plan to run code in your DLL by running the exe, then just have them in the same solution and use them in the same IDE.
    What is the benefit to you of having two separate instances of Visual Studio running?  (Particularly given that it's giving you a headache while debugging.)
    You can "flip back and forth" as you specified, but only if you're debugging two different processes -- each IDE would need to be debugging its own process.  If you know what exception you're expecting because you're debugging a particular
    issue then you can leave the debugger detached, and then when you get the unhandled exception you can choose which running instance of visual studio to attach (or select to launch a new instance.)
     As far as I can tell, it sounds like you are debugging a program composed of multiple projects (an exe and a dll).  They should simply be in the same solution and you can debug them together in a single IDE.  You can open windows from either
    project.  Not sure what having two IDEs is getting you.

  • How to run 3 operations through my USB-6210 at the same time w/o gettin an error

     Hi, I am using a USB-6210 data logger from national instruments to collect data and run it through labview 7.1. However, when i try to run two labview files at the same time on two different channels in the data logger i get an error #50103 "The specified resource is reserved the operation could not be completed. How do i fix this?

    Hi Mariachi,
    I believe your overall project will be to collect data from
    your USB-6210 on multiple lines and save this to a file. Photon Dan is correct
    in the reason why you cannot use multiple tasks – because of the multiplexor,
    only one AI task can be run at a time. I would suggest putting all lines into
    one task and program, therefore eliminating the error, the need for multiple VI’s,
    and writing all data to a file at once. If you have further questions, I would
    ask that you post more detail about how you are collecting data (LabVIEW?
    SignalExpress? Etc) and your program. Unless you are connecting to other
    computers, you will not need to use VI Server, TCP, etc.
    David L.
    Systems Engineering
    National Instruments

  • Multiple Project Scheduling for the project at a same time

    Hi Experts,
    Is it possible to schedule multiple projects together at a same time. As my client is having more than 5 customer project running all together and he wants to schedule all the projects together so that there is no dates overlapping for similar activities for multiple project. As the activities are dependent on labour and machine and at one particular time the resource could be devoted either on one activity of the project.
    I look forward for your revert
    Thanks and Regards
    Simon

    Hi
    One more thing, when i am changing the dates of the activity due to delay from customer end, then where can i see the comparison of old dates and new dates.. though i can see the report in CJ29 but when i change the date in the activity then in the report it shows new date in the new and old date column and does not display the old date in report in the old date column..
    Please let me know if i need to do any configuration for that
    Regards
    Simon

  • Can you run the Import Wizard more than once at the same time?

    We're going to run the Import Wizard to import content from one BO environment to another.  Can we, at the same time, run the Import Wizard to import different content between those two environments (using the same source and destination both times)?  Obviously we'd have to run the wizard on different workstations.
    Would this cause any issues?  If so, what kind of issues would you expect?
    Thanks,
    Laura

    Yes, this is possible.  The source and destination CMSs treat the requests from the Import Wizard like any other -- increasing the number of active Import Wizard sessions just increases the load on these CMSs.  Before running multiple Import Wizard sessions, be sure there is ample processing power (CPU / memory) to handle the increased load.    and of course, avoid 'touching' the same content in the two sessions in order to avoid unpredictable results.
    -Mike

Maybe you are looking for