Get VI ref for LV executable set to allow multiple instances

I have inherited some LabVIEW code, which I'm not inclined to change, that will run as an executable with multiple instances set to true on a standard Windows PC. There could be up to four of these executables running in parallel on one machine. I need to interact with these four executables programmatically, and I was hoping to use VI Server to get and put values into the FP controls. However, the visible title of these instances is not necessarily known as they change their names depending on their state, which includes a floating point numeric (for example "My Software n=1.234")
Question: From within LabVIEW (my own executable), how do you get a reference to another LabVIEW executable on the same target when there could be n instances of that executable?
Is it possible to get a list of those VIs that are running as an executable? I tried "Application:All VIs In Memory" property but it returns only the VI that the call is inside, and doesn't see the running executable (I'm not surprised).
I thought about using Windows calls to retrieve all window titles and parse them for this executable, but that might not work as the numeric in the title changes rapidly, so no sooner than I've worked out the title it'll already have changed and will no longer be valid for Open VI Reference. 
I'll continue to try a few other ideas, but would appreciate any input from you smart folk out there 
Thoric (CLA, CLED, CTD and LabVIEW Champion)

Question: From within LabVIEW (my own executable), how do you get a reference to another LabVIEW executable on the same target when there could be n instances of that executable?
 I need to interact with these four executables programmatically.
I'm digging deep here.....  Lets toss out any VI ref or method off the top.  You need to interact with running applications.  To make things just a bit more strange you need to interact with specific instances of the same application while those instances are <poofing> in and out of existance beyond the knowledge of "YourApp.exe"
At least they are on the same target
I cannot think of a elegant way to identify a specific app instance of an exe without the app instance itself supplying some of that info upon launch.  The OS is doing the launching and interaction with the app instances and the LVRTE is merely helping interperate the instructions contained in the executable.
Publishing the RunTime read only property App:Active:App to an element of  a single process shared variable array of "apps.active"  might help.    YourApp can read the array and learn what app instances are active.  But I may be going down a rabbit hole here since that merely filters the problem down to "Finding one of a few instances of a particular app that is currently running"  And it involves modifying the application you inherited.  You said you did not want to modify InheritedApp but, IF you chose to, or it becomes necessary anyway, pass App:Active:App + whatever you need to specify instance out of the app when it is called- ( even if its just a filename YourApp and the InheritedAppInstance can use as a data transfer point)
Time for me to sit back and learn something new today.
EDIT: Just did "What you will want to do is configure each instance of the EXE to have different VI server settings (specifically, the port number or service name) "
Jeff

