Can not open front panel sub VI when running an application VI.

When I create an application of my program a problem occurs. When I select options (press a button or so) from the main front panel that should result in a popup menu (sub VI cal) LabVIEW indicates that something is happening but the front panel does not open. The mouse indicator changes to the time glass so LabVIEW is doing something but the window of the sub VI does not open.
The problem has the same characteristics on several places. There are some sub VI front panels that opens but I ca not find the reason for why these open and not other.

Hi
there are three ways trhough which you can force a subVI to show its front panel
1. open the perticular SUB VI
click File->VI properties select window appearence catagory.
click customize button and select "Show Front Panel when called" and "close afterwads if originally closed" check boxes
save the VI
whenever you use this Sub VI every time it will pop up front panel
2. dont perform the changes suggested in option 1. place the instance of subVI in your main application and if you want that instance to popup a front panel then right click on subVI and Select "SubVI Node Setup" again select "Show Front Panel when called" and "close afterwads if originally closed" check boxes
with this option only certain instances of SUB VI will cause pop up to occur
3. this is the most flexible option. use invoke node to show front panel. in invoke node select show front panel method to popup the VI and use close front panel method to close the pop up window.
Tushar Jambhekar
[email protected]
Jambhekar Automation Solutions
LabVIEW Consultancy, LabVIEW Training
Rent a LabVIEW Developer, My Blog

