How do I compile Labview program so multiple instances run on one computer?

I would like to have the ability to run multiple instances of a single executable Labview program  on the same computer.  Is there an option I should set during compilation?

Do you need the multiple instances to communicate?  If so, use the INI file settings and VI server to launch them into the same run time engine.  These settings in your INI file may be of use.
server.tcp.enabled=true
hideRootWindow=true
server.tcp.port=nnnn
server.tcp.access="+localhost"
Make sure you use a unique port number.  Launch your main VIs by first using Open Application Reference with the port in your INI file and "localhost" as the machine name.  Then use this application reference to open your main VI using Open VI Reference.  Run it using the Run method with Wait Until Done set to FALSE and Autodispose Ref set to TRUE.  Make sure it has its front panel open before you close your launcher or the LabVIEW runtime engine will close (since you have the VI ref, you can do a slow poll on the execution state or front panel open/closed properties).
Be careful with shared VIs.  Reentrancy and VI templates are your friends.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • Multiple Ipod users for one computer

    How do you set up Itunes for 2 Ipods running through one computer/Itunes?
    Thanks!

    If both iPods have all the same music in their iTunes libraries (or if they're using the exact same iTunes Library) and both have the option selected to Sync All Selected Songs ... then they'll both have everything on them.
    If you go by the two user accounts method, make sure the iPod is set to sync only selected songs/videos/etc, and then that ONLY the songs, etc, they want are selected.
    If you use the playlists method, make sure that each iPod is set up to sync only the playlists they want. Personally, I'm using the playlist method for my two iPods. The other iPod's in the house use yet another method that is much more complicated and involves creating multiple iTunes libraries for the same account.
    To answer the question of the "Privaledges" question, I think you were trying to go by the two accounts method. If so, the account installing iTunes has to have Administration rights. But once it's installed once, you can RUN it from multiple accounts without installing it again. Just browse to the iTunes.exe file and run it in the other account. When it runs, iTunes will probably load with an empty Library.
    This happens because iTunes just created a new library file in the new account's "My Music\iTunes\" folder. That's a good thing. Then if you go to iTunes Preferences and change the location of the iTunes library to where all the music is, and let iTunes manage your music folders, it will add everything to the new library file.
    Now, both accounts have the exact same files added to their independent Libraries. From here, they can Un-click or delete the songs they don't want in their library--just make sure to let the users/kids know NOT to Click "Move to the Recycle Bin". That will delete the file so that neither account can access it. When they delete files the other user may want, they'll have to select "Keep File(s)".
    But then, they should have their own private music libraries WITHOUT actually having the music stored in two separate locations, possibly making lots of duplicates and wasting hard drive space. I'm pretty sure in both Windows XP and Windows Vista you can change the permissions of user accounts to where they CAN'T delete files, and that may actually be something you'll want to try if you think they'll just end up deleting each other's music permanently.

  • How can i compile the program?

    hi,everybody:
    I have a program which include the next statments:
    public void println(boolean flag)
    throws IOException
    Object obj = lock;
    obj;
    JVM INSTR monitorenter ;
    print(flag);
    newLine();
    obj;
    JVM INSTR monitorexit ;
    break MISSING_BLOCK_LABEL_26;
    Exception exception;
    exception;
    obj;
    JVM INSTR monitorexit ;
    throw exception;
    how can i compile the program?
    thanks

    Hi,
    I'm trying to figure out how to use this decompiler, I have downloaded it to windows 2000 platform and it unzips to 1 file with extension "1-bin" - OS doesn.'t know what to do with and neither do I ;) - I'm starting out on something here and this tool would be useful.
    Thanks for any install instructions you might have.
    mufc1999
    Hi,
    I've had a similiar problem with decompiling certain
    classes. Try the following decompiler,
    http://jrevpro.sourceforge.net, after using this one,
    the code decompiled fine, this tool is also a
    disassembler and quite a nifty one i might add. :)
    Hope this helps!
    Have Fun!

  • How do I manage multiple Iphone accounts on one computer

    My wife desperaely needed to back up her iPhone (been over teo years).  I didn't want to do this given that she woulde lose two years worth of data, but we decided to plow ahead.  I hit the update button and was advised that there was an earlier backup from last fall.  I said I wated to use that back up.  Unfortunately it was a backup for my daughter's iphone 5c and now my wife's phone is simply a clone of the 5C.  What can I do to pul at least some of her account information back out and show her iPhone again on the devices list?

    It certainly is possible.
    How to use multiple iOS devices with one computer
    A single computer can be authorized for multiple iTunes accounts but only one account can be signed into the store at a time.
    Frankly, you are better off with unique Windows User accounts for each user.

  • HT1689 How do I download multiple itunes accounts on one computer under one user?

    Recenlty moved to one account on our windows 7 computer to cut down on potential malware issues that allowed malware to migrate over to other user accounts.  However, we have different iTunes accounts and want to be able to download our individual music from each of our devices that include an iphone 4, iphone 4S, and ipod.  How do I create this capability under one windows 7 user account?

    It certainly is possible.
    How to use multiple iOS devices with one computer
    A single computer can be authorized for multiple iTunes accounts but only one account can be signed into the store at a time.
    Frankly, you are better off with unique Windows User accounts for each user.

  • Multiple iPad sync on one computer fail

    I am confused about how to maintain two iPads on one computer.  Try it and I get dialog boxes threatening to erase all the content on one iPad.  Do I creat multiple libraries? That seems risky in light of the "threat" message in the dialog boxes. Is there a simpler way. Why can't I just plug iPad #1 and iPad #2 into a computer and have iTunes recognize that each one should have a separate library? This seems really silly.

    Hello there, OC Reporter.
    The following Knowledge Base article addresses just how to manage multiple iOS devices with one computer:
    How to use multiple iPhone, iPad, or iPod devices with one computer
    http://support.apple.com/kb/HT1495
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Can multiple instance be in one physical professor?

    Can multiple instance be in one physical professor?If it can,how can I run multiple queries in this multiple instance?
    Any help would be very appreciated.
    Regards

    Let me see if I understood your requirement, you want to have several Oracle Instances on the same machine (processor) don't you. And you want to run a single query against this, it could be interpreted in a couple of ways, you may want to set up a RAC environment, and let oracle decide where it is going to run the query, or you could be talking about a distributied query, peforming a join against different tables located on different instances.
    Further clarification is required from your side.
    ~ Madrid

  • Can i setup multiple Apple IDs on one computer

    Hi
    My partner and I recently sold our laptops and bought an iMac and want to keep our itunes, music, playlists separate.  Is it possible to setup multiple Apple IDs on one computer?
    Thanks
    Denise

    Each person in your home can have their own Apple ID provided it is tied the their own separate email address.
    iTunes permits up to five authorized computers connected to a single Apple ID: iTunes Store- About authorization and deauthorization.
    For this all to work well, however, each user in your household should have a separate user account on the computer they commonly use.

  • How do I find what vesion of Firefox is running on my computer?

    How do you find what version of Firefox is running on a computer?

    Go to your Menu Bar in Firefox.
    Click on Help
    Click on About Firefox.
    Your version number will be below the Firefox logo. You may also be given an opportunity to update your version while you are there.
    Hope this helps.
    bill

  • How do I save a website created on IWeb 08 on one computer, so that I can open and adjust it on Iweb 08 on a other computer? pleas help me with this.

    How do I save a website created on IWeb 08 on one computer, so that I can open and adjust it on Iweb 08 on a other computer? pleas help me with this.

    Ernst ~ Welcome to the Support Communities. See this post:
    Editing my iWeb page from another computer

  • How to create a labview program and use it as a compiled prgram

    I am a mechanical engineer, and I have some formulas and equations that I used to obtain maximum thickness of pipelines and also in the design of steel structures, what I need now is to use Labview to put these huge number of formulas in one program. I can do that, but the problem after I make the program I want it to be used by anybody on  any PC which is not installed Labview on it, and that is the problem, I don't know if I can make an excel  sheet or something to be the interface that can be used by the user, and if I can, I hope that I can have the details of who to execute that.

    LabVIEW interacts with Microsoft Excel using its Active X hooks. Anything Microsoft has exposed in the Active X API, LabVIEW can do. This includes opening Excel, reading values, writing values, etc. Doing this can be tricky for a novice programmer and NI has created the Report Generation Toolkit for Microsoft Office that plugs into LabVIEW for a more streamlined experience. 
    The Developer Zone is a good place to start a search looking for Active X Excel examples: http://zone.ni.com/devzone/fn/p/sn/n16:en/sb/navsRel?q=microsoft+excel+labview&x=0&y=0
    As well as the Forum: http://forums.ni.com/ni/board/message?board.id=BreakPoint&message.id=2391 
    Reading and writing to an open Excel file could become quite cumbersome however. If the Excel file is open and the user is interacting with it, writing to that same file will return an error saying that the file is currently open. It would have to end up like this: User opens file, modifies some fields, saves file and closes excel. LabVIEW program opens file, reads fields and writes a result, then opens Excel to display to the user the result.
    Is there any specific reason you want to use Excel as your user interface? You can use the front panel of a LabVIEW application to enter the data and display the results, all while writing this data to an Excel file for logging/reference in the future. 
    Message Edited by Stephen B on 11-17-2008 01:26 PM
    Stephen B

  • How can i buil labview program to get the area and curvatures at top with video analyis?

    labview program building...
    Solved!
    Go to Solution.

    Please stick to your original thread:  http://forums.ni.com/t5/LabVIEW/how-can-i-get-the-area-of-a-ball-with-video-analyis/td-p/1630034
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • How can I force TestStand to create multiple instance of an activex server instead of share the same reference?

    Hi, All:
         I am trying to migrate a application coded by VC++ to TestStand+CVI. This application opens multiple serial com ports and send commands to test targets, and get responses from these targets. The VC++ application creates multiple thread, and every thread create an activeX server instance which is responsible for opening serial port,sending test commands ,and getting response. It works fine as every thread has itsown activeX instance, so data and commands can be handled in the right serial port successfully.
         Yet when I works on TestStand, I got problems. I choose parallel model as the process model. I create a activeX object reference with AxtiveX/COM Adapter, and store the reference in a sequence local varialbe. If there is only 1 testsocket, It is OK. But if there are multiple test sockets, and communication between the application and test targets will be directly to the last test target. I try to popup a message within a execution to indicate the value of the activeX object reference, and all of them are identical. But this is not the behavior I want.
        So, is it possible to force TestStand to create independent instances of an activeX server? How can I make it work?
    Thanks

    Thanks for your comment, Dan.
          Yet I do get problems as none of us know how to program an activeX server so that it can be forced to be a single-instance or multiple-instance.
    As I mentioned earlier, there is existing application which is written by VC++ can create multiple instances of this activeX server, all I have to do is to create multiple threads, and initiate an instance of this server to contrl multiple test targets.
         My colleague said he creates the server with VC++ ATL, and cofigure it to be dual-interface and STA. And in the VC++ application side(client side), I use smart-pointer in threads to create an instance of the server:
     IMySerialServer pIMySerialServer;
      HRESULT hr = pIMySerialServer.CreateInstance("UUTCmd.MySerialServer");
      if(FAILED(hr))
       AfxMessageBox("Fail to create instance.");
    And then I got multple instances of the activeX server. Every thread can have itsown com port, can send/receive commands indepently. I have no idea how can I make it work on TestStand. Would you show me some reference documents or sample codes?
    Thank you
    Cipher

  • How do I set up multiple IPOD's on one computer?

    Hi I have 2 IPOD (kids) and one IPAD (mine).  How do I set them up where I can control the content that get's loaded on them independantly?  Eg. Some songs I only want on IPAD or vice versa.  I currently have all devices linked to one account.

    There are a couple of ways you can do this. The following article will help you with whichever way you choose to use:
    How to use multiple iPods, iPads, or iPhones with one computer
    http://support.apple.com/kb/HT1495

  • How do I set up backup for multiple iphones (40 ) in one Itune?

    We will as soon as IP5 is released transfer all of our users from IP3/4 (40+) and to make that progress smoothly
    we want to backupp all IP's on one computer.
    Is it possible to backup multible iphones/Ipads in one Itune?
    How do I set it up?
    /Anders

    Some of the "sync cart" solutions will hold anywhere from 10 to 40 devices and sync them all to one host pc.....you can also connect multiple devices to a powered usb hub and all of the connected devices will appear on the left side of iTunes...I think the main challenge would be giving each device a meaningful and unique name so that you could identify it when attempting to restore it...we are looking at the the Ergotron tablet management module, they have a user guide that describes the process for connecting multiple devices through their module to one host pc.  You might also look at this solution, which is on the Apple Store. 
    http://store.apple.com/us/product/H3634LL/A

