Run 2 vi at the same time

Hi
How do I run 2 or more vi's at the same time, thus allowing me to interact with both without the need to close one.  What I have is one main vi that allows me to manipulate data on a particular plot.  I then what other vi's to pop up and stay open when needed showing the same data but on represented in a different way.  Therefore as I change the data one my main vi I want it to show up simultaneously in the other plot/vis.
any help?
Thanks

reza_sed wrote:
Hi
How do I run 2 or more vi's at the same time, thus allowing me to interact with both without the need to close one.  What I have is one main vi that allows me to manipulate data on a particular plot.  I then what other vi's to pop up and stay open when needed showing the same data but on represented in a different way.  Therefore as I change the data one my main vi I want it to show up simultaneously in the other plot/vis.
any help?
Thanks
See the two attached vi's.  Download them into a common folder.  Ref1 is the main.  Run it.  It calls Ref2.  Ref 2 will stay open until the stop button on Ref1 is pressed.  While Ref2 is open, change the numeric control on Ref1.  Notice how the data display on Ref2 changes to match the main vi.  You can do this with as many subvi's as you want.  Just pass the numeric and boolean references to each.
This is just a simple example showing the use of control references.  If you need to do other things in your main, you will have to open the subvi's dynamically as smercurio has mentioned.  Search for dynamic launching to learn more about this.
Message Edited by tbob on 05-19-2010 01:30 PM
- tbob
Inventor of the WORM Global
Attachments:
Ref1.vi ‏8 KB
Ref2.vi ‏10 KB