Similar Messages

  • SubVI does not open (error 3 could not open front panel)

    For the VI I am working in (trail version of Labview 2011), I have created a subVI. At one time I opened this subVI to adjust the connection terminals -which I have done before- and after saving the file and closing it, the subVI remained unadjusted. In fact, I am not able to open the subVI anymore. And when I want to open the file as a VI (e.g. executing the VI in windows), I receive 'load error code 3: could not open front panel.'
    I also cannot preform any tasks such as saving the main program for an older version, because this subVI is present in the program.
    Nevertheless, the VI still works as a subVI in the mainprogram I've written -in the way it worked before I adjusted the connection terminals.
    Is there any way to resolve my problem, without rewriting the whole subVI? The subVI concerning is attached in this post.
    Thank in advance,
    ps. after closing Labview, it sends an internal warning report. 
    Solved!
    Go to Solution.
    Attachments:
    ampweightcenter.vi ‏25 KB

    Hello Stag,
    My name is David and I am an Applications Engineer at National Instruments UK.
    To clarify the problem, when you receive this error are you trying to run the VI as an executable, standalone file in Windows? If this is the case then I think that I know what the problem could be. When using the Application Builder the Front Panels of SubVI's are removed to reduce file size. It is possible to include them so that they may open and the steps to doing so are listed in the attached link:
    http://digital.ni.com/public.nsf/allkb/8F68715444302CAB86256DDD0071C140?OpenDocument
    This link explains why you are receiving this error and how to overcome it.
    I hope that this helps you and do not hesitate to contact me if you require more assistance.
    Regards
    David B
    Applications Engineer
    National Instruments UK

  • I can not open iTunes. It started when an upgrade appeared. Now I get this message when I try to open itunes. can not find MSVCR80.dll     Then I get ERROR 7 (windows error 126)   I tried reinstalling iTunes but that did not help. Please Help Me!

    I can not open itunes on my computer. It started when an upgrade appeared. Now I get a message that states This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem. I tried to reinsall the application but it did not help. I also get a message iTunes was not installed correctly. Please reinstall iTunes   Error 7 (Windows error 126)   Please Help me!

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99623)

  • I can not open e mail attachment​s when i click on the me...

    i can not open e mail attachments when i click on the menu botton i dont have the open to open attachment

    Hi there!
    There are a multitude of questions/answers to go through to help you out, but those won't work unless you come to the forums and register an account. For instance, if you are on BES, then you need to go see your BES admins as they are in control. If you are on BIS, then there may be resolution steps you can attempt:
    1) Register HRT:
    Homescreen > Options > Advanced Options > Host Routing Table > BBKey (it does not matter which line is current) > Register Now
    2) Resend Service Books:
    KB02830 Send the service books for the BlackBerry Internet Service
    Please come to:
    http://supportforums.blackberry.com/rim/
    and register an account. Then post to the applicable forum.
    Thanks!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • I Have an email the recently went invalid and I can not open my apple settings. When I put in my password it keeps saying invalid id because the email is invalid. How do I reset to a new email or merge accts to another email without deleting all items i

    Need help merging or resetting apple id
    I have a email that recently was closed out and can not open
    This email was my apple id

    You will wait for the rest of your life. You need to fix it; no one else will. To turn off "Find my iPhone" and its associated Activation Lock you need the Apple ID and password that were used to turn it on. If you know the Apple ID you can contact Apple Account Security and have them reset the password (after you prove you are the rightful owner of that Apple ID). see: http://support.apple.com/kb/HT5699.
    If you don't know the Apple ID the phone is permanently unusable.

  • How can i open front panel of a vi and run it

    Hi
    I have a vi that i call multiple times from another vi, however i want it to open the front panel on some calls and not on others.  What is the best way to do this?
    I have come up with a way and was wondering if this method was okay or is there another method that might work better escepcially since i am eventually going to create an application out of it and hope that no problems pop up then
    Unititled 1 calls Untitled 2 where with one call it opens and runs Untitled 2 while with the other call it simply runs untitled 2.vi
    What I did was i changed untitled 2.vi window appearance to dialog but i deselected the show front panel when called, so by simply calling the subvi form untitled 1 it works.  Unititled 2 runs but does not open
    Now with another call i want to open and run untitled 2.vi so by looking the attached vi you can see what i have done
    Again if there is a better method that would make my vi's more efficient i would greatly appreciate it.
    Reza Sed
    Attachments:
    Untitled 1.vi ‏24 KB
    Untitled 2.vi ‏10 KB

    What you did, in theory, is the correct way to do it.  However, you should move the front panel open and close into Untitled2.vi and have a boolean input as to whether to show the front panel or not.  This way, your calling code is cleaner, and you don't have to reproduce the code everytime you want to call the subVI and show the panel.
    If you were to use Untitled2 in another project, then you woud have to go back and look how to implement the showing of the front panel in your other code.  If later, you were to decide you want that VI to be maximized, then you make one change in the VI, and not in every place you ever call it showing the front panel.

  • How to open front panel of a VI running in RT.

    Hi,
    I have an application to read the encoder position using the cRIO program. I have made an executable and this application runs as startup application whenever the controller reboots. Right now, i am accessing the VI of the startup exe through Remote Panel connection. This works fine but everytime i close the remote panel , i have to reboot the controller for the next view.
    So is there any alterntaive to open the front panel of the VI.
    I tried using VIServer but ran into errors. (i tried using front panel -open property node.did not work)
    Also i do not have any VIs stored on the controller. Only the exe is stored on the ni-rt/startup folder on the RT controller.
    Please let me know how to open this VI.
    Thanks.

    Hi Ben,
    When i close the remote front panel the first time, i am terminating the RT VI which is running on startup.
    So i had to reboot everytime to access the remote VI.  I guess that the VI (exe) should be continuosly running when the RT is started up. The remote panel only should be opened and closed. After I close the remote panel , i want a windows VI to be opened up.
    I have a Windows VI which programmatically opens connection to the RT server for opening the remote panel. The VI runs. When the user clicks Exit on this RT VI, the VI running is stopped and then another windows VI opens up. This works fine for first time. Since the RT VI is terminated, second time , if I run, it says, VI not in server memory.
    Is there a method to close the remote panel programmatically in the RT VI itself. I have a Exit button in this RT VI, so if the user clicks, Exit, the program has to be running, but the remote panel has to close. There is a method called close connection to client , but this does not work in RT , as this requires VI path.. Right now , when the remote panel RT VI is launced, to close the remote panel, i click on the 'close' button on the VI title bar. Again when the remote panel is launched, there is no error. but is there a method to close the remote panel in the server(RT VI itself).   i have attached the VI.
    Thank you.
    Attachments:
    Dummytest.vi ‏39 KB

  • Can not open pdf documents...

    can not open pdf documents..., when i use my laptop without restart two,three day's....???????
    why is that ??????????

    AmS-Haz wrote:
    I mean, when I install the Adobe Reader 8 previous problem occur, as same as Adobe Reader 9, I did not use or install Adobe Reader 8 &
    Adobe Reader 9 both are concurrently....
    Do you have, or have
    had, both Reader 8 and Reader 9 installed
    at the same time in your machine? If you have, you must
    do as graffiti
    suggested in a previous message.
    Extra line breaks kindly provided by the software.

  • I downloaded pages, completed file sharing but can not open the documents on my ipad

    I have pages on my ipad2, I went through the file sharing instructions for 2 files.  I can not open them in pages.  When I go to Documents, copy from itunes, the files show but cannot be selected.

    Quit Pages and restart the iPad and try again.
    In order to quit or close apps - Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Make sure that they are compatilbe file extensions on the files or they will not open ... .doc, .docx, .pages

  • Can not open my email

    Hi I have an new I mac. Today all my eail has going and now when I open a new webpage the page flicks up and down anypne help

    I Will try that Again. Today my email has gone missing. I can not open the email up. When I open a new web page i get a flicker. Its a 4 month old mac. any on Help?

  • Just upgrade to Os Maverick, IPhoto app is no longer available, now I can not open my iPhoto Library. Any solutions suggestions?

    Just up graded my iMac to OS X Maverick after saving all file on external drive.
    HELP: Can not open my iPHOTO Library file because previous iPhoto application
                 is no longer available.
                What to do? If I need new application, which is the best ?

    Have you upgraded iPhoto to the current version (9.5.1)?
    Have you failed to allow your previous iPhoto library to be upgraded?
    Have you tried holding the "option" key while opening iPhoto to point to your iPhoto library?

  • I can not open itunes. it says another device has itunes open.

    downloaded itunes 10.5 but I can not open because it says itunes is running on another device. what do I do, I want to sync my new iphone and can not even open my library.

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99623)

  • Open front panel of sub vi when called - how?

    Hello,
    I have a VI with several sub VIs.
    I want some of the sub VI front panels to be opened, if they are not yet opened and if they are called but I want them to stay in the background.
    There are two SubVI Node setups: "Open Front Panel when loaded" and "show front panel when called"
    Both are not what I want. If I select "show front panel when called", then the front panels are opened but flickering because they are called often and alternately.  
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Solved!
    Go to Solution.

    johanneshoer wrote:
    No, no issue with my code :-)
    Yeah, we've heard that one before...
    @smercurio_fc: With your example I can see if a subVI is opened or not, but how can I open the subVI during run time if it is not opened
    Just call the method with it set to "write" (right-click and select "Change to Write"). I don't recall if LV 7.0 has a Front Panelpen method. Check the LabVIEW manual.

  • Show front panels of sub VIs when running a EXE (build application)

    I've created a exe file and it works fine. However, it only shows the front panel of main VI and I can not open sub VIs (it looks like they are all hidden). I know it can be done by creating a library file along with this exe file, but that's not what I want. I want to create a single exe file that shows several front panels, and that can be run with run time engine. Is there any way to show front panels of sub VIs by running a exe file?

    In the development mode, how are you displaying the front panels? Did you right click on the subVI and select SubVI Node Setup and choose 'Show Font Panel when called/Close afterwards if originallly closed' or did you choose the same options from VI Properties for each subVI. If the second, then the app builder will automatically retain the front panels of the subVI. If you chose the first option or if you are using VI Server to open a front panel, then the default setting in the app builder is to remove the front panels. You would then have to go the VI Setting tab in app builder and edit the settings.

  • Error message when updating Itunes...can not open Itunes program

    I am recieving error message when updating Itunes for my computer.  The error message reads "MSVCR80.dll is missing and the other error message reads Error 7  (Windows error 126)"  I can not open my Itunes.  I have reloaded the Itunes onto my computer but still have the same error messages.  Please help.

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99364)

Maybe you are looking for