How do I Open a VI Reference to a version of a VI Template running in memory?

I'm spawning multiple versions of a VI Template using the VI server. I understand that each time I run a new version of the template it gets it's own space in memory. I then need to get a VI Reference to each indiviual version of the template running in memory so that I can open and close front panels dynamically, fron the calling VI and the template itself. When a version of a VI template is dynamically run LabVIEW renames it, so that the name of the VI running in memory is slightly different from the name of the template that it was based on, so I can't wire a name into the "Open VI Reference" node. I tried using the "Current VI's Path" node inside the template itself and that did not wor
k either.
I hope I explained this well enough. Any help greatly appreciated.

Alternatively, you can open a reference to the LV application and use a property node to get the names of all VIs in memory. Using this, you can generate a reference to the individual VIs too (without having to enter the path). You can wire the name of the VI to the "path" input of the open VI reference VI to open a reference to the VI if it is already in memory.
Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)

Similar Messages

  • How can I open multiple instances of the same version of FF?

    I understand that if I have multiple profiles, I can run different versions of FF side-by-side (like 3.6 and 4).
    However, what I'm interested in is how I can launch multiple instances of the same version of FF (4, for instance) using the same profile. In other words, I want to be able to double-click the desktop icon for FF, and open a new instance, and keep doing that as many times as I want. I don't want to have a different icon and profile for each instance (too much overhead to keep a dozen+ profiles in sync).
    I can always launch one FF window instance, and then keep clicking ctrl+N to launch new instances from inside it, which they all share the same profile (as I want). So, basically, I want to be able to do that from my desktop icon, rather than by having to do it with the keyboard ctrl+N sequence.

    But I don't understand why whatever Firefox does when you click ctrl+N can't also be done (with some sort of command-line switch) from a desktop icon?
    In other words, I clearly can create many FF instances (even if they are the same FF.exe process) by doing ctrl+n a bunch of times. Why then can't this behavior be done from a desktop icon with some parameters?
    As far as I know, FF is the only browser that doesn't directly allow multiple browser instances from desktop icons. IE, Chrome, Safari, Opera, etc... all let me launch a new instance (even if they are all single process and the instances are shared within the process).

  • HT202879 How can I open a file made with old version of Pages (before 09)?

    I need to open a file made with old version of Pages (before 09).  How can I do this?  I only have iworks Pages free with Mac Book Pro.

    You need either Pages '09 or the original Pages '08? programs.
    With Pages '09 you simply open it and it accurate converts it to Pages '09. Pages 5 will open the Pages '09 version but may alter/damage the file.
    With Pages '08 you Export it to Word .doc/.docx with mixed results, then open that in Pages 5 which may alter/damage the file.
    Peter

  • How do I Open a Vi reference to and run a Polymorphic VI?

    In my case, I was trying to use a PolyVI Refnum to an instance of PID.vi. Even though I set the inputs for some of the controls, I have no output.the Invoke Method of 'Run VI' does not return an error. The Invoke Method of Ctrl Val. Get All does not return an error, but also returns an empty array on the character array.
    The problem seems to be with how VI server handles PolyVI Refnums, the constant for Polymorphic VIs. There does not seem to be an explicit way to determine which instance of the polymorphic VI should be used.
    Consequently, 'Ctrl Val.Get All' does not return any results from a 'Run VI' call. The array size is #0.
    Any ideas on what might be going on? Is there a better way to use a PolyVI Reference with VI server calls? I can't use Call By Reference Node since I can't seem to strictly type a Polymorphic VI (I can't select that check box on the Static VI Reference).

    Polymorphic VIs are an edit-time feature. They make no sense in run-time. Since you know at edit time which VI from the polymorphic group is actully going to be used, just open a reference directly to it. The polyVI itself only keeps a list of all the VIs that belong to it.
    Try to take over the world!

  • How can i open a TEXTPAD LINK in recent versions of firefox in a P R I V A T E window?

    No matter what i've tried in recent versions of firefox, i can ONLY open a textpad link in a private window with OLD VERSIONS of firefox, where a private window REPLACES non private window(s) !
    In later versions, private mode opens an ADDITIONAL window that is private, but the non private window(s) remain too.
    So when I right click on a link in Textpad to open it, it ALWAYS opens the link in the latest NON private window!!! Even if I get rid of the non private windows!
    I have tried Palemoon Browser(an optimized clone of Firefox) & no difference, unless I use old version 19.0.2 of that browser.
    If there was a way in the registry(via an addon or manual change) to make the latest vers of FF beHAVE like the much older version when going into private mode, that might be a quick fix.
    Have I stumped everyone? lol

    Well... even though there is a command-line option to open a new private window, there is no way to feed a URL to that window externally. Firefox will always open the URL in a new non-private window. It's not clear why it was set up this way.
    Previous discussion on possible workarounds: [https://support.mozilla.org/questions/966772 How to open firefox 22 in private browsing and navigate an url from command line].

  • How i can open dir file created by latest version of director, by older version director?

    Hi
    several director files reveive to me.
    They created by director 12.
    I have director 11.5.
    When i open these files they can not open and director show error:
    File is too new.
    Is it possible we use this files by 11.5?

    200x200 wrote:
    Hi
    several director files reveive to me.
    They created by director 12.
    I have director 11.5.
    When i open these files they can not open and director show error:
    File is too new.
    Is it possible we use this files by 11.5?
    See this topic: http://forums.adobe.com/message/5206603
    cheers

  • HT1386 I have synced app from ipad to laptop.  How do I open the app or use it?

    I have synced apps from ipad to laptop. How dow I open the app and use it ?

    iOS apps will only run under iOS.  They cannot be opened, run or used on any other operating system, so they cannot be used on your laptop.  The sync and transfer of purchases apps is merely to keep a copy of the app as backup on your laptop.  While you can re-download any app you have from your iTunes/App Store account, that will only get your the latest release version.  If you want to keep older or previous releases around as backup, then your only copies will be the ones you've copied over to your laptop for safekeeping.

  • How do I use a static reference to keep a VI in memory but then call it in parallel?

    Hello all,
    I have a MainVI and I want to call from it a SubVI in parallel so that I can have both windows open and responsive at the same time.  The SubVI may be closed and reopened any number of times, but only one in existance at a time.  I know how to do this using Open VI Reference, providing a relative path to my SubVI, checking its state to see if its already running, and if so bring the window to the front (using Front Panel: Open method with True/Standard inputs), and if not run it using the Invoke:Run method (and optionally opening its front panel programmatically).  This method was working fine.
    Now I have added functional global variables in my SubVI, and I want to keep them in memory inbetween opening the SubVI window.  I can do this by putting a copy of the functional global in my MainVI, even though I don't use it there for anything.  This works fine.
    By accident, I have come across a reference to a Static VI Reference, which sounded like a vast improvement to my methodology, for the following reasons:
    1) Keeps SubVI in memory all the time, eliminating the need to put the functional global in MainVI when it is not used there.
    2) Tells LabVIEW to include SubVI when I build my executable, rather than me having to specifically mark it as Always Include in the build specification.
    3) Eliminates the need to keep the path and SubVI name updated in a string constant in my code, in order to use the Open VI Reference.
    However, trying to implement this solution, I have run into the problem that once you put a strictly-typed static VI reference (strict typing is required to keep it in memory) onto the block diagram, that VI is reserved for execution.  That means I cannot run it using the Invoke:Run method.  I haven't tried just putting it on the diagram directly as a subVI because I need it to run in parallel to the MainVI.  I have searched through these forums extensively, and although there are several references to a static VI reference, none of them say explicitly how to actually run the darn thing!  :-P
    I very much appreciate any insight into my problem.  If I have to go back to the old way it will work fine, but I really like the seeming elegance of this solution.  I hope that it is technically feasible and I'm not misunderstanding something.
    Thank you for your help,
    -Joe
    Solved!
    Go to Solution.

    > If I understand you correctly, they can only really be used for re-entrant VIs. 
    No, a static VI reference can be used anywhere a regular VI reference (property nodes etc.) The reason for the hoop-jumping above is that we are really opening a reference to a CLONE (copy) of the VI identified by the static VI reference.
    > Okay, I tried it, and got the code shown below... Any idea why it isn't working?
    The VI you want to clone can't be on the diagram as a "normal" subVI. When you run your application you should be able to open that VI and see it just sitting there with a run arrow waiting to run. See attached example (LV2009SP1).
    "share clones" vs "preallocate" has to do with whether you want each clone to preserve state (such as in an uninitialized shift register). Generally you use share clones. Occasionally it is useful to have multiple copies on a diagram that each remember some data, like "timestamp of last execution" in a shift register.
    Other VIs in your spawned process don't have to be re-entrant unless they are functions that "wait forever". All the built-in G functions are re-entrant. It's pretty common to use a queue to feed data to a spawned process.
    Spawning a process is more difficult than just running two parallel loops. It's useful because once you've made 1 copy, you can make 50. If you just want to do two things (vs n things) at once, I would just use two loops.
    Attachments:
    SpawnProcess.zip ‏20 KB

  • Using Open FPGA VI Reference in a distributed VI

    Hi all.
    I have some problems with the Open FPGA VI reference. In my project I have a VI which uses the Open FPGA VI Reference. In the Configure Dialog I’m using a lvbitx file located under “C:\Program Files (x86)\National Instruments\NI VST\Custom Bitfiles”. This works as it should while running the VI on my development machine but after building an installer including all this, the path to the lvbitx file gets wrong. When I build the installer I’m using VIPB but the same problem occurs if building an installer using NI Build Spec. When I try to use the distributed VI on a “customer machine”, it automatically starts searching for the lvbitx file but the path to the file is incorrectly set to ..\..\..\..\..\Program Files (x86)\National Instruments\NI VST\Custom Bitfiles, and this forces the user to manually find the bit file. I don’t like that, the distributed VI should have the correct path to the bit file so that the user can use the VI directly.
    I have found out that the path to the bit file in the distributed VI is relative to a temporarily build path used by the package builder. So, I have tried using several different temporarily build paths, but I have never been able to find a relative path that is correct. Even if my distributed VI seems to have the correct relative path to the bitfile it cant find the bitfile… Any suggestions for how to use the Open FPGA VI reference successfully on a distributed VI?
    Regards
        /Gunnar

    Hi Gunnar,
    What version of LabVIEW do you use? Something new in LabVIEW 2013 is the "Open Dynamic Bitfile Reference". With this, you could use e.g. an "Application Directory" node and build the path at runtime:
    http://zone.ni.com/reference/en-XX/help/371599J-01/lvfpgahost/open_dyn_bitfile_reference/

  • How can I get a Visa Reference Number on a Spectrum Analyzer?

    I have a GPIB Address of 18 on a 8593 EM Spectrum Analyzer. How can I get a VISA reference Number for my VI program

    You must have a pretty old version of LabVIEW if you need a session ID instead of just a VISA Resource. If that's the case, you need to first use an VISA Open function in which you specify a resource name of GPIB::18. The open function will return a unique ID that you wire to either VISA Write/Read or a subVI in a driver.

  • Final cut X-- how do you open previous projects?

    i must be missing something really basic. How do you open previous projects in Final Cut X? When I try to open one it hangs on "loading (nameofproject) into time line.

    You need to provide more information. Are you seeing it within the FCP interface properly when you go to show the Project Library?  If so, I would click on it to select it and then open the Inspection window and click on Modify Event References and select proceed from there. I'm assuming you have not moved the project from it's proper folder....

  • How do I open and close a DB ?

    How do I open and close a database ?
    How do I retrieve values from a database, is it retrieved by using sql statement ?
    Thank you

    How do I open and close a database ?For a start have a look at the tutorials on this website or flick through a JDBC book. Sun's JDBC Tutorial and Reference 2nd ed. is pretty good.
    http://developer.java.sun.com/developer/onlineTraining/Database/JDBC20Intro/
    How do I retrieve values from a database, is it
    retrieved by using sql statement ?Yes, you talk the database with SQL
    If you are still having problems, come back
    Richard

  • How do I open dual documents with windows8?

    How do I open dual documents with windows8? whenever I have one adobe doc open and i need to reference another, it will only open one at a time...I want to view with a split screen...HELP!
    Message was edited by: big_bubber

    Adobe Reader Touch for Windows 8 doesn't support more than one document opened at a time. Good feature request! Thanks.

  • How to make "open file" function

    Is there a method that you can call that can prompt the user to open a file? Here is what I have:
    var file:FileReference = new FileReference;
    var newFile:BitmapData = new BitmapData (600,290,false);
    newFile.draw(file.upload(file.browse()));
    var s:Shape = new Shape();
    s.graphics.beginBitmapFill(newFile);
    s.graphics.drawRect(0, 0, board.width, board.height);
    s.graphics.endFill();
    board.addChild(s);
    What would I put in the line in bold to achieve this?

    How do I convert the File Reference to the bitmap data or a shape? This is what I have right now:
    var file:FileReference = new FileReference();
    var newFile:BitmapData = new BitmapData(600,290,false);
    file.browse();
    var selectedFile:FileReference;
    file.addEventListener(Event.SELECT, file);
    function f(e:Event)
    var selectedFile = FileReference(e.target);
    newFile.draw(e.target);
    var s:Shape = new Shape();
    s.graphics.beginBitmapFill(newFile);
    s.graphics.drawRect(0, 0, board.width, board.height);
    s.graphics.endFill();
    board.addChild(s);

  • How should i open another application through url....?

    Hi,
              how should i open new application in new window thorough url of that application.
    I know , one way is link to url property of ui element but in my case i dont wont to use that.
    i m having url of another application and if i want to open that through any code...how its possible.?
    is there any windows code for that ?
    thanks
    saurin shah.

    hi,
    After insertion of LinkToURL element into the View.
    for "reference=<give here your application URL>
    for property
    reference=https://www.sdn.sap.com
    and for property
    text = <give the name what ever you want here>
    and the same can be done using
    "LinkToAction" element also.
    Thanks
    RameshBabu.V
    Edited by: Ramesh Babu V on Jul 9, 2008 11:28 AM
    Edited by: Ramesh Babu V on Jul 9, 2008 11:33 AM

