How can I close all open subVI front panels, without closing my top level VI front panel when all VIs are built into executables?

I'm using the code shown in the sample VI discussed here: http://digital.ni.com/public.nsf/allkb/353A696A3F393D9B86256E8B007A2912
to close all open VIs except my top level VI.  My top level VI is actually a separate executable and the sub-VIs are their own executables.  All reside under the same project.  It works very well if I'm running in LabView but will not work when I build them.  I added all the sub-VIs to the Always Include box in my top level VIs properties which did nothing.  I also tried adding them to the Startup VIs box.  This allowed me to close them all programmatically from the top level VI but it also open all the VIs at once (which was expected and not desired).  I think the problem is the executables are not able to see outside their own memory space so the top-level VI never finds any other open front panels to close.  Is this correct?  Is there another way to go about doing this? 
Thanks!

Where do I begin…..
I’m using a “server” to control 4 “client” PCs.  My server opens references to 4 VIs on each client then executes them sequentially.  So on a normal day, the server will run everything itself and I will have no contact with the clients.  But on a several occasions, I’ve needed the ability to walk up to one of the clients and run just one of the 4 VIs. 
We are updating from LabView 6.1 to 8.5 and we want to run executables rather than VIs for various reasons.  I have a new VI running on the client PCs who’s only function is to initialize the shared variables and open/close the VIs.  I initially thought of making the remaining 4 VIs sub-VIs but I will loose the ability to run them individually.  I think I would also have to rewrite the VI running on the server since the 4 references it originally opened do not exist.  I don’t think you can open a reference to a sub-VI on another PC.  Can you???
 As you can see, this is a huge mess.  I’m still pretty new with LabView so any help you can provide would be great. 

