Multiple instances of an exe (and of a VI)

Hi all,
   I need to run an exe I created with application builder, more than one time.  I have to run two separate instances of this exe.
   More, I'm still interested in calling a subVI more than once from a top level VI, and the two instances of the subVI should run in parallel, with different inputs.
   is there some reference for this?  Thanks everybody!
graziano

Hi!
   It works fine, thanks!  But this lead to some questions
   - Where do I find infos on editing application generated .ini files?
   - Isn't there a way to do this for an application build with "application builder"? Or should i tell user to manually edit .ini file?
   Really thanks again!
graziano
PS.: I spent some years in building embedded LV applications, so every time it comes to graphical interfaces or PC-based apps in general, I need help  ..... perhaps, sometimes I need help on FieldPoint too

Similar Messages

  • Multiple Instance of HSODBC.EXE

    Hi,
    I'm using Oracle 8.1.7.4 (W2K) with heterogeneous services to connect via dblink to DB2/400.
    I can read successfully several tables from AS400; but a multiple instance of 'hsodbc.exe' ( i.e. one task for one interrogation) are created on task manager.
    If I try to end a hsodbc I can't.
    After several interrogation, I can't use again hsodbc and the system returns the following error:
    ORA-28500 [Generic Connectivity Using ODBC] a dynamic link library (DLL) initialization routine failed; at FIND_IMAGE_SYMBOL
    cannot connect to shareable nvdbodbc. Using dummy function
    Initialization function ODBC not found.
    ORA-02063
    Is there any particular configuration of heterogeneous services that avoid a multiple instance of 'hsodbc.exe' ?
    This is a serious problem for us.
    Regards
    Andrea

    Andrea,
    this normally indicates, that an established session is not correctly ended.
    In general you need to close database links after you do not need them anymore.
    A SQL*Plus session for example querying from the remote database will normally close the db link automatically while ending the SQL*Plus session.
    Sometimes it could happen, that you end SQLÜPlus during long runnning queries; in this situaotion it might happen, that hsodbc will stay in the mmory. To get rid of those hsodbc processes, you may use pskill from www.sysinternals.com.
    If the hsodbc processes are spawned by frequentyl running job systems, you need to close the database link manually afterwards.
    alter session close database link <db link name>;

  • Multiple instances of AcroRd32.exe while using Windows Explorer Preview Pane

    I'm trying to understand why our computers behave differently while browsing PDF files using Windows Explorer with the preview pane turned on.
    All are Windows 7 Pro 32-bit.
    The scenario:  Open Windows Explorer with the preview pane turned on, go to a folder full of PDF files, and start single-clicking on them, one by one down the list.  Keep Task Manager open, on the Processes tab, showing processes from all users, as you click on the PDF files.
    On two of the computers, you can keep clicking right on the down the list, and the preview pane shows the PDF file contents immediately with each click.  The Task Manager does not show any instances of AcroRd32.exe running, and the machine does not slow down no matter how quickly you go down the list of files.  You can keep clicking all day.
    On the other two computers, as you keep clicking down the list, after about six or seven clicks, the machine starts getting slower and slower in responding to display the PDF contents.  In Task Manager, you see multiple instances of AcroRd32.exe executing, and the list keeps growing with more instances - I've seen up to 8, with memory allocations to some of the instances approaching 700MB!  One of the CPU cores goes to 100%. If you stop clicking in Windows Explorer, eventually, the machine recovers, and the list of multiple instances of AcroRd32.exe shrinks, but never goes away completely until you close the Explorer window.
    What could account for this difference?  One of the users is complaining - he often browses folders of scanned PDFs looking for invoices, transactions, etc., and has to go slowly to keep his machine from bogging down.  I don't know when this behavior started.
    It doesn't matter if it is a shared folder on a network resource or one locally on the machine, or if it is an admin or standard Windows account - the behavior is the same.  I've tried uninstalling and reinstalling Adobe Reader, to no avail.
    Thanks for any ideas.

    Yes i'm having this issue to.
    Becomes worse after display many documents in pane, worst even if scanned images are in.
    After killing the  process, sometimes it generate even more process.
    After Killing all the process, sometimes need to deactivate the pane view and activate
    again to restore normal preview.
    Sometimes it takes a lot of time to progress to file below, if i wait, going to files above, it pass
    the file that shows delay, without any problem.
    I add received from Microsoft, in answer to the same issue to uninstall adobe reader and install
    latest version. It become a bit more stable, but problem still shows.
    Abobe reader: 10.1.0, ATI latest drivers 11-07
    Please, Help!

  • Multiple instances of nilm.exe zombies causing laptop to crash

    Symptom:
    My laptop was recently disabled by multiple instances of nilm.exe.
    The computer became sluggish and eventually could only be shutdown by removing the battery.
    The task manager reported that the amount of memory being using was over 1 Gig and growing. Task manager processes showed pages of nilm.exe, presumably zombies.
    And of course the critial error pop-up - "nilm.exe could not initialize." that was always in top and could not be cleared.
    Extreme measure taken:
    Because of the sluggish performance I could not get to the service menu to shutdown the parent NI service. Instead I renamed the file nilm.exe to killnilm.exe thus inhibiting spawning yet another copy of nilm.exe.
    At this point I re-booted and set the parent NI license management service to start manually.
    Complaint:
    The NI knowledge base lists this as a known problem and that only one copy of nilm.exe should be running. The knowledge base also states the root cause is that TCP/IP is incorrectly configured. I do not agree this root cause statement. The root cause is poor programming practice that allows the lack of a computer resource (TCP/IP sockets connection) to completely crash a computer.

    Hi jwillis172,
    I guess that you are referring to the following KnowledgeBase:
    Multiple NILM Processes after Installing LabVIEW and the NI License Manager
    Did the solution/workaround in the KB resolve your issue? If not, please let me know.
    I'm not a developer, but I see your point in the statement that a
    missing computer resource should not result in a crash. Please make
    sure to submit your feedback to the KB through the option on the bottom
    of the page. This will bring your feedback to the responsible person
    for the KB.
    Thanks!
    - Philip Courtois, Thinkbot Solutions

  • Multiple instances of explorer.exe running in task manager

    I got a dropper trojan virus on my computer that microsoft security essencials do not recognized but after running "superantispyware" antivirus I got discover it and delete it. After that, I still could find the infected files in my
    administrator folders as .temp files and I just erased them. After that my computer started crashing and runing several instances of explorer.exe in the task manager with different memory values, some of them ascending to 350,000. I have set up my computer
    to run just the basic services, I have tried windows in safe mode, ran other antivirus programs but still it is performing the same. As far as I have noticed other unusual process present are host.dll, dllhost.exe, and logonUI.exe. Any idea about it? Thanks
    in advance for your help.

    I have the same issue. It started about a month ago when I was filling out a form online and had to quit and close the window.  My system got very buggy (can't remember details), flashing, then really slow.  Found a bunch of explorer.exe instances
    in Task Manager.  Ran Security Essentials and several other anti-viruses, nothing found.
    Running Win7 Pro, sp1, 64-bit, CoreI5, 4Gb Ram
    Restored system to a previous version, didn't work
    Restored last system image, didn't work
    Used System Repair Disk - ran Memory Diagnostic.  Said it would give me report after reboot.  Never saw a report after reboot. But only one instance of explorer.exe in task manager at that point.  Took disk out, rebooted normally.  After
    20 minutes or so, the multiple instances were back.
    Used Repair Disk again, ran Memory Diagnostic. Again, no report after reboot (leaving disk in machine both times), but only one instance running again. 
    Did this a few times with the same result, so now leaving disk in system and always boot from it.
    Ran Security Essentials again, found that rovnix virus, removed, ran again, found it again.
    Ran search for instances and found many.  Here's an example:
    C:\Windows\explorer.exe
    C:\Windows\winsxs\wow64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.17567_none_b9fc4815c4e292b5
    C:\Windows\winsxs\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.21669_none_b0333b22a99da332
    C:\Windows\winsxs\wow64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.21669_none_ba87e574ddfe652d
    C:\Windows\winsxs\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.17567_none_afa79dc39081d0ba
    C:\Windows\SysWOW64
    When I check properties on the now single one on Task Manager, this is what it shows:
    C:\Windows\winsxs\amd64_microsoft-windows-explorer_31bf3856ad364e35_6.1.7601.17567_none_afa79dc39081d0ba\explorer.exe
    C:\Windows\explorer.exe
    I was going to reinstall entire system, but was from an Anytime Upgrade which now says it's invalid.  Much more to story on that (calls to MS support, etc.).

  • How can i run multiple instances of Photoshop EXE at the same time on windows 7

    Alright. You may ask why do you need multiple ?
    Assume that i have 10000 PSD files in 10 different folders
    I have a script that just save as them as PNG
    And these files are each 3000x3000 px
    My computer has 8 cores and 1 photoshop exe is only using 1 cpu core
    Also i have SSD raid system it has 750 mb read write per second
    So right now i am wasting my time with running only 1 photoshop exe instead of at least 4

    I'm not aware of a way to run multiple instances or different versions of photoshop at the same time on windows.
    Assuming of course they are all installed on the same operating system.
    On mac versions you can running two different versions of photoshop at the same time, but i don't think that's possible on windows where it
    appears that only one version of photoshop can run at a time.

  • -TesStand - On PreLoad - Multiple instances of nimxsoffline.exe opened?

    nimxsoffline.exe - On TestStand Preload - multiple instances are opened and stay open unless Modules are unloaded (2013 & 2012SP1)
    It is Workspace dependant and happens on a TestStand Preload.
    All Code Modules are Labview and there are Project specific StepTypes.
    Has anyone seen this before ?

    Hi Teuch,
    Thank you for your question. It is absolutely fine that nimxsoffline.exe since it is required for
    a TestStand to work properly.
    It is a system service and it should not cause you any problems.
    Kind Regards,
    Max
    Applications Engineer
    National Instruments

  • Multiple instances of jrun.exe running?

    Is it common for there to be more than one instance of
    jrun.exe running in a non-clustered installation of CF7? There have
    been episodes where jrun.exe seems to get taxed on moderately size
    queries. After looking at Task Manager on Win2K3 server - there are
    sometimes 3 or 4 instances of jrun.exe running. The first instance
    is usually very high (ex. 450 MB) while the other instance(s) hover
    around the 10-15 MB mark and remain constant. Does this sound like
    an issue that can be controlled by CFAdmin or are there issues with
    our configuration:
    Win2K3 Server (VMWare instance)
    CF7.01 (yes we know it needs a patch)
    512 MB RAM
    Any thoughts on this is appreciated.
    Thanks.

    > Is it common for there to be more than one instance of
    jrun.exe running in a
    > non-clustered installation of CF7?
    Yes.
    A multi-server install (not a clustered) of CF could well
    have one instance
    of JRUN.EXE running for each CF instance. There's usually at
    least two: one
    for the initial CF instance, and one for the JMC. You can
    switch the JMC
    one off (starting it on the off-chance you need it, which is
    almost never).
    > The first instance is usually very high (ex. 450 MB)
    while the other
    That's not especially high for a CF app server. We generally
    allocate the
    max 1.3GB (on Windows) to the JVM that each CF instance is
    using.
    > 512 MB RAM
    OK, that's not even enough RAM for a PC workstation these
    days, let alone a
    server! W2k3 itself needs around a minimum of 400MB to run.
    The default
    install of CF will want another 512MB.
    I would not run a desktop PC on less than 2GB RAM these days.
    And make
    that 4GB for a server. A low-spec'ed one.
    Adam

  • Multiple instances of Internet Explorer in task manager using 100,000 KB+ memory

    Hi! I recently got a virus on my computer that causes multiple instances of explorer.exe and iexplorer.exe to appear in my processes tab of task manager. Over the course of about a minute, the memory usage of each begins to climb rapidly until all of my
    memory is being used by these. These do not appear in my applications, nor do they actually open up an internet explorer window. When I end task on them, another one appears about a minute later to take its place and do the same thing again. Additionally,
    when I click shut down to turn my computer off, various advertisements flash on my screen for a few seconds before the computer begins to shut down. When the computer is started up, a window appears for a split second that contains only blackness. I have never
    seen this window appear before the virus was obtained. When I end task on all my explorer.exe and iexplorer.exe applications at the same time, my desktop vanishes, but it also stops those applications from reappearing.  This virus has caused my computer
    to run unbearably slow. I have tried Spybot S&D, Exterminateit, AVG, Roadkill, and other methods and nothing seems to detect this or cure it. I am not that good with computers, but I am dying for help on the matter! If you can assist, please let me know
    what I can do with detailed instructions for my sake! Thank you!!!!!!

    See and follow Andy's excellent advices.
    In addition...
    See: "How to
    Reset Internet Explorer settings".
    If the issue persists...
    1. Please download and run the
    Microsoft Safety Scanner tool (freeware).
    2. Reboot your PC.
    3. Please download and update Malwarebytes Anti-Malware Free
    4. Reboot Windows in
    Safe Mode and run a Full Scan with Malwarebytes Anti-Malware.
    5. Download and Run AdwCleaner (Freeware)
    6. Reboot and Test.
    Best of Luck,
    Vincenzo Di Russo
    Microsoft® MVP Windows Internet Explorer, Windows & Security Expert - since 2003.
    Moderator in the Microsoft Community and TechNet Forums
    My MVP Profile

  • How to reference multiple instances of the same Java object from PL/SQL?

    Dear all,
    I'm experimenting with calling Java from PL/SQL.
    My simple attempts work, which is calling public static [java] methods through PL/SQL wrappers from SQL (and PL/SQL). (See my example code below).
    However it is the limitation of the public static methods that puzzels me.
    I would like to do the following:
    - from PL/SQL (in essence it needs to become a forms app) create one or more objects in the java realm
    - from PL/SQL alter properties of a java object
    - from PL/SQL call methods on a java object
    However I fail to see how I can create multiple instances of an object and reference one particular object in the java realm through public static methods.
    My current solution is the singleton pattern: of said java object I have only 1 copy, so I do not need to know a reference to it.
    I can just assume that there will only ever be 1 of said object.
    But I should be able to make more then 1 instance of an object.
    To make it more specific:
    - suppose I have the object car in the java realm
    - from PL/SQL I want to create a car in the java realm
    - from PL/SQL I need to give it license plates
    - I need to start the engine of a scpecific car
    However if I want more then 1 car then I need to be able to refrence them. How is this done?
    Somehow I need to be able to execute the following in PL/SQL:
    DECLARE
    vMyCar_Porsche CAR;
    vMyCar_Fiat CAR;
    BEGIN
    vMyCar_Porsche = new CAR();
    vMyCar_Fiat = new CAR();
    vMyCar_Porsche.setLicensePlates('FAST');
    vMyCar_Porsche.startEngine();
    vMyCar_Fiat.killEngine();
    END;
    Thanks in advance.
    Best Regards,
    Ruben
    My current example code is the following:
    JAVA:
    ===
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED CODAROUL."RMG/BO/RMG_OBJECT" as package RMG.BO;
    public class RMG_OBJECT {
    private static RMG_OBJECT instance = new RMGOBJECT();
    private String rmgObjectNaam;
    private RMG_OBJECT(){
    this.rmgObjectNaam = "NonDetermined";
    public static String GET_RMGOBJECT_NAAM () {
    String toestand = null;
    if (_instance == null) {toestand = "DOES NOT EXIST";} else { toestand = "EXISTS";};
    System.out.println("instance : " + toestand);
    System.out.println("object name is : " + _instance.rmgObjectNaam);
    return _instance.rmgObjectNaam;
    public static Integer SET_RMGOBJECT_NAAM (String IN)
    try
    _instance.rmgObjectNaam = IN;
    return 1;
    catch (Exception e)//catch
    System.out.println("Other Exception: " + e.toString());
    e.printStackTrace();
    return 5;
    } //catch
    PL/SQL Wrapper:
    ==========
    CREATE OR REPLACE FUNCTION CODAROUL.SET_RMGOBJECT_NAAM(NAAM IN VARCHAR2) return NUMBER AS
    LANGUAGE JAVA NAME 'RMG.BO.RMG_OBJECT.SET_RMGOBJECT_NAAM (java.lang.String) return java.lang.Integer';
    Calling from SQL:
    ==========
    CALL dbms_java.set_output(2000);
    select CODAROUL.GET_RMGOBJECT_NAAM() from dual;
    Edited by: RubenS_BE on Apr 6, 2012 5:35 AM
    Edited by: 925945 on Apr 6, 2012 5:41 AM

    You can do this by manually creating a new iterator binding in your binding tab.
    So instead of dragging the VO directly to the page, go to the binding tab, add a new executable iterator binding, and point to that one from your ELs in the page itself.

  • XI-Multiple instance scenario -File & SQL sender communication channels

    Hi
       i have a basic question regarding how file sender communication channel ( where we poll for a particular file pattern either using file/ftp types in a particular subfolder ) or a sql sender communication channel - ( selecting records from a sql source ) would work in a scenario with two active XI instances and j2EE file and sql adapter services running on both of the J2EE servers ?
    1. How would the file polling from both J2EE servers - avoid a conflict looking for the same file pattern ? Is there any inbuilt mechanism from SAP to make multiple instances work with the file polling - without a confict ?
    2. Simlar question for SQL sender type communication channel ?
    If SAP does have a mechanism to handle multiple instance scenarios for file and sql sender adapter based communication channels, is there a link/document on this ?

    Hi Karthik,
    Please see my comments.
    I am just wondering aloud - what will happen if we use a select for update clause in the sql sender adapter communication channel -
    Gouri: Yes you can use select + update. In fact that is the right way.
    will this ensure that polling from one J2EE instance will lock the selected records so that the second instance does not select the same set of records from the sql server ? Or should we not use a select for update and use a simple select statement ?
    Gouri: Yes. SQL DB will ensure that same data will not be picked by another node. As I mentioned earlier use serilizable option from advanced mode.
    -Gouri

  • Validation Multiple Instance of Entity

    I have created multiple instance of an entity and there is a regular expression attahced with one attribute of entity.
    I want validation of regular expression should be fired for only one instance, but it is getting fired for all instance.
    Can you all please give me solution for this.

    When you say it is fired for all instances, when is it being fired?
    How are you creating the entity instances?
    Davin.

  • Multiple instances of a service from a bean

    Hi all,
    I have a class that provides a service, however there can multiple instances of this object and I need to retrieve all instances of the service. A simplified version of my function is:
    public MyService getMyService() throws Exception
    if (_myService == null)
    myService = (MyService)getBeanContextServices().getService(bccs, this, myService.class, null, new MyServiceRevokedListener());
    return _myService;
    I guess that I need to return a Collection of MyService objects from this function. When I call getService(...) there is only on instance returned (not surprising really). I have been searching through the documentation for a function that will return all instances of a service. This sounds like functionality that I would have expected to be provided by the API so before I write application specific code, I was wondering if anyone out there could offer some advice.
    Any thoughts and suggestions would be appreciated.
    Regards,
    Chris

    You mean likepublic MyService[] getMyServices()...? If you're looking for an API that returns a set of resources, try java.awt.GraphicsEnvironment.

  • Logging into multiple instance using single ID

    We have multiple instances of CRM ONDemand and have login ID for each instance. I have a group of users who are users across multiple instances, the problem is they have to login using ID and Password every time they navigate across instances. Is there a way in which this can be simplified.
    Eg:
    I have 2 countries with different data set and due to nature of business I have to keep the data separate. But I have operational resources who have to access both instances, is there a way in which they can access both instances from single screen.

    Hi, For seemless navigation of users across instances you can thing about implementing SSO. But if you like to see data across instances in one single instance, it may not be possible without using webservices
    -- Venky CRMIT

  • Is there anyway to open multiple instances of a dll?

    I have a dll in which controls an instrument. I need to communicate to multiple instruments with this dll. This dll only supports 1 instrument at a time. Is there anyway to load multiple instances of this dll and call same functions from each dll instance for different instrument.
    Thanks.
    CVI 2010
    LabVIEW 2011 SP1
    Vision Builder AI 2011 SP1

    The idea as I understand it is something like this:
    HANDLE MyLoadLibrary(LPSTR dllname)
    // check in a global list if the DLL is already loaded
    // if it is
    // copy it to the temp directory with a different name and load it from there with LoadLibrary()
    // else
    // LoadLibrary() the requested DLL
    // store the DLL name and handle in our global list
    // return the handle
    void MyFreeLibrary(HANDLE handle)
    // search the handle in our global list and remove the entry
    // FreeLibrary(handle);
    That all said it may work for a particular driver but more likely the driver will stumble somewhere over the fact that its functions expect to have exclusive control over certain lower level resources. It's definitely a sure way into maintenance nightmare and you should consider to use or create a different driver almost at all costs if possible at all.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

Maybe you are looking for

  • Is Dreamweaver compatible with Windows Vista?

    No matter what I do I can't insert text into Dreamweaver. I'm beginning to think Dreamweaver is not compatible with Windows Vista. I can type text into it but I can't write a document in another program then insert it into a DW page. It just won't do

  • The list doesn't appear in the input field

    Hi All The list doesn't appear in the input field when I make input or press the BACKSPACE key. Notes: I made this modifications: 1. In connection properties I set High speed connections (LAN) 2. In local data settings I set the historial to ON we ha

  • Display variable values in Web report

    Hi Bw Mates,,, I am trying to display the variable values in Web Report. I put one text Item in Template and checked the Variable Display and entered the variable name in List. still I cannot see the variable values in the report. Thanks for your hel

  • CS4 Design Premium is falsely (I think) claiming I have activated twice already

    I'm wondering how I rectify this situation. I don't remember activating my recently purchased brand new full license of CS4 Design Premium more than once already. I have it activated on my desktop, and now I'm trying to activate on my laptop (machine

  • Business Area - greyed out

    Hi! One particular activity was set DLFL and in the Activity- assignment field it is asking for Business Area. The field has greyed out. It is not allowing to remove the deletion flag either.Your help in this regard shall be appreciated. I tried with