call a Subvi of a Subvi

Hi, I'm doing a program in which I open a control panel (firt Subvi). From this Panel, I need to open another panel second Subvi). When the second Subvi is called, its façade is shown back the front of the first sub - VI, and there is no way to close any of them (none of them wroks after I opened the second Subvi). That could be the problem? Is there something that I need to configure differently for the second sub - VI?

Thanks in advance!

What are the display settings for the various subVIs? (Properties of VI... appearance of windows).

Most likely #1 Subvi is modal Subvi #2 holder is not, for example.

Tags: NI Software

Similar Questions

  • call a Subvi mode no exicution

    Hi all

    I need a method to call a Subvi another VI, Subvi should be mode no exicution. Can someone help me please...

    on a button click Subvi is open, but it is currently exicuting all supported. I need to no exicution.

    Thank you...

    Why do you need it not applicable?

    I'm guessing as to what you want really here.  You'll probably want an OK button on your Subvi and then have his execution code.  This would allow the user to enter the data first.  If this is the case, then you want to use a Structure of the event on your Subvi looking this OK button to press, then the logic set within this event.

  • front panel called a Subvi, which calls another Subvi

    Hello

    I'm having a problem call a Subvi main façade, where the Subvi is called other two Subvi. My two last Subvi the hierarchy have references in order to see the results on the front panel of the Subvi. While that of the Subvi References work and I see the exit, when I try to reference the Subvi references I can't see the output on the main façade.

    I don't know how to reference objects but I missed something? Thank you


  • Graph XY what yscale.namelbl. Text does not update when vi is called the Subvi

    Software Lab that we wrote, use us (with a worm 7.1.1) a Subvi, set up to print at the end to print the results of four charts XY. Units selected in the main vi Engr is passed into the Subvi through the connector pane. I extracted the EU text here and write to YScale.NameLabel.Text using nodes property. It works very well in development by operating its own front panel, but not when the Subvi is called from the main vi. Maybe it's a known bug? With a workaround? I tried delays, separating the operations with the structures of the sequence, etc.


  • How to call asynchronous Subvi with version 8.6

    With the new 2011 version, labview has a function to start the asynchronous call, but version 8.6 is not.

    I want to call sub - VI, but not waiting for Subvi to finish before running the next step in primary vi.

    An asynchronous call to a Subvi starts the Subvi execution while allowing the data flow continue in the calling VI.

    Anyone can help on how to achieve this in version 8.6.

    Thank you

    deal 0 look like this

  • Call my Subvi? what I am doing wrong

    Hello people

    I'm trying to create a simple program to read data from 3 channels, I created a main VI for the GUI and a Subvi allow the user to choose what channels he would like to make a link to the lights on the front panel.

    I did something that s look like what I joined, but I have the following problems:

    Sometimes and not all the time when I opened the main VI, I find the Subvi opening automatically without pressing the call button, in this case, I find already pressed the OK button and I can't close the Subvi, it happens all the time if I joined the vi one program exe.

    If the Subvi has been called, if try to close it with the close 'x' windows key all freeze in primary vi.

    I also tried adding other similar loops with two subvis to settings for other digital channels, and the same thing happens with them.

    what I am doing wrong.

    Thanks in advance

    There is an event for the Connect button that runs when you press it. It will be connected, but only if the Boolean value in the shift register is true, i.e. If you have configured channel settings once. If you tap on connect just after the start of the program, it does not connect.

    If you want a different behavior, you can leave out the Boolean value completely and initialize the shift register for example with default string parameters. I have fieldpoint, so I can't do right now.

  • Difficulty with returns control to the parents program after call asynchronous Subvi

    I'm trying to set up a directory of context-sensitive help for one of my programs.  This is the first time I tried an asynchronous call and I can't seem to make it work properly.

    The attached HelpDir.vi is the parent program that gives the user different help files to choose.  When the user selects a help file, its Subvi should appear.  I would like the user able to let this help file upwards and close the help directory or select another help file to upsimulataneously, if they wish.

    The strange thing is that, currently, this vi works exactly as I want if I stress execution on, but works normally, the HelpDir.vi becomes unresponsive when we help files was loaded and becomes sensitive again once the help file has been left.

    I set up the parent program with a structure of the event running asynchronous call and forget everything as in the example of the expedition to the France so I do not know why the program parent is not recover control after the launch of the Subvi.  Please take a look and let me know if you see what I'm missing.

    PS, You may need to update both static references.  I don't know if they break when you send the code this way.

    Thank you

    Tim

    Change your dialogues float instead of Modal.  Modal windows will always be on top.  In the changing Floating, then you can access the window of your main VI as well.

    Performance highlight should substitute somehow the disorder of modal window.

  • How to change the switch case sub - VI for the Subvi all calls

    Hello

    to make the code more elegant and more reasonable, I source code, often called a Subvi. The Subvi is a box structure. If I add new cases of this Subvi thereafter, I must renew all selectors of Enum for the Subvi handmade calls. It's really annoying.

    Is it possible to pair the picker to the slot - VI for a change in the number of cases will affect all selectors automatically?

    Best regards

    Carsten

    Thank you very much. It works just perfect.

    Carsten

  • Call subVIs. Absolute or relative paths?

    Hello

    How can I know what are called the subVIs? I would like to know what type of path is used; absolute or relative.

    The brilliant solution would be if I could choose a VI and a list of its subVIs with the path close to.

    K.

    All paths are relative (even on different drives: /.. /.. / D / data / *) except for the symbolic paths (user.lib and vi.lib)

    The OpenG Toolkit has a feature called list VI hierarchy that returns an array of all VI within the call tree:

    Tone

  • Someone help me please understand what is this block? -Call Subvi

    Hi all
    During playback of a sample project a block stopped me. I could not understand what it is... once I click it (offline), it opens a Subvi, while runing the labview, it is clear that he will automatically call the Subvi. My Info is the one to call a Subvi VI main, you must use a static reference of Vi. Can someone help me understand what about this block?
    I am attaching the picture of her and a container VI she also well... Simply open the block diagram of the file: "Caller.vi"... The Subvi associated with this block is fixed as well: "Config.."

    I would like to know what is this block name, how it is related to the Subvi and how the Labview call it automatically. .. I really appriciate any suggestions.

    Thanks in advance

    Concerning


  • call Subvi producer/consumer using vi main to gain the image capture

    Hello world

    I don't know if I get the notion of producer/consumer harm. I tried to write a producer/consumer Subvi that simulate continually grab get the image. When I call the Subvi hand while loop with a main vi, it seems to face an infinite loop. I wonder what someone knows how can I activate a Subvi producer/consumer using primary vi? Thanks in advance.

    Kind regards

    Han Yen

    Bettter use this one.  The one above has a 'small' mistake

  • Cannot dynamically include called subVIs in construction

    Hi, I have a VI that calls some Subvi - i.e. by reference dynamcally.

    I am now building an application and loking for this manual for help (I'm using LabView 2012):

    This link http://digital.ni.com/public.nsf/allkb/410F2EC66F60F9B0862569EE006F4FA0 has similar instructions:

    However, my problem is that I can't click on the arrows in the window. This window for me looks like this:

    and no arrows are clickable and no help by adding the dynamic subVIs!  For example, when the application is built, it is malfunctioning.

    Would appreciate any help you can provide on how to address the issue.

    Thanks in advance!

    Hi SensLab,

    When you use a project LV then you would be able to include all the necessary screws when building!

    BTW. Dynamically called screw should be included in the project too...

  • Queue return error out when calling Subvi in vi main

    Hello

    I have problems with the help of queues in a project where it is called a Subvi VI main. After the Subvi call first, when I press any button labview returns following error.

    "LabVIEW: an input parameter is not valid." For example if the input is a path, the path can contain a character not allowed by the operating system such as? or @ ".»

    Please find attached the file explore vi and project. I'd appreciate your comments.  I use the suite of Labview 2010 development.

    Kind regards

    Austin

    Hello Austin,.

    Looks like you post your queue in the sub vi when it ends (destroy force is set to TRUE so it destroys the queue, not only the reference to the queue)

    I tested it by putting a hell structure diagram around the queue of the vi in the sub vi version and it works now without raising an error.

    Setting Force destroy false so that it destroys only a single reference to the queue.

    Chris

  • Can I call 32 - bit 64 - bit VI subVIs (or vica versa) in LV 2011?

    Howdy-

    I know that my question probably stems from my limited understanding of the underlying architecture of the LV, but it arises as I plan for the following in my lab scenario:

    (1) the system will include a 64-bit running Windows 64 - bit 7 (Professional) with 24 GB RAM PC.  One or more devices of cRIO will be attached to the need.

    (2) all LabView software will be written and run on the 64-bit computer (with the exception that operating on devices of cRIO).

    (3) at certain times within an automated test sequence, a digitizer set high speed will have to deliver about 10 GB of data in memory, analyze it and write the results to disk (hence the need for 64 - bit).

    (4) at this point, I can't say for certain which, if any, of the different modules and Toolkits available may be useful for us (that's why the desire to 32-bit compatibility).

    Naively, the points above suggest one of two approaches to the writing of my routines for control and measurement:

    b write everything in 32-bit BT, with a few calls specialized to one Subvi 64-bit if necessary.

    (b) any write in LV 64-bit, with calls to subVIs 32-bit if necessary for reasons of compatibility.

    So, are either (a) or (b) possible, and if so, are there reasons to prefer one approach rather than the other?  Pointers, or links to relevant reading, would be much appreciated.

    Thank you all for your time and have a great day.

    Which is correct and a better formulation of what I was saying. Essentially, once you have compiled the app, you're done - you have set the number of bits. I assumed the OP talked about the external dll call screws, but it is not entirely clear.

  • How to use 'Start synchronous call' to run a Subvi timeout event and keep in hand vi still running?

    Hi all

    I have an application must periodically check the State of the instrument, and I put it in the "Timeout" vi main event. I need also call some subVis to configuration etc. Somehow when I called these Subvi, the Timeout event in my main vi did not work. I then use the ' Start Asynchronous Call "to call the subVis. Turns out it works fine with a few subvis worthless back, but not as expected with subvis 'return the required value.

    I have attached a simple test, my main vi call two dlg subvis: AboutDlg.vi and SettingsDlg.vi. In the case of delay, I just use a counter for the simulation. When you run it, you can see the meter taken into account when the AboutDlg.vi has been called, but stopped when SettingsDlg.vi is called.

    As I remember, someone suggested to use the queue to pass the return value, but I don't know how to implement here.

    Anyone have any suggestions on this subject?

    Thank you very much.

    Try to play with it - I modified your code to search a Q in there.

    You want to change the bunches to data types more useful (perhaps enum and Variant, so you can ungroup variants according to the enum contribution), you can type def clusters to make it easier to maintain and you will need TO handle the situation where the called VI is left open on program close - I couldn't be bothered, as it was not your immediate deliverance)

    Hope this give you some ideas - totalyy not tested, but should work.

    James

Maybe you are looking for