How to pop up another VI front panel and run this in the main VI?

Hi all,
I want to create a VI, which contain several buttons: like "RUN ANALYSIS 1" and "RUN ANALYSIS 2".
When I click one of them, another front panel of VI jump out and run automatically. When I click on "Finish" button on this VI (the one jump out), this front panel close.
How to complete it?
Thanks,

Hi Osso,
The ability to click on other VIs is also controlled by the Window Appearance. If you follow Dennis' instructions above, but this time change the Window Behavior to modal.  You can find more information about the different selections in the LabVIEW Help: Customize Window Appearance Dialog Box.
Regards,
Elizabeth K. 
National Instruments | Applications Engineer | www.ni.com/support 

Similar Messages

  • How do I automatically make new front panels and block diagrams a certain size and screen position, like able to fit on a 1024 x 768 screen?

    I'm studying for the CLD and I notice that one of the requirements is this:
    Develop block diagrams to fit a screen resolution of 1024 x 768.
    When I create a new VI, its resolution is slightly too big: 1110 x 768.
    When I create a subVI via the menu item Edit >> Create SubVI, it is way too small: 800 x 543.
    For both methods of creating new VIs, I would like to specify both the screen position and window size. But if that is not possible in LabVIEW, I'd like a quick way to make this happen. I see some property nodes for VIs where I could write a subVI that could do this for the front panel, but that is awkward. And it does not apply to block diagrams.
    Is there a clever way to do these things?

    bmihura wrote:
    I'm studying for the CLD and I notice that one of the requirements is this:
    Develop block diagrams to fit a screen resolution of 1024 x 768.
    When I create a new VI, its resolution is slightly too big: 1110 x 768.
    When I create a subVI via the menu item Edit >> Create SubVI, it is way too small: 800 x 543.
    For both methods of creating new VIs, I would like to specify both the screen position and window size. But if that is not possible in LabVIEW, I'd like a quick way to make this happen. I see some property nodes for VIs where I could write a subVI that could do this for the front panel, but that is awkward. And it does not apply to block diagrams.
    Is there a clever way to do these things?
    It doesn't mean the default size of the window. It means once your code is complete, your block diagram should be small enough that you can see all your code when its on a monitor of that resolution. Before you test, set your computer monitor resolution to 1024x768. Write your code. If all the code on your block diagram can be seen without scrolling, you will be fine. They won't measure this explicitly. They are basically just saying "you shouldn't have a huge block diagram."
    CLA, LabVIEW Versions 2010-2013

  • Save front panels and print them at once

    I have a VI that will be executed multiple times with different data, i want each of this front panels to be printed but it has to be one print instruction. I've tried to make an image of the front panel and append this to an Report, but the image is of a bad quality and the image which was made, contained only the view on screen!

    If you want a report that is an image of the display screen one thing you can do is create a VI whose front panel is a clone of the application's front panel. The only code behind this front panels would be property nodes to set the clone's front panel to match changes the user makes in the display during execution (for example, a user can change the color of plots, or the such things). It is vital that the diagram of this VI has at least 1 property node, otherwise it will only update if its window is open.
    Now as you main application is running it gathers a collection of all the data that you will want to print. When the user then clicks a print button, or the program exits (however you want the program to work) the code would take each dataset and one at a
    time pass it to the clone VI and programatically print its front panel.
    However, if all you have is tabular data (i.e. no plots or other graphics) I have found it easier to use the report generator VIs, but it's your call.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How can I close a remote front panel by closing only the browser window?

    I control a remote front panel in a browser (from the client PC). If I don't use the 'close' - button in my program to end the remote front panel, but instead of this the 'x' of the browser window (in the right bottom corner), my program won't be close, it continues on the server. Do you know how to end a VI by closing only the browser windows?
    Thanks for any help!
    wolfe

    I found the examples. Thanks.
    But I could not find a solution yet. Now I know how to end a VI by clicking on the x of the VIwindow.
    My problem is, to end a VI by clicking on the x of the BROWSER window after I loaded and controlled a remote panel VI in a browser (e.g. IE).
    If you have any ideas ... I'd be happy.
    Thanks for your help.

  • How to make some part of front panel transparent?

    There is a property node to make a front panel completly transparent...but is there anything that only makes some part of the vi transparent like if I define a decorative block in the vi which takes 1 quardant of front panel and I have a control to make it transparent during runtime...
    And moreover the frontpanel transparent property makes the whole window transparent, is there any way to retain toolbar of window like stop, run button when front panel is transparent??

    Hi,
    Have a look at this VI (attached). To make it work you need to create an image mask as a .png (open paint, colour in the areas that you want to become invisible and save it as a .png). The VI diffentiates between white areas and black areas of the mask you create, the black areas will become transparent and the white areas will remain the same- this will be implemented on your front panel. I've included an example of a possible paint image in "mask2.png".
    You may also want to play around with the resolution of the mask created in paint, this will effect how the program works (I advise you use a lower resolution than your display- I used 500x300)
    NT: If the front panel controls disappear, go into the block diagram window and attach a false constant instead of a control. Let me know if this works
    Cheers, Tom
    Attachments:
    custom window.zip ‏107 KB

  • How do I get the Label for a Front Panel Control to appear in the Block Diagram but not on the Front Panel?

    How do I get the Label for a Front Panel Control to appear in the Block Diagram but not on the Front Panel? On the Front Panel I am making a complex control that consists of a Slider and a Numerical Input box. Both Controls display the same information and either can be used for Input. When one changs, the other is made to display the same value.
     But I only want the Slider to display the Label on the Front Panel, to avoid confusion. On the Block Diagram however, I want both controls to display their Labels so that I know what they are. How do I display the Label for a Control on the Block diagram, but not display its Label on the Front Panel?

    No.  The Label Visible property is separate for the front panel control label and the block diagram terminal label.
    How did you start out with the block diagram's label not being visible?  Whenever I drop a control or indicator, the label is always visible on both the FP and BD by default.  Maybe there is a LabVIEW option that causes new controls/indicators not to have their labels visible by default, but I have yet to find it.  I don't think an item should ever be dropped without the label visible, good LabVIEW coding practice demands that the labels for control terminals on the block diagram be visible so that you know what control or indicator a wire is going to.
    That being said, I have seen a lot of VI's posted where the label for the terminal on the BD is not shown (against good programming practice.)  I've gone to the BD and right clicked to show the label.  Sometimes, the people have an empty label (which will turn off the visibility for both the FP and BD) and I'm forced to add some text of my own into the label so I can figure out what their code is doing.  When I add some text to the label, at that time, I find both the BD and FP labels become visible.
    Are you dealing with controls that have empty labels to start?
    Good programming practices:
    1.  Always have a name for all of your controls, never use and empty label by deleting the text in the label.
    2.  Make the labels unique.  For example, don't have two controls both called Stop.  How do you know quickly know which terminal relates to which control?
    3.  Always show the labels on the block diagram, so you know the function of a control's terminal.  If you want to hide the label on the FP, that's okay.
    4.  If you want a different label to appear on the FP than whatever you actually called the control, then use the caption.  You can hide the label and show the caption.  This is useful if you need to programmatically change what the "label" is on the front panel such if you are making an application that needs to change its user interface such as for a foreign language.

  • How can I save an EXE front panel image to a file?

    The methods to save a VI front panel image to a file don't work on executable applications. How can I save an EXE front panel image to a file? (LabVIEW 6.1)

    Hi,
    i wrote some vi that save FP to image and created exe and it works fine. How do you save FP to image in VI?
    If you use VI server method "Get Panel Image" and use "Write JPG file" ( or BPM) it works fine.
    Attachments:
    fp.zip ‏40 KB

  • How to move control in front panel at run time

           Hi,
                    I'm using LabVIEW 8.5. I want to move the control anywhere in front panel. For example in the attach file I want to pick up the pict control (with the help of mouse) and drop it anywhere in front panel. second thing I want to ask if I want to make it copy paste, means main control will b at its initial position and where the mouse moves the image moves and when I leave the mouse  the image gets drops there. How to do it. Please help me.
                                 - Thank You
    Attachments:
    track.vi ‏15 KB

    "Sonali" <[email protected]> wrote in message
    news:[email protected]..
    Hi,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
    nbsp;&nbsp;&nbsp; I'm using LabVIEW 8.5. I want to move the
    control&nbsp;anywhere in front panel. For example in the attach&nbsp;file I
    want to pick up the pict control (with the help of mouse)&nbsp;and&nbsp;drop
    it anywhere&nbsp;in front panel.
    You'll need to use an event structure to respond to the mouse down, mouse
    move and mouse up events. In the mouse down event of the control, set a
    value in a shift register to true. In the mouse move event, when the value
    is true, change the position of the control with a position property node.
    In the mouse up event of the control, set the boolean in the shift register
    to false.
    &nbsp;second thing I want to ask if I want to make&nbsp;it copy
    paste,&nbsp;means main control will b at its initial position and where the
    mouse moves the image moves and when I leave the mouse&nbsp; the image gets
    drops there. How to do it. Please help
    me.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
    nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
    ;&nbsp;&nbsp;&nbsp;
    You can't copy paste controls during run time. It seems you want to make a
    graphical application, where you can graphically drag and drop some
    configuration or something like that. You should have a look at the picture
    control. You can draw anything you want in this control, and catch mouse
    down, move and up events in the same way. It is perhaps a bit difficult to
    get to know it, but it is very powerful when you do.
    Regards,
    Wiebe.

  • How can i edit graphs on front panel?

    Hello!
    My problem is the following:
    I need a front panel, where i can edit the graph. It doesn't need to be very complicatted. It means, there is 5 steps. For example: It will control a thermal chamber, and it should give 25 celsius for 2 hours, then cool down until 2 hours to -40 celsius, 4 hours on -40, then back to 25 celsius until 2 hours, stay there for 2 hours, up to 105 celsius until 2 hours, 4 hours on 105 , 2 hours down to room constant, stay 2 hours there. But i need to be control the levels. The temperature levels, and the time periods. It's nessesery to control this on front panel. I've found a vi , which is reading in *.lvm files with datas x,y and then it's interpolating. But it is not setable after setting.
    Please help me. Thank You very much! 
    Solved!
    Go to Solution.

    If you want to specify the profile graphically then you can use cursors to do it. An old example can be found here. You may find others by doing your own search (hint, hint).
    Otherwise, you can simply use a multicolumn listbox to specify the indvidual profile segments, and a graph can be used to display the entered profile whenever the listbox changes. 

  • How do reduce the space between the front panel and the display area

    I am trying to reduce the space between the front panel and display area but i am not able to reduce the space

    A picture would be very helpful in demonstrating what you are having trouble with.
    Lacking that, I will guess.
    VI Properties >>> Windows Size
    lets you define the minimum size of a FP window.
    Well that's my guess!
    Did I win?
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I embed video on front panel ?

    I need to embed the IMAQ vision window on the front panel(video acquistion).

    The newest versions of LabVIEW (7.0) and IMAQ (2.6) give you an easy way to embed the image on your front panel. They have a image control that you can put on your front panel and wire your image to.
    If you don't have LV 7, your only option for display is the WindDraw window (for fast display). This can be embedded on the front panel by using the "Make IMAQ Child.vi", which can be found on the Developer zone. It takes a little more work, but looks pretty good.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • My front panel blanks while I use the panel bounds property

    When I execute the PanelBounds property of the front panel, the panel seems to blank for a brief moment allowing me to see the desktop and then reappears.  I am wondering how to prevent this behavior or approach the problem in a different way.  Any ideas?
    Solved!
    Go to Solution.
    Attachments:
    fp_blanking.jpg ‏56 KB

    Here is a demo version that demonstrates my issue.
    Open the dummy user interface (UI.vi) and the main program (Main.vi).  Run Main.vi.  See how the UI flashes when changing areas of interest.  I can see the desktop during the transition since the front panel blanks.
    Tip:  Close the front panel with Alt-F4 since it will be full screen.
    Attachments:
    demo2.zip ‏33 KB

  • In Yahoo Mail, when composing an email I get an "Asking to leave this page" panel; it does not matter whether i choose stay or leave, the panel pops up again....and again...the only way out is to Force Quite Firefox and start all over...help please...

    In Yahoo Mail, when composing an email I get an "Asking to leave this page" panel; it does not matter whether i choose stay or leave, the panel pops up again....and again...the only way out is to Force Quite Firefox and start all over...help please...

    Thanks for responding....but isn't your potential solution designed for Windows users? I have a Mac.
    If it does apply to Mac, I am also hoping for something simpler as this could take weeks to isolate the problem and it would be more efficient to use another browser for mail
    Also, I should have added, this problem occurs only occasionally and seemingly only when I am taking some time to compose a message

  • Image of the front panel and block diagram

    Hi,
    I need to get some info from the block diagram but I don't have labview in my computer. can some one please open it and post a picture of both front panel and block diagram.
    It may not open properly, but that is okay.
    Thanks,
    Sujay.

    Here you go

  • How do I port my Windows Word, Excel, and Powerpoint files to the MAC?  What software is needed on the MAC to use them?  Thanks.

    How do I port my Windows Word, Excel, and Powerpoint files to the MAC?  What software is needed on the MAC to use them?  Thanks.

    You can certainly use iWork, though I hesitate to recommend it to a seasoned Windows user simply because it would add another level of the unfamiliar with which you would have to gain familiarity. The iWork applications are certainly very competent and in most respects both easy to use and surprisingly powerful. They are not 100% compatible however, though that typically manifests itself in document formatting issues rather than anything more significant.
    I have never attempted to import emails from a Windows system into MacOS - other than in Outlook connected to an Exchange server, thus not really an issue at all. I doubt that the Mail app in MacOS can import directly, but of course you could always set the account(s) up on the Mac and then forward emails you want to keep from the PC. Not elegant, but it works. Virtually any Windows document or file, whichever application created it, can be opened or converted for use on a Mac, and using both systems on my desk each day I rarely see any issues switching stuff from one machine to the other. You may stumble over one or two issues, but likely not significant.
    In switching platforms there will be some inevitable issues, not so much with being able to import your stuff because there's usually a workaround or a utility that can help, but just with getting familiar with the platform and the differences between Windows and MacOS that can obscure their similarities. From time to time the support community here hears from a user who has found the migration very problematic and regrets it, but for the most part the phrase 'I should have done this years ago...' is rather more prevalent!

Maybe you are looking for

  • How do you cut out the part of an image in a photo?

    How do you cut out a part of an image on a photo that you have added to Pages. For example, if I have added a picture of a giraffe to Pages how would I cut out the giraffe from the image and get rid of the rest of the image

  • Acrobat crashes when I try to print...

    Hi, running Acrobat Pro 8.1.2 on a Mac OS 10.5.5 I can open and work with documents fine but when I hit 'print' this causes an instant crash. I suspect it's to do with the processing of the postscript data. Any ideas?

  • Date Parameters in Data Templates..

    Mornin all.. How are you using date parameters in your Data templates..? I'm trying to run a Conc Program that has a date parameter. in ORACLE Con Program the value set is setup to retrieve the format dd-MON-yyyy. I also have this format specified in

  • Favicons in address bar not updating

    My apologies in advance for not being all that computer literate. I updated to version 28 yesterday. Everything seemed fine until we experienced an internet outage in my service area. I received the notification from NetGear that there were problems

  • Unable to Update Filters Error Message

    Has anyone else had difficulty editing or deleting their Email Filters?  I set up about 15 filters several years ago before Verizon changed the email format and have been unable to do anything with these filters for a couple of years now.  Below is t