Maybe you are looking for

  • Creating a new document/canvas (to add multiple images to)

    I am totally new to Photoshop Elements (using v.13), with some previous experience in old versions of Photoshop. I am an interior designer and I want to make a design board. Essentially what I am trying to do is create a new, blank document layer and

  • Grid Component

    Hi, we are in need of a Java Grid Component with all of the below requirments, can you please suggest me on this.. Can you suggest where i can buy or download ?? * GUI interface * Horizontal scroll - at least 50 columns * Vertical scroll - at least 2

  • 1099 MISC Form USA - Fiscal Year 2014

    Hello SAP Guru's, Could you please let me know the latest OSS Note Release of 1099 MISC Form for FY-2014. Thanks in advance for your help. Regards., Mak

  • Pie chart from Largest slice of another pie chart.

    Greetings! I'm trying to come up with a method which will allow me to create a pie chart of the subgroups from the largest slice of an existing pie chart. The "parent" pie chart will change depending upon the parameters given in the report. declare @

  • When will you fix ADM, or allow resumable direct download links for IDM/FDM?

    Dear Adobe, Please face it. Adobe Download Manager (ADM) is a badly written piece of software. All these people can't be wrong. I am one of the victims of ADM too. It downloads say up to 90+% then it will never finnish the small remaining portion. Ev