Similar Messages

  • How to get remaining time for baton after setting timeOut property

    Hello,
    Is it possible to get the remaining time for baton after setting timeOut, or do I have to maintain a separate Timer for that?
    Been following this excellent tutorial here http://tv.adobe.com/watch/adc-presents/create-shared-forms-in-livecycle-collaboration-serv ice/

    Thanks Nigel, before reading your reply, I came up with something like this, but it seems extending the Baton class is not enough, as I would need my own BatonProperty as well that uses this extended Baton class...
    Also attempted to get some help here http://stackoverflow.com/questions/7116814/actionscript3-lccs-how-to-access-property-paren t-class-protected-var/7116882#7116882
    Could this be made into a feature request for Baton and BatonProperty, se we could easily get the remaining time please?   I guess I can wait for a future release.
    /custom as file /
    package com.mysite.BatonExtender
         import com.adobe.rtc.sharedModel.Baton;
         import flash.events.TimerEvent;
         public class BatonExtender extends Baton
              public function BatonExtender()
              super();
              _autoPutDownTimer.addEventListener(TimerEvent.TIMER,countDown);    
              trace("CURRENT TIMER:"+_autoPutDownTimer.currentCount);
              trace("BATONEXTENDER added");
              public function countDown(p_evt:TimerEvent):void {
                   trace("TRACING START countDown....");
                   if (_autoPutDownTimer.running) {
                        trace(_autoPutDownTimer.currentCount);
                        //sharedTimer.value = String(90 - _autoPutDownTimer.currentCount);
                   trace("TRACING END....");

  • How to get Unique calid for users with same name in multiple domain env..

    I found we need to use "-k legacy" option for creating users in non-hosted setup..
    I had two domains default as xxxx.com and the one that I created as yyyy.com
    When I have users with same name in two of the domains as user1..
    The calid for both of them is... user1 ....so they share the same calendar
    When Im in valid SSO of yyyy.com I get the mail account for user1 as [email protected] .....but the calid .. common as user1
    How I can get unique calid for users under two domains..
    whether I need to set Hosted domain support...Then how the mailid's differ with out using hosted domain support..
    And I need to login UWC without using @domain.com...
    Help me on this...
    Ashik

    Do you have UWC and Cal configured at least for virtual domain support?
    basically.. for discussion.. let's say you have three domains on your server.. 1st domain is the default domain. other 2 domains are virtual domains.
    if all domains were created with mail and cal support (-S mail,cal).. you would use the following options when creating users:
    1) for the default domain.. you must use the "-k legacy" option when adding users.
    2) for the other two domains.. when you create the user.. do NOT use a "-k" option.
    If you do not use the "-k" option.. it defaults to "hosted" which will cause the user's calid to be [email protected]
    If you Do use the "-k legacy" option.. it will create the calid as just "userid"
    With regard to logging into UWC without the @domain.com part of a username in a hosted domain.. the easiest way to avoid this.. is to point a host name under the hosted domain to the server.
    if you point webmail.xxxx.com to the server... and then access it via:
    http://webmail.xxxx.com/uwc/
    any users in the xxxx.com hosted domain will NOT need to use @xxxx.com when logging in... they can just use "userid"
    This feature does not take any special configuration (aside from adding a DNS entry for the hosted domain)
    Hopefully that helps.

  • My mac is not able to turn on i was wondering if i could sign onto my apple ID on my iphone to get a refund for an album i accidently purchased multiple times

    My mac is not able to turn on and i was wondering if i could somehow sign into my apple ID via my iphone to manage my account and get a refund for an album i had accidently purchased three times

    Call.
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes
    international calling numbers..
    For Mac App Store: Apple - Support - Mac App Store.
    For iTunes: Apple - Support - iTunes.

  • Derived Column : for Lookup type column with 'Allow Multiple Selection' : True in sharepoint list

    Hello,
    I have one column where field type is Lookup but 'Allow Multiple Selection' is true in SharePoint List.
    So, in this scenario data from the SharePoint list is being exported as below.
    1;#Red;#3;#Blue;#4;#Black;#5;#Green
    Now resultant text exported to SQL Table should be :
    1,3,4,5
    OR
    Red,Blue,Black,Green
    Either way it is fine. How can we get this using Derived Column and Data Conversion?
    I am able to do this for single occurrence using below expression.
    (DT_STR,100,1252)(SUBSTRING([BusinessUnit],FINDSTRING([BusinessUnit],"#",1)+1,LEN([BusinessUnit])-FINDSTRING([BusinessUnit],"#",1)))
    Please suggest.
    Thank you,
    Mittal.

    Your best bet would be to do this in sql using a string parsing udf as below
    http://visakhm.blogspot.com/2010/02/parsing-delimited-string.html
    You can make it into procedure and call it from oledb command task.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Getting Return Code for cl_gui_frontend_services= execute

    Hey,
    im using the static method cl_gui_frontend_services=>execute  to start a program locally. The program is openens synchronously and i need to get the return code of the program. I mean not the one from the method-call but from the external tool on OS-level.
    Is there a way to get that one ?
    Thanks and regards,
    oliver

    well seems there is no way...solved it now over a result-file which is get written by the called tool and later read by sap.

  • Getting my username for my Email set

    I setup a few emails accounts when i first got my Blackberry 8330. I don't remember my username. The system is setup to give you your password based on a username. I cannot create an account and start over because it see's that my pin # already has an account. Does anyone know where I can go to get my username attached to my pin. My provider is Verizon Wirless. I have checked there site and have found nothing.

    Hello, I just had the same problem with my girlfriend's phone. You may be able to have the same luck I had. We used a laptop and went to at&t site, and found the link to the blackberry internet service site. From there you should be able to request your password, but to get your username, try the first letter of your first name and either your full last name or possible 4 letters. Hope this helps!

  • Can't get past "waiting for activation" when setting up iMessaging, Help??

    I am currently living in Kenya and using my AT&T iPhone 4 to communicate with my family back home in the States over iMessage and FaceTime (through WiFi exclusively). All of the sudden, I turned on my phone and iMessaging had ceased to function as had FaceTime. Upon trying to turn them on and off, I have been stuck with the 'waiting for activation' message and it doesn't go away!
    I am tried resetting the date and time, resetting the network, logging in and out of Apple ID, going in and out of airplane mode, resetting my phone, resetting network settings.
    Going to the Apple Store really isn't a viable option, nor is calling them.
    If anyone has any idea how to solve this problem please let me know!!
    Thank you very much!

    haleyfromme wrote:
    I tried what you suggested @fromsouth and still no luck! I am going to have to go back to online chatting with Apple I think. 
    If you already tried to sign out of imessage, change your imessage password, Turn it on and sign in with email address only and leave it activating overnight.  Then I need to wish you good luck chatting with Apple.

  • Fix for XP Home Edition not allowing multiple users to access iTunes

    When I upgraded to iTunes 7.6 only one user could run iTunes, all other users got a Fatal Error after windows attempted to configure the program. Below is a link to the fix. I didn't have any problems in prior releases. Looks like it is related to the different users rights to the C:/program files directory.
    http://groups.google.com/group/microsoft.public.windowsxp.basics/browse_thread/t hread/3d68c55916df9198/96841e570cca9627?lnk=st&q=%22programfiles%22%22

    http://groups.google.com/group/microsoft.public.windowsxp.basics/browse_thread/t hread/3d68c55916df9198/96841e570cca9627?lnk=st&q=%22programfiles%22%22

  • R1: tcAPIException: Duplicate schedule item for a task that does not allow multiples.

    Hi,
    I'm struggling with the following task:
    I have to assure an account exists for a given resource. I do provision it with the .tcUserOperationsIntf.provisionObject().
    I've created a createUser task to create the account.
    The task code checks if there is already matching account.
    If no account exists, is is created in the disabled state, and the object state of OIM account is set to 'Disabled' by means of task return code mapping.
    If it exists, it is 'linked' to OIM account.
    The problem is if the existing account is enabled, I have to change the OIM account state to 'Enabled' either.
    To implement this (thanks, Kevin Pinski https://forums.oracle.com/thread/2564011 )) I've created an additional task 'Switch Enable' which is triggered by a special task return code. This task always succeeds, and its only side effect is switching the object status to 'Enabled'.
    By I've getting the 'Duplicate schedule item for a task that does not allow multiples' exception constantly:
    This is the stack trace:
    Thor.API.Exceptions.tcAPIException: Duplicate schedule item for a task that does not allow multiples.\
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(tcUserOperationsBean.java:2925)\
      at com.thortech.xl.ejb.beansimpl.tcUserOperationsBean.provisionObject(tcUserOperationsBean.java:2666)\
      at Thor.API.Operations.tcUserOperationsIntfEJB.provisionObjectx(Unknown Source)\
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\
      at java.lang.reflect.Method.invoke(Method.java:601)\
      at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)\
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)\
      at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)\
      ...skipped
      at Thor.API.Operations.tcUserOperationsIntfDelegate.provisionObject(Unknown Source)\
      ... skipped
    What did I wrong?
    Regards,
    Vladimir

    Hi Vladimir,
    Please select 'Allow Multiple Instance' checkbox for the process task.
    Thanks,
    Pallavi

  • FRM-41316: cannot set insert allowed property of disabled item

    We are facing an error message while entering the Invoices in Apps R12 . Requested to please look into the issue.
    Navigation : CNG India Local AP Super User
    Oracle Payables>Invoice >Entry>Invoice
    getting the error
    FRM-41316: cannot set insert Allowed Property of disabled item inv_sum_folder.doc_category_name
    thanks in advance....

    Please see these docs.
    12.1.1 – FRM-41316 Error On Invoice Workbench Forms [ID 862433.1]
    R12: Invoice Workbench, get FRM-41316 Error Message [ID 1332977.1]
    FRM-41316 Cannot Set Insert Allowed Property Of Disabled Item LINE_SUM_FOLDER [ID 467206.1]
    FRM-41316: FRM-41316: Cannot set Insert Allowed property of disabled item APP_FOLDER.TRANS_TO_RECEIPT_RATE When Applying To Foreign Currency Invoices [ID 392368.1]
    Thanks,
    Hussein

  • Value "JCO CALLS" for variable "E2E Metric Type Variable(multiple values)"

    Hello Experts, 
    Workload analysis for java components doesnot show any data.
    more over get "JCO CALLS" for variable "E2E Metric Type Variable(multiple values)"  error.
    my setup wizard completed without any error.
    Any suggestions ?
    Thanks & Regards
    Sankar

    Hi Sankar,
    have a look at my post in no data for Jco in E2E thread.
    Hope this helps.
    Regards,
    Shyam

  • I have a new iPhone 5C, have the sounds alerts set up. But I'm not getting sound alerts for new voicemail, only the red circle on the screen.  How can I make the sound alert work?

    I have a new iPhone 5C, have the sounds alerts set up. But I'm not getting sound alerts for new voicemail, only the red circle on the screen.  How can I make the sound alert work?

    I have had this same problem for weeks now with my 4S.  I just got a new 5S after being extremely frustrated and the same thing - no sounds.  After searching posts all over, I couldn't find a solution. I just told my friend of the issue and he asked "Do you have the Do Not Distrub on?"  I didn't even know such a function existed.  Upon looking that was exactly the issue.
    To resolve, go to Settings> Do Not Disturb> Manual.  If it is green, turn it off.  You will now get phone calls and text alerts.
    This functionality is also on your quick access utility menu (slide up menu).  I assume this is how it was enabled on my phone.
    I will post on other sites since I searched for weeks for this solution and didn't see it anywhere.  Good luck!

  • Getting Rolling Date for a request in scheduled request set

    Hi All,
    I have a request set and autoinvoice runs as a part of this request set , autoinvoice has parameter default Date and when I schedule this request set , I have to fill this parameter (eg:07/07/2006) as this is mandatory parameter. However when I schedule this request set , I find that now reques set runs autoinvoice everyday with default date parameter having same value ie 07/07/2006 even though I have setup request set correctly ie I have supplied current date as default value for this parameter in request set.
    Can anybody tell me how do I get rolling date for a Autoinvoice request which fires as a part of scheduled request set running everyday.

    Hi Robert,
    This is an AOL problem. Please post your query in the AOL forum to get better replies.
    Regards,
    Swapna.

  • I did re-set my password and when I click on Install for Mavericks, I still get a box for "administrator password" and it still won't accept my new password. Is there a difference between my Apple ID and the administrator password they're asking for?

    I downloaded Mavericks and it won't install. I did re-set my password and when I click on Install for Mavericks, I still get a box for "administrator password" and it still won't accept my new password. Is there a difference between my Apple ID and the administrator password they're asking for? I never had an administrator password-- I just hit enter and have never had a problem before with previous installations. I'm on an iMac, from 2007, running Mt. Lion (version 10.8.5). I've been looking for other's posts who may be having the same problem, but haven't found any. Can anyone help?

    Ugh. The 'no password, no work' thing is a recent Apple development. I ran into it on my system and ended up having to do a clean install on a partition I fully erased.
    I suppose, if you have the ability to, go online and look up how to burn a bootable DVD image. Download the 10.8.4 image then use the Disk Utility to make a boot image of it. You'll need a dual-layer DVD or a USB drive (or memory stick at least 8GB) If you've got an optical drive, burn the disk, if you've a USB device, use that.
    Then get a pocket drive and copy your important files off the system or let Time Machine do a full backup.
    When the backup is done, insert the disk and hold down the C key until the machine boots off of the DVD. At the point you get to the start window, go to the menu and choose the Disk Utility.
    In the Disk Utility, reformat the drive. You go to the actual DRIVE (not the Macintosh HD, but the root above it that is the actual hard drive device)
    I always do this and *partition* it into several volumes, the benefit being, you can store all of your music, documents and importans stuff on that secondary storage volume you make - it will have it's own index and then the first volume is where you put the OS and it will have it's own index as well. That way, if the OS throws a wobbler and you need to reinstall, you don't lose your data.
    Depending on the size of your hard drive, it is good to give your OS partition at least 60GB and optimally 100GB, and the rest for storage.
    Name your volumes, use the little box sliders to manually size them or put that number in the size window, select for the format, Mac OS Extended (Journaled) and hit Apply and then the Disk Utility will quickly create your new partitions.
    Once finished, quit the Utility and it will return you to the OS installer. Select the volume you want to install to and it should start up and install.
    Once the installation is done, you'll get the new machine startup then you MUST put in a password for the computer. Once you're in, and to the desktop, don't bother with any Mountain Lion updates, go right to the App Store and get the Mavericks update and let it install the app to your Applicaitons folder, then do that install.
    On a side note, there MAY be a way to make a disk image from the Mavericks application and avoid the entire Mountain Lion step.. I honestly do not know, but a bit of hitting the search engines may find out if there is. I think that if you looked for "make Mavericks boot disk or boot image' you may find something.
    Good luck!