Maybe you are looking for

  • Multiple Apple TVs in one house but one computer

    I just bought a second Apple TV for my house and only have one computer whose iTunes Library I would like to sync to both Apple TVs. But I don't see the second Apple TV in the device list. Just the first one. The new one does appear in the speaker pu

  • GL Account Form - Oarcle 11i (11.5.10.2)

    I have some code combinations which are directly inserted in gl_code_combinations table through custom program. When I am trying to query these code combinations through GL Account Form, it gives me a message "Record not found" and when I try to add

  • Solaris 10 X86 08/07 - What's new ? Release Notes ?

    Are there Release Notes, or list of what is new in Solaris 10 X86 08/07 ? The Docs directory on the DVD is empty and a quick search of the DVD didn't find anything. Where should I be looking for this info ? Many thanks !

  • Error when trying to display original in WUI

    Hi All, I get an error message when I try to display originals in WUI (we are using SAP NW 7.0).  For example, when I try to display a xls file(The Document type is DRW) the following message occurs: -Data carrier type ZV and application XLS - applic

  • Iphoto 8.1.2 doesn't update to Mavericks edition... ($14.99??)

    My iphoto 8.1.2 doesn't update to Mavericks edition... ($14.99??) Doesn't appear the updates @ App Store, It says that I have to pay 14.99... same thing with my imovie ! Help :\