How Can I Dynamically Load And Run Another VI In Parallel To My Main VI?

Hi,
This question is supposed to be answered here. 
http://digital.ni.com/public.nsf/allkb/CB109EC8325252A18625735B0049830B
where it points to the example file 
Example Program: Using VI Server to Call SubVIs that Run Parallel and Independently of the Calling V...
However, this file is not there at the above link. Would appreciate if someone can share this program with me or any other advise.
Thanks,
Pulkit
Solved!
Go to Solution.

I am attaching a VI that does this if you provide the path of the VI you want to launch dynamically (LV 8.5).
HTH.
PS: if the VI is already opened, it just brings it to the front (you may want that, if not, just remove that case and the corresponding test).
Attachments:
Run Vi.vi ‏23 KB

Similar Messages

  • How can i down load to run real player font iso-8857-1

    hi
    any one help me, how can i down load to run real player font iso-8857-1
    thank you

    hi
    i am sorry, when i try to watch some files by using real player it shows message like this " some componets were not available (text/http: charset=ISO-8859-1) '' . i dont what to do can you please explain me .
    thank you

  • I have two Apple ID, how can I delete one and use the email address associates to the main one?

    I have two Apple ID, how can I delete one and use the email address associates to the main one?

    If you abandon one of the Apple IDs you will also basically be abandoning any content that you have acquired with that Apple ID. Content can only be updated and re-downloaded with the Apple ID that was used to buy it. Apple will not combine the content of Apple IDs and Apple will not transfer the content from one Apple ID to another Apple ID.

  • How Can I Dynamically Name and Set Variable Values?

    First one with a correct answer will have the FUNCTION named after them......
    What I want to do is create 'new' variables based on the index of the parent.
    So, if I have 4 subforms called 'Panel' (Panel[0], Panel[1], Panel[2], Panel[3]), I want do declare a local variable in my function to count from 0 to n  for each Panel.
    We won't know how many Panels we will have until runtime. So, I need the variables to keep track of the count (it's tracking the number of errors) - for each Panel.
    Something like this:
     if(obj.rawValue==null || obj.rawValue=="")
    var errorCount[obj.parent.parent.index]=errorCount[obj.parent.parent.index]+1;
    app.alert(errorCount[obj.parent.parent.index]);
    I am assuming it has something to do with Arrays.  But I suck at Arrays.
    Thanks for the help.

    You're correct, arrays are the way to go.  Define your error array like this:
    var errorCounts = [];
    Then, understand that when an array entry is not set it will have the value 'undefined', so you can know if an entry has been initialized.  So to increment the count for a particular index (subform occurance) use:
    // If entry is being set for the first time, set it to 1.  Otherwise increment count.
    if ( errorCounts[index] == 'undefined' )
        errorCounts[index] = 1;
    else
         errorCounts[index]++;
    You can also loop through and initialize the array to zero; then you can remove the check for undefined.  How and where you do this and how you figure out what 'index' is depends on how your form is set up and which event you're using to kick off the error check.  Give me a little more detail on what you're trying to do.

  • Can I safely download and run Java 7 on my OS X 10.6.8?

    Hello,
    Just purchased software that requires Java 7 ("runtime?"), but my system seems to only be able to run Java 6. How can I safely download and run Java 7 on my OS X 10.6.8? What is the solution or workaround?
    (PLEASE NOTE: I'm not a programmer. I rate my tech skills at a "3" on a scale from 1 to 10; 10 being strongest. I don't even know what "runtime" is... lol)
    Can anyone suggest anything? If so, I appreciate it.
    -Alysyn Curd

    How can I safely download and run Java 7 on my OS X 10.6.8?
    You can't. Java 7 requires OS X Lion or above.

  • How do I load and run a sequence from the Tools menu?

    If I can build a sequence to do something special, what's the syntax required to load and run it from a menu? This must be transparent to the customer. I know how to add menu items, but the tools customize window seems to be looking for an exe.

    When you go to tools>>customise and then add in an item to appear in a menu, you need to select sequence, rather than command.
    Hope that helps
    S.
    // it takes almost no time to rate an answer

  • How can I edit my website from another computer? and how can I create a new website next to the one, I have already? Can anyone help, please?

    How can I edit my website from another computer? and how can I create a new website next to the one, I already have? Can anyone help, please?

    Move the domain.sites file from one computer to the other.
    The file is located under User/Library/Application Support/iWeb/domain.sites.  Move this file to the same location on the other computer and double click and iWeb will open it.  Remember, it is your User Library that you want and not your System Library, as you will not find iWeb there.
    Just create a new site on the same domain file and it will appear below the other site.  If you want them side by side then duplicate your domain file and have one site per a domain file and they can then be side by side.

  • I lost my iphone and now icloud dosent download the photos !!! how can i get my photos in another way ??

    i lost my iphone and now icloud dosent download the photos !!! how can i get my photos in another way ??

    You will need to get another phone to restore from you icloud backup http://support.apple.com/kb/HT4859
    FAQ photo stream http://support.apple.com/kb/HT4486

  • How can I use undo and redo with run time menu?

    Hi..I try to built my own menu for graphic programming. How can I use undo and redo in labview with run time menu?

    filozof-
    During runtime, by default, LabVIEW has undo/redo data changes under the edit menu. This will undo/redo changes made to controls during runtime. If you want a more extensive undo/redo (custom for your application), you are going to have to do quite a few things
    1) Create a custom runtime menu (Edit>>RunTime Menu) and place your own undo/redo controls on it
    2) Keep an action history in your program
    3) Catch the Shortcut menu event for your custom undo/redo controls
    4) Reverse the last action in your histroy when you catch the event
    This method would allow you undo entire operations (like resize, move, or whatever kind of functionality you are building into your application) unstead of just undoing data changes.
    Xaq

  • IPod Nano 2nd Generation is requesting 4 digit code. I have never set a lock code. What is this and how can I get my Nano running again?

    iPod Nano 2nd Generation is requesting 4 digit code. I have never set a lock code. What is this and how can I get my Nano running again?

    There is no other way to bypass the combintation lock other than to connect the nano to iTunes and restore it to factory settings, erasing all content and settings from the iPod.
    B-rock

  • Upon launch of Lightroom after initial instalation a warning came up that said lightroom needs to create temporary files and cant open.  The it opened and the catalog i imported will not show the images.  How can I give permission? Running windows 8.1 64

    Upon launch of Lightroom after initial installation a warning came up that said lightroom needs to create temporary files and cant open.  Then it opened and the catalog i imported will not show the images.  How can I give permission? Running windows 8.1 64 bit.  I have avast virus software.

    Upon launch of Lightroom after initial installation a warning came up that said lightroom needs to create temporary files and cant open.  Then it opened and the catalog i imported will not show the images.  How can I give permission? Running windows 8.1 64 bit.  I have avast virus software.

  • How can I uninstall Maverick and reinstall snow leopard? My mac hasn't been the same since I upgrading to maverick. Runs slow, crashes, can't cope with normal functions.... Help, please help

    How can I uninstall Maverick and reinstall snow leopard?
    My mac hasn't been the same since I upgrading to maverick. Runs slow, crashes, can't cope with normal functions....
    I need to go back to leopard or buy a new MacBook Pro!
    Help, please help

    Revert to a Previous OS X
    Revert to former OS from Mavericks
    Revert to Snow Leopard

  • By mistake I started a down load in app store. How can I stop it and Get my money back?

    By mistake I started a down load in app store. How can I stop it and Get my money back?

    Try > Apple - Support - Mac App Store - Contact Support

  • How can i transfere music and playlist to another computer and deautherize old computer

    how can i transfere musis and playlist from one computer toanother and deautherize old computer?

    See this migrate iTunes library post.
    tt2

  • How to use dynamically column_name and column_name value in plsql procedure

    hi,
    how to use dynamically column_name and column_name value in plsql procedure.
    for example, i have one table with column col1.i want write plsql code with dynamically execute the insert one schema to another schema.
    by
    siva

    DECLARE
    CURSOR C
    IS
    SELECT cc_cd
    FROM TEMP1 WHERE s_flg ='A' AND b_num IN('826114');--,'709537','715484');
    CURSOR D
    IS
    SELECT * FROM cONSTRAINTS_test ORDER BY SRL_NUM;
    STMT VARCHAR2(4000);
    p_target_schema VARCHAR2(30):='schema1';
    p_source_schema VARCHAR2(30):='schema2';
    BEGIN
    FOR REC IN C
    LOOP
    FOR REC1 IN D
    LOOP
    STMT := 'INSERT INTO '||p_target_schema||''||'.'||''||REC1.CHILD_TABLE||' SELECT * FROM '||p_source_schema||''||'.'||''||REC1.CHILD_TABLE||' where '||REC1.COLUMN_NAME||'='||REC.cntrct_cd||'';
    Dbms_Output.Put_Line('THE VALUE STMT:'||STMT);
    END LOOP;
    END LOOP;
    END;
    cc_cd='434se22442ss3433';
    cc_t_ms is parent table-----------------------pk_cc_cd is primary key
    cc_cd is column name
    CONSTRAINTS_test table
    CHILD_TABLE NOT NULL VARCHAR2(30)
    CONSTRAINT_NAME NOT NULL VARCHAR2(30)
    COLUMN_NAME NOT NULL VARCHAR2(400)
    R_CONSTRAINT_NAME VARCHAR2(30)
    CONSTRAINT_TYPE VARCHAR2(1)
    PARENT_TABLE NOT NULL VARCHAR2(30)
    SRL_NUM NUMBER(4)
    CHILD_TABLE     CONSTRAINT_NAME     COLUMN_NAME     R_CONSTRAINT_NAME     CONSTRAINT_TYPE     PARENT_TABLE     SRL_NUM
    a aaa cc_CD     pk_cc_CD     R     cc_t_MS     1
    bb     bbb      Cc_CD     PK_CC_CD     R     cc_t_MS     2
    bb_v     bb_vsr     S_NUM     PK_S_NUM      R     bb_v      3
    cC_HS_MS     cc_hs_CD     cc_CD     PK_CC_CD     R     cc_t_MS     4
    cC_HS_LNK cc_HIS_LNK_CD     H_CD     PK_HS_HCD     R     cC_hs_ms 5
    cC_D_EMP     cc_d_EMP     Cc_CD     PK_CC_CD      R     cc_t_MS     6
    i want insert schema1 to schema2 with run time of column_name and column value.the column_name and values should dynamically generated
    with refential integrity.is it possible?
    can any please quick solution.its urgent
    by
    siva