Maybe you are looking for

  • How to set-up Mainstage for 2 Keys, 2 patch lists in a single concert?

    Am new to Mainstage and Logic. Need help ASAP for a show, please, and am too lazy to read the manual   How do I set up Mainstage for 2 Keys with 2 performers each controlling a patch/set list of their own in a single concert file? First rehearsal is

  • Editing PDF When Converted from Word to PDF

    I converted a word document to PDF. When I opened the file to edit and use the OCR Text Recognition it said could not edit because of renderable text. I also have photos and website links in the document. What can I do so I can edit the text?

  • Videos not showing in icloud

    I have an iPhone 5 with video in my camera roll that I have shot. I manually pushed my videos into the cloud but they are not showing up.  I have a Mac Book Pro and am looking for the video in iPhoto.  My Mac is new - I tried this with IOS as well as

  • Issue Coupon in Advanced Pricing

    hi, i have to issue coupon to the customers using the issue Coupon functionality in Advanced Pricing.For this i have created Modifier List Type of Promotion.And created two Modifier Lines of Discount and Coupon issue under this Modifier List.While As

  • Jquey issue in FF -- works fine in IE -- please help

    Hi I'm working on a new site which has a main advert rotator, latest offer scroller (both using cycle) and toggle effect for additional search options - in firefox I have managed to get the latest offer rotator to work on a page alone but when I comb