Similar Messages

  • How can you tell who the original sender of a group text is on an iPhone 5, when all that appears is a list of recipients in no particular order

    how can you tell who the original sender of a group text is on an iPhone 5, when all that appears is a list of recipients in no particular order? I can't seem to identify the sender in the details list.

    Start a separate thread to the original sender.

  • How can I close or open a layerset

    Hi,
    I want to close a layerSet which is contain one or more layers in it close or open. How can I do that? please look below image.
    thank you.

    I also don't think there is a easy way. The frist problem is there is no way for a script to know if the layerSet is open or closed by checking the layerSet properties( neither DOM or Action Manager ).
    To open a closed layerSet you can make one of the layers in that set the activeLayer.
    To close a layerSet is much more involved. You first would have to get all the layerSet properties. Then check to see if it has a channel or vector mask and if so get their setting and dupe them. Then un-group the layerSet( the layers will all be selected after ungrouping ) and group the selected layers( the new layerSet will be closed ). Then reset all of the layerSet properties and restore the masks if needled. With CS6 you also have to deal with possible layer effect.
    I have seen a script on PS-Scripts.com that does some of that but I think it misses some setting like layer locking, layer color, channel restrictions. It also doesn't check for vector masks nor keep the channel mask settings.

  • How can I close an Open PDF form without crashing the browser

    Hi
    We have build a webdynpro application in Java. In this application, we are make using of the Interactive form to bring up  a PDF form that the users can print. Our issue is that no matter what approach we take there is no gracefull way to exit once the PDF is displayed.
    Here are the approaches we took.
    1) Embed the PDF in the existing Window. The form comes up correctly with all fields, but there is no way to get out from it. A browser back doesnt help, nor is there a default close button in the PDF window.
    2) Bring up the PDF on a separate window.The PDF does come up fine on this new window. We were hoping to use the window.destroyInstanece() method on this new window to both close the window and gracefully exit the PDF form. This too dint quite work out and resulted in a browser crash.
    I am sure others must have faced a similar problem. Are there any suggestions on how we can handle this. I found a few other posts with similar issues but no clear answers.
    We are using Adobe 7.0.9 Reader on the client end.
    Regards
    Aju Paul

    I have been working with Aju on this issue. We are still experiencing the issue.
    We have tried using the destroyWindow() method and using a fireplug to redirect the application. When we have an Interactive form embedded on one of the views in the window, the application will cause a browser crash when we try to destroy popup window or redirect the applicaiton.
    If we remove the Interactive form from the view, we can destroy the window and we can redirect the application. The problem only  occurs when the Interactive form is present.
    We have recently upgraded our server to SP10. I have also reloaded the ACF on my pc. Neither of the steps resolved the issue. What else can we look at to see what may be causing the issue.
    Thanks.....Tommy Knight

  • How can you close 10 open apps at once on iPad retna mini

    Is it possible to do the above as the title says.

    No. And, it is not necessary if they are all in the background.

  • How can I make Iphone open in Itunes instead of Iphoto?

    how can I make Iphone open in Itunes instead of Iphoto? It never highlites that option when syncing.

    http://support.apple.com/kb/HT4627?viewlocale=en_US&locale=en_US
    When you turn on iTunes Match or Automatic Downloads, or when you download past purchases on an iOS device or computer, that device or computer becomes associated with your Apple ID. This article describes how to manage these associations.
    You must wait the 90 days.

  • When pressing Ctrl+f to find something in a page the Find box remains open until I close it, in ALL tabs I have in the firefox window. How can I make firefox open the Find box ONLY in the tab I am in?

    When pressing Ctrl+f to find something in a page the Find box remains open until I close it, in ALL tabs I have in the firefox window. How can I make firefox open the Find box ONLY in the tab I am in?

    Firefox 4 and later versions save the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
    Use "File > Exit" or "Firefox > Exit" (Mac: "Firefox > Quit Firefox") if you want to restore multiple windows.<br />
    You can use "History > Restore Previous Session" to get the previous session at any time.<br />
    You may need to click the orange/gray Firefox button to see History.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.
    Another possibility is to use:
    * [http://kb.mozillazine.org/Menu_differences Firefox/Tools > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • How can I close 'current' window and not all windows?

    How can I close the current window (only) and not all or none?
    This function works well with MS Explorer.
    Not a problem, just a desired function.

    Hi JLCluster,
    If you just click the small x in the tab you are currently viewing, it will close only that tab. I think you are clicking the x in upper right hand corner of the screen which closes all open tabs as you described.
    Hopefully this helps!

  • 2 websites are open simultaneously. How can I close one of the websites to have more space for the otheer websites

    Each time I use Firefox to open a news website A, another news website B appear on the left of A. How can I close A in order to have the full screen for B.

    Do a malware check with some malware scan programs. You need to scan with all programs because each program detects different malware. Make sure that you update each program to get the latest version of the database before doing a scan.
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and Searches are redirected to another site

  • How can you close all pages in safari?

    On my iPad it is possible to close all windows in Safari.
    Is there a similar feature in Safari? Every time I clear the history, the last page remains open.
    How can I close that window as well without having to first create a new blank one?
    Regards

    Yes, ok, but then I still have to open a new page to continue browsing.
    on the iPad i can close all pages and safari for iOS defaults to favorites.
    regards

  • On I-Mac, how can I close all tabs at the same time?

    On I-Mac, how can I close all tabs at the same time?
    I use Mozilla Firefox for internet.

    Not an Apple product, have you visited:
    https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-qu ickly

  • I can't use my skype's cam because FaceTime'cam is open.how can I close FaceTime?

    I can't use my skype's cam because a FaceTime's cam is still open. how can I close it?

    Quit FaceTime.

  • How can i close the preview in Adobe Viewer when the LINK ist fullscreen on my eMag? It will always go to URL and i can't open the summary.

    How can i close the preview in Adobe Viewer when the LINK ist fullscreen on my eMag? It will always go to URL and i can't open the summary.

    You have to change your page design so the link doesn't occupy the full screen of your content.
    Neil

  • HT4943 how can i close open application i don't want to use now on my iphone5s?

    how can i close open application i don't want to use now on my iphone5s?

    Double click the Home button and then swipe on the screen image of the App you wish to remove.

  • When i open firefox browser i get a sort of pop under of the weather channel which i can't close. how can i close it?

    When i open firefox browser i get a sort of pop under of the weather channel which i can't close. how can i close it? Approx 1 quarter of the left side of the screen is taken up by this popunder. I've rebooted. No difference. Ive even done a system restore, No difference. I've done a search of my whole p.c. with no result.It appears to be only on firefox as it's not there on internet explorer. I've tried to attach a screen shot for you but no luck. I hope you can help me ,as I've tried everything I can think of.

    When i open firefox browser i get a sort of pop under of the weather channel which i can't close. how can i close it? Approx 1 quarter of the left side of the screen is taken up by this popunder. I've rebooted. No difference. Ive even done a system restore, No difference. I've done a search of my whole p.c. with no result.It appears to be only on firefox as it's not there on internet explorer. I've tried to attach a screen shot for you but no luck. I hope you can help me ,as I've tried everything I can think of.

Maybe you are looking for

  • What are the things we need to take care while moving from 11g to 12c.

    Dear All, One of my client having the application running on 11g and now he wants to move it on 12c. Now he is asking to me that, what are the things will not work or impacted due to this. Any code level changes, syntax, functions etc are working in

  • About RFC Adapter

    hi Expert's when i am configure sender RFC ADAPTER i am facing problem so plz help me in comm channel Rfc:server parameters application server gatway: it host name of sender system(sap abap) application server service: it..........................? w

  • Help! Export iTunes Playlist to Folder with Play Order

    Hello all, I run a community internet radio station, and to upload songs to the server, a .zip file has to be uploaded. However, when a playlist, or a bunch of songs in a set is carried over, Finder reorganizes the files alphabetically, and it doesn'

  • Adobe Flash Player - Uninstall problem

    I have a new HP Pavilion f0010 laptop.  Was having problems with videos being "green".  Did some online researching and somehow accidentally uninstalled Adobe Flash Player from control panel.  How do I reinstall this to original installation?  Thanks

  • Export is not / Backup

    I found in oracle docs that export is the logical backup my question is can we use this as Backup. If this used for small database which database is small, are not they critical?. And if i have export what may be the corruption,worst senerio or how l