Maybe you are looking for

  • Excise invoice number in FI report (FBL5N)

    Hi all, I want excise invoice number while checking fi posting report in FBL5N. In standard report, billing document number is there but excise invoice number is not there. Can anyone tell me that how can i get excise invoice number in FBL5N. Thanks

  • How can I use the iPad as a sound source for my Mac?

    I would like to be able to record sound off my iPad, onto my Mac.  (I'm using a musical app that only allows me to save short recordings, so I would like to plug my iPad into my Mac and record the music into my Mac, into Audacity or something.) I kno

  • Error while creating a Service Naming for OID

    Hi , I have installed Fussion Middleware 11.1.1.0.7 in REDHAT 32 bit, and configured the OID without a domain. database is 11g  resides in another machine which a AIX machine. Configuration went successfully. Checked the status of OID ./opmnctl statu

  • How to remove control chars from clob, prior to creating xmltype

    Hi, I am struggling with what should be really straightforward ... I have a simple program that takes an xml file stored in a clob column and attempts to convert it into an xml type. The program is declare      v_xml xmltype;      v_jobs_clob clob :=

  • Mutiple input streams

    i have two different input streams from different locations. i want to wait for data on these streams and then process that data. at the moment i have it like: string a = inputa.readline(); string b = inputb.readline(); if(string a.equals(something){