Similar Messages

  • How to make two PCs (one local, one remote) control the same running vi at the same time?

    Hi Labviewers,
    I have a vi running, and two PCs are monitoring it, one is local and another one is remote.
    I can see the remote front panel at the remote machine by using application property node, but it seems only one of the two PCs has the control of the running VI at the same time.
    Is there any way to make the two PCs both have the control of the same vi at the same time?  Switching back and forth the control between two PCs is really annoying.
    Thanks a lot for any help.
    Anne

    What exactly are you trying to control?
    Perhaps another approach? You could use "Shared Variables" from LV 8.0 and have a copy of the writer VI on each of the control PCs edit the value on the host PC. But as soon as I post, someone is going to talk about multiple writers to shared resources being a bad idea.... so just be careful or you may try to edit a value that has already been changed.
    Matt Holt
    Certified LabVIEW Architect

  • Prevent Jobs Running Twice at the same time

    Hi all, I would like to know if they are any ways to prevent a release job to run twice at the same time. For exemple, if  I create a job to run every 5 minutes and the job did not finish after 5 minutes, the scheduler will start the same job agains.  This situation causing us bad issues.
    I double check the job start conditions in sm37 but I found nothing special.
    Thanks for help

    Hi Marc,
    We use a workaround. We have asked our abap developpers to write a small utility report which checks if the job it is part of is already running and aborts the job if it is the case.
    When we need a job which must absolutely run only once at the same time, we just add this utility as first step.
    Regards,
    Olivier

  • Maximum number of client that possible to running OSD at the same time?

    How maximum number of client that possible to perform OS deployment from SCCM 2012 R2 at the same time?
    Regards, Bar Waelah

    It depends on your infrastructure and design. 
    My DP servers got mirrored mechanical disks and a Gbit nic. We like to run about 10 clients every 2 hours from them. That is enough time to apply our custom image, apply any extra appps and patches. 
    Since we got one of those servers on about 100 locations it means that in the best case I can deploy about 1000 systems every two hours. 
    That's my technical limit BUT that's not the real limit.
    More important is how many users with newly installed systems can your organization handle. There will always be some machines that fails and needs to be fixed (how many non productive users can you have at the same time?). Some users will call hellpdesk
    regardless of instructions, onscreen information, user training and so on. How many calls can your helpdesk handle? There will be requests for extra apps, changed screen resolution, left handed mice settings and so on, maybe printer configs? Same thing here
    - how many of these cases can your support handle?
    Those are the "soft" limiting factors and so far (been doing this for about 15 years now) the "soft" limits have always been lower than the technical limit

  • Multiple running queries at the same time

    Hi!
    I looked around (and RTM) for this but didn't find anything, so I'm asking here.
    I have quite a few long running queries (data loading and such things, warehousing stuff), and I need to be able to run multiple queries/statements at the same time. In TOAD I can do this, start a procedure and while it is running I can do SQL statements in another session tab (it supports threaded sessions - it starts queries in their own background thread/session).
    When I start a long running procedure or query in SQL Developer I can not do anything until the procedure execution finishes. Is there any way (setting/preference) to enable SQL Developer to be able to run multiple queries at the same time?
    I really would like to move away from TOAD, but this is a major showstopper for me.
    Thanx for any tips.
    Alex

    Hi!
    This post is going to be a little longer, but I have to clarify things out.
    I did not mean to throw any wild accusations, because I did my fair share of RTFM and searching the help. I can tell you that if you put any of these in the help search box:
    session
    non shared
    non-shared
    connection
    concurrent <- I guess this one should yeld something
    multiple
    spawn
    you won't find anything usefull, the article that comes closest, is this:
    "Sharing of Connections
    By default, each connection in SQL Developer is shared when possible. For example, if you open a table in the Connections navigator and two SQL Worksheets using the same connection, all three panes use one shared connection to the database. In this example, a commit operation in one SQL Worksheet commits across all three panes. If you want a dedicated session, you must duplicate your connection and give it another name. Sessions are shared by name, not connection information, so this new connection will be kept separate from the original."
    It does not mention any spawning of non-shared connections from the current one, nor it does mention using a accelerator key combo. But since there could be written something about it, I guess you could call it a documentation bug, because it does not provide any clue to this functionality. The help is definitely of no help in this case. As you can see, I do not throw accusations without trying to find out something first. I guess if someone is not as deep into SQL Developer as you are, there is no way for him/her to know this.
    OK, I tried your suggestion, and (sadly) it does not work as I suppose it should.
    Here's what I did:
    - start a new connection, and enter the following code in SQL Worksheet:
    declare
    j number;
    begin
    for i in 1..1000000
    LOOP
    j := sin(i);
    end LOOP;
    end;
    As you can see, it doesn't do much besides holding the connection busy for a while when executed.
    - start a new non-shared connection from the first one using CTRL-SHIFT-N (as you suggested) and put the following statement in the new SQL Worksheet (with "__1" appended to connection name)
    select sysdate from dual;
    - go to the first SQL Worksheet and execute the procedure
    - while the procedure is executing, go to the second SQL Worksheet and hit F9.
    The sysdate is returned as soon as the first SQL Worksheet finishes and not any sooner. It may run in separate session, but the result is not returned before the other session is finished doing what it is doing. I guess the correct behaviour would be to return the sysdate immediately.
    I verified this behaviour repeating it 3 times starting with a new instance of SQL Developer, each time connecting to another schema and spawning the new non-shared session. The database used was Oracle 10.2.0.3 EE on RHEL 4 UPD3.
    The concurrent execution lacks concurrency. The statements might be executed concurently on the database (i did not went the extra mile to verfiy this), but the returning of results is just not independent of other sessions. To the end user this is as much concurrent as it is serial execution.
    I hope developers get this issue straightened out soon, as I said, I'd love to move away from Toad, but I'll have to wait until they fix this out.
    Is there anything else that can be done to make it behave correctly?
    Kind regards
    Alex

  • Make 2 methods run at exactly the same time

    Hi,
    How can I make 2 mothds be executed at exactly the same time? Is it anything to do with the synchronized keywor?
    Thanks.

    You can't really.
    Even in the case of two computers, you probably don't have control over how the OS will give Java CPU cycles, so even though you thing you're clicking at the same time, the methods may start at slightly different times.
    Similarly , on a multi-CPU machine, you don't generally control how threads are apportioned among the CPUs, or when they get time.
    How exact does "exactly" need to be? +/- 1 &mu;s? +/- 1 ms? 100 ms?
    Why do you need this?
    Why do you think you need this? There may be another ay to acommplish your ultimate goal without needing two methods to start simultaneously, or close to it.

  • Two macs running garageband at the same time

    Hi. I am using GarageBand on two Mac's at the same time and would like to know how I can record both parts of the tracks, I guess I'll have to use an external recording device of some sort but I do not know which or how I would set this up. Basically, I am playing a part of the song on one Mac and the other part on the other Mac and would like the two Mac's to be liked up to a seperate recording system so I can record the mix, hopw someone can help, thanks.

    The biggest problem you are going to have is sync. There is no way to keep these two computers in sync unless you hook up some kind of KVM USB splitter for your keyboard. Both machines would need to be identical in setup or this will not work. Playback and record buttons need to be pressed at the exact same time. The mouse can be used to trigger events (such as record enable) to each computer. It is not a very elegant or pragmatic way of gaining more tracks.
    The better way is to use a dual G5 with a big monitor.

  • Can I install Photoshop cc on 2 computers with one account? and can I run them at the same time? (mac and windows)

    I have installed Photoshop cc on my mac book air and when I installed it on my PC it shows trail period 30 days remaining
    I thought we can install CC on up to two computers

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • Multiple scripts running at the same time?

    Is there a way to have multiple scripts successfully running at the same time?
    At the moment if I start a second script while the first one is still running, the second one completes successfully but the first one stops. This seems to be because the first one is no longer the active document once the second one opens so can't continue.
    Is there another way to script things like this so that multiple can run independently at the same time? You might ask why I'd want to run two at the same time and not just wait, but i've setup an asp.net web form front end and having problems if two people click the button around the same time.
    I'm guessing this isn't going to be possible and i'm going to have to look for ways of doing this in asp.net instead and somehow queue the requests so you have to wait longer if the script is already running?
    Thanks,
    Andy

    I'm
    guessing this isn't going to be possible and i'm going to have to look
    for ways of doing this in asp.net instead and somehow queue the requests
    so you have to wait longer if the script is already running?
    This is correct. The scripting interface to PS is single-threaded so you will need to queue up requests.

  • Run CS3 and 8 at the same time on mac?

    I want to download a trial version of the CS3 and run it, at
    the same time, as my existing Dreamweaver 8 on my G5 Mac running
    10.4.10. (It is NOT an Intel Mac.) There is a 30 day trial and this
    way, in the downtime between projects, I can test out and use the
    CS3 version and make sure it is stable on my system, learn to use
    it a bit, set it up the way I would want it, but always be able to
    cut back to 8 in a pinch if I have mission critical work that must
    get done. I know 8 like the back of my hand and know nothing about
    CS3 version, so I like the safety net of being able to run them
    both.
    Any issues with this? Is it possible? Will it break anything
    - like with my stable and running CS2 apps and Acrobat 7?

    On Fri, 22 Aug 2008 04:46:57 +0000 (UTC), "yuytjtdh"
    <[email protected]> wrote:
    >I want to download a trial version of the CS3 and run it,
    at the same time, as
    >my existing Dreamweaver 8 on my G5 Mac running 10.4.10.
    (It is NOT an Intel
    >Mac.)
    You can have several versions of Dw on your system ( I have
    Dw2004 up
    to CS4 beta ) but you can only have one running at a time on
    a
    standard machine.
    >There is a 30 day trial and this way, in the downtime
    between projects, I
    >can test out and use the CS3 version and make sure it is
    stable on my system,
    >learn to use it a bit, set it up the way I would want it,
    but always be able to
    >cut back to 8 in a pinch if I have mission critical work
    that must get done. I
    >know 8 like the back of my hand and know nothing about
    CS3 version, so I like
    >the safety net of being able to run them both.
    >
    > Any issues with this? Is it possible? Will it break
    anything - like with my
    >stable and running CS2 apps and Acrobat 7?
    CS3 is rather stricter about code - so depending on how well
    your code
    validates - it may complain if there are any problems.
    Bear in mind that CS4 may be released sometime in the next
    few months
    - there is no public info when that will be - so maybe better
    to wait
    for that.
    ~Malcolm~*...
    ~*

  • JDev9i-Beta;How could I run two JSP applications in Jdev enviroment at the same time?

    Hi,
    I have two JSP applications located on different directories. I wanted to run both applications at the same time in Jdev enviroment. But the second one failed.
    More info:
    I successfully ran Application1, then minimized the browser and ran Application2, then again minimized the second browser. After I maximized the first browser(Application1) and tried to go thro pages, I received page not found. Because Jdev sat up the Class Path for the newer application(Application2) and looks for pages there. I believe thats why I could not run both at the same time. How could I get around of this?

    hi,
    can you provide more details on this. Are these jsp files part of the same project or different projects. I can not duplicate this issue. Please provide us more information.
    Thank you

  • SCXI 1112 and 1302 doesn't run at the same time

    Hi,
    I have SCXI 1112 thermocouple input module,  SCXI 1180 feedthrough panel , and a SCXI 1302 terminal block connected SCXI 1000 chassis with SCXI 1349 adapter. I am trying to measure voltage by using SCXI 1180&1302, and temperature by 1112 module at the same time. When  chassis is on SCXI 1112 runs without a problem; however, voltage reading coming through SCXI 1349 makes no sense (plus I can't run them at the same time, LAbview gives an error). While the chassis' power is off, it is the other way around, SCXI 1349 runs smoothly.
    In addition to that, a radiometer, connected to a power supply, is wired to SCXI 1302 terminal block. When power supply is on, SCXI 1112 module's temperature reading is 4 times higher than actual value. In other words, power supply effects the readings.
    Could you please give me some advice to solve this problem?
    Thanks,
    Azra

    One piece of the puzzle you left out is the DAQ card being used in the host computer. 
    Without looking at some specifics on the SCXI cards/connectors you are using, I will comment you must be careful when you are using an 1180 feedthrough module.  Keep in mind, the SCXI chassis is Signal Conditioning -- it's nothing without the DAQ. 
    I would recommend you back up a few steps, simplify the setup and test each input channel from MAX -- making sure you aren't overlapping channels between the 1180 to the DAQ and the SCXI chassis.  Remember, most data from the SCXI chassis comes in on a single channel of the DAQ through the 1349.
    Hope this might help. 
    RS

  • Running two EXE at the same time

    I have two EXE.
    I cannot run both at the same time.
    What should I am doing wrong?

    Yes, these are two different applications with different names.
    I double-click on the first EXE and I see the start-up form. Good so far.
    I double-click on the second EXE and I don't see the start-up form. Instead the "icon" for the first EXE in the taskbar flashes.
    I am running Visual Basic Express 2010.
    Are these some settings for the compile that I should be using?
    Individually the two EXEs work fine. 

  • Can i somehow run Snow leo at the same time in Lion?

    Is there anyway to have several systems at the same time, sort of switch between like parralells?
    Does VMware allow you to run Snow leo with lets say Logic, i need to still use logic with several plugs which do not work yet in LEO.
    I wanted to do this with a iMac 27" i7 with 12GB ram

    Well I got a new iMac 27 i7 all maxed out, came with lion but I edit in FCP studio on my old iMac while do logic audio on a MacBook pro, all these machines and apps are incompatible, I can't run FCP and logic due to plug in incompatibility issues.
    Anyway I was thinking the new iMac can run the logic plugs and all inside a fresh snow Leo virtual machine, you think with the fast i7 core iMac that it's not worth it?
    Booting up dual boot etc is fast on the iMac but I like to see if I can run them at the same time somehow, I do extensive work in audio and chroma key and effects with FCP, what you think?

  • Router for cable AND DSL at the same time?

    Can I get cable and DSL service and buy a router that will run both at the same time? I'm looking at the Linksys RV016, RV042 and RV082 routers; and the D-Link DI-LB604 Load Balancing Router. It looks like they'll do this but the webpages don't say that clearly. My Comcast cable service is fast (up to 6Mbps downloads) when it's working and the neighbors are asleep, but the speed drops to around 2kbps at other times. Qwest DSL is guaranteed 256Kbps.
    Also, is there a wi-fi transceiver that detects and uses unused bandwidth on neighbors' Internet connections? My house picks up 7 neighbors' wi-fi transceivers. If we're all on the same cable service it wouldn't matter if I transferred bandwidth to a neighbor's service. But if some houses have DSL and some have cable, then the DSL users could get extra speed in the mornings when the cable is fast. The cable users would get extra speed in the evening when cable is slower than DSL. Everybody wins.
    G5 dual 1.8GHz; 12 PowerBook   Mac OS X (10.4.4)  

    no problems.
    There is a priority order when multiple networking interfaces are available.
    Ethernet is higher than Airport in the order.
    If both ethernet and Airport interfaces are connected to the network, then ethernet becomes the primary networking interface.
    If nothing is plugged into the ethernet port, then Airport will get control.

  • I cant start 2 Virtual machines at the same time in a Hyper-V enabled machine

    Hi,
    I have installed Windows 2008 Enterprise edition. Updated all patched from windows updated. Add the Hyper-V role and installed Windows 2003 in one Virtual Machine and Windows 2008 in another. After the first VM installation itself i had the problem as the below error was coming ibn.
    I has to shutdown the Windows 2003 to install Windows 2008.
    Now i can only run 1 OS at a time. Shut down 1 to start the other
    [Window Title]
    Hyper-V Manager
    [Main Instruction]
    An error occurred while attempting to change the state of virtual machine New Virtual Machine.
    [Content]
    'New Virtual Machine' failed to start.
    Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to power on with Error 'The process cannot access the file because it is being used by another process.'
    Failed to open attachment 'E:'. Error: 'The process cannot access the file because it is being used by another process.'
    [Expanded Information]
    'New Virtual Machine' failed to start. (Virtual machine 418ACD0E-5FBA-4053-AFDD-1EDA51694EF5)
    'New Virtual Machine' Microsoft Emulated IDE Controller (Instance ID {83F8638B-8DCA-4152-9EDA-2CA8B33039B4}): Failed to power on with Error 'The process cannot access the file because it is being used by another process.' (0x80070020). (Virtual machine 418ACD0E-5FBA-4053-AFDD-1EDA51694EF5)
    'New Virtual Machine': Failed to open attachment 'E:'. Error: 'The process cannot access the file because it is being used by another process.' (0x80070020). (Virtual machine 418ACD0E-5FBA-4053-AFDD-1EDA51694EF5)
    Hide details  [Close]
    Any help is of great use.
    REgards
    Sharath

    I have both the vm's created in different drives. E drive is my DVD drive....
    I renamed them,Reinstalled OS, Created a new set of vm's after the first i get the error
    It works fine if i stop 1 vm and install the other or stop 1 and start the other...Running both at the same time is the problem

Maybe you are looking for

  • Replication of few Plants(Locations) from SAP R/3 Backend system

    Hi All, Some of the plants which has been created in SAP R/3 Backend System but they are not visible in Enterprise Buyers Portal Production System. In order to get the missing plants replicated to EBP System shall I run the program BBP_LOCATIONS_GET_

  • 16:9 and 4:30 ratios...

    Hello - I've seen posts on this subject, but nothing that's specifically answered my question - still fairly new to FCP, (I'm using FCP Studio), I'm cutting a dance video and noticed that the Side Angle Camera shows up fitting in the canvas window at

  • How to create multi instance monitoring using VSAE

    i have a class and it has multiple instances which inturn has data about each and every instance as performance logs etc i need to get the data about each every instance and add some property bag data appropraitely. how can i achieve this, how can i

  • YouCam Mirage in the list process list of task manager althougn deactivated in Autostart

    I was wondering why "YouCam Mirage" is active in the task manager although I disabled both , the YouCam Tray and YouCam Mirage in the AutoStart Tab of the task manager. I did not start up the software manually.

  • Can't download music from icloud onto my pc

    I have uploaded a cd (one of many hundreds) onto the icloud but now some of them seem to not be able to be downloaded 'from' the icloud. What is most irritating is that I have now also lost the CD and it is one that's really hard to get hold of and n