Close subvi window without "close afterwards when originally closed"

Hi everybody,
I've got a problem concerning Labview. In my program I need to update a graph in a seperate window. Therefore I made a subvi to display the data. The problem is now to close the window afterwards. The subvi is inside a while loop to get updated data all the time. I tried to use the "close afterwards when originally closed" but then the graph is closed after every loop. But it should be opened during the loops. I want to close the window manually by sending a false or anything else. Does anyone know an answer to my problem? Please help!!!
Thx
Thomas

Hi,
Please find attached example useful as a reference to your problem solving
Cheers!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010
依恩与LabVIEW
LVVILIB.blogspot.com
Attachments:
VS_Pass_Data.zip ‏62 KB

Similar Messages

  • Firefox asks (twice) to save and close tabs, on new open windows without tabs, when i close them.

    About one month ago, i started to receive a message box from firefox, asking if i wanted to save and close tabs, on newly open windows (and pop-ups) without any tabs open on them.
    And everytime i close the windows without tabs, firefox asks it twice...
    I did not made any changes, so i don't know why it started doing this.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Why does FF open two windows when I open it? Why can't I close the second window without closing FF altogether?

    After FF automatically updated it started opening two windows whenever I start FF. One window has the open tabs from my previous session and the other window has only the FF home page open in one tab, nothing else. I can't close either window without shutting FF down altogether. I have limited RAM (3GB), running Mac Lion, which eats up a lot of resources and now FF eats up the rest. It's a real pain in the ass.

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the sessionstore.js [2] file and possible sessionstore-##.js [3] files with a number and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    See also:
    * [1] http://kb.mozillazine.org/Session_Restore
    * [2] http://kb.mozillazine.org/sessionstore.js
    * [3] http://kb.mozillazine.org/Multiple_profile_files_created

  • Print Templates print preview window closes unexpectly when printing document

    This is a cross posting from Internet Explorer Web Development after a suggestion that this forum would be a better location. See
    https://social.msdn.microsoft.com/Forums/ie/en-US/351e1245-b606-4467-9f3c-1c72f9cdf9ea/print-templates-print-preview-window-closes-unexpectly-when-printing-document?forum=iewebdevelopment.
    I have raised an issue through Connect for this:
    https://connect.microsoft.com/IE/feedback/details/1134168/ie9-to-ie11-print-templates-print-preview-window-closes-unexpectly-when-printing-document, but I would like some more visibility of the issue as my customers thought my application was closing when
    they printed a document.  I also don't know if an issue in Connect gets any priority support via MSDN, but this forum does.
    This looks to me like a problem in the IE Print Templates startDoc API call, but if there is a more appropriate forum to raise this issue in please let me know.
    In the application where I use print templates, the window closing is not in it self a problem because the Javascript that is calling startDoc also closes the Print Preview window when the print is finished.
    The fact that the application looses focus and can be hidden by the windows of other applications when the Print Preview window is closed by startDoc is the issue noticed by our customers, so I need a fix preferably, or a work around at a pinch.
    Details of the issue reproduced below.
    When using IE Print Templates, the startDoc function is causing the print preview window to close.  This behaviour started with IE9, and is still present with IE11.
    When an application is using print templates (see
    https://msdn.microsoft.com/en-us/library/aa753279(v=vs.85).aspx) for print functionality, this has the effect of causing the application to become hidden by any other application window once printing from the print preview window has started.  It is
    actually this behaviour that started me looking at this issue as the users thought the hosting application had closed.
    Print Templates are not accessible by using IE as a web browser, but only when using the WebBrowser Control to embed IE in an application.  The reference for this feature is available from this url:https://msdn.microsoft.com/en-us/library/aa753279(v=vs.85).aspx
    and a sample Microsoft application that demonstrates the use of Print Templates can be used to demonstrate the problem (required for the reproduction steps).  The application is available via this article and searching for "download spiffy".
    Steps to reproduce the problem:
    To see the full effect of the issue, first ensure there is a window from another application (like Windows Explorer) that will cover the sample applications window if brought to the foreground (making the Windows Explorer window full screen works).
    Start the sample application (and ensure that the full screen Window Explorer is the next application to activate).
    Then in the drop down box in the top right corner of the UI select Template8.htm.
    Click the Print Preview button that is just below the drop down box (this will open a new Print Preview window).
    In the new window click the Print… button (this will open a Print dialog).
    Click the Print button at the bottom of the Print dialog.
    The Print dialog closes (expected) and then the Print Preview window also closes (not expected), however the document is still printed successfully.
    When the Print Preview windows is closed unexpectedly, the Windows Explorer window is brought to the foreground (obscuring the sample applications window).
    If you reselect the sample application and click the Print Preview button again, the Print Preview dialog is not displayed unless you restart the application (this looks to be a symptom of the same issue, not a separate problem).
    To see that the Print Preview window appears to be closed by the startDoc call, use the resource editor in Visual Studio (the exe can be opened directly by File | Open | File…) to edit the HTML resource "TEMPLATE8.HTM" (I found I needed to delete
    it and add it back in for the change to stick), find the startDoc call and add two alerts, one on the line before and one on the line after.  When IE is accessing the template, it is being done using the name of the executable (so do not rename the modified
    version of printtemplates.exe, make the changes to a copy in a different directory if you don't want to change the original).  Start the modified version of the application and follow the same steps as in the reproduction.  This time, after clicking
    the Print button in the Print dialog, the dialog will close, the first alert will pop up, then the Print Preview window will close, then
    the second alert will pop up.
    Thank you,
    Warren.

    Hi Shu,
    I have noticed that the print templates API is listed as part of the Legacy APIs. 
    Is this just because it hasn't changed or is not new?  Or does this mean that it is no longer maintained and may be removed (or at least deprecated) at some point in the future? 
    It would good to know if we should start planning for the implementation of a different method of printing.
    I understand that the sample application is no longer maintained, but I also think that the Print Template API that it uses has not changed, and so should still work (and it does mostly).
    If the Print Preview window was being closed as a result of using the Print dialog (and if it had behaved the same way with IE8) I would be willing to go with the by design argument.  
    I have found that the Print Preview window is not closed until startDoc is called, and it closes before control is returned from the startDoc function. 
    Just as part of investigating and try to find a workaround, if I call window.close(), any alert calls made no longer display the alert window after the close call. 
    Alert still functions after startDoc has closed the window however. 
    The is not the sort of consistent behaviour I would expect from something that is by design. 
    Also while investigating, I found that calling startDoc after calling window.close() results in an exception with the error code -2147467259 (0x80004005), this is probably quite normal and expected, but does indicate that the Web Browser Control should
    not be closed till after printing.
    I had found that old thread, and I had concluded it was the same issue, but it was also aimed at different aspect of the problem (which I see in the sample application, but not my application). 
    The visible issue I have is that my users think the application has been closed because after clicking print (on the Print dialog) the application gets hidden by other windows from other applications. 
    This aspect affects the sample in the same manner and so it was a convenient way to demonstrate the problem.
    If IE connect do not look at this issue any time soon, do I have any other avenues to resolve this issue?
    Thank you,
    Warren.

  • Close main window without alert message

    Hai Guys
    I am opening a new page in jsp with
    window.open("", "mywindow1","status=1,width=350,height=150");
    This page is opened without menu bar.Thatis ok.
    When i am closing the main window with,
    mywindow.close();
    i am Getting an alert message to close the main window.
    Now i want to close the main window without alert message.
    is it possible.
    if u have idea please reply.
    Thanks

    Hi,
    you close dialog windows through the handler that you obtain when opening the window. In IE - and I assume this is where your problem comes from - a security mechanism has been added to prevent scripts from closing root windows without notification. If you want to close the root window I think the work around is to call a HTM page that only calls window.close() in its onload body attribute
    Frank

  • How to close video window without closing iTunes?

    I usually watch video podcasts on iTunes rather than on my iPod. But when the video finishes, how do I close that window without closing iTunes?

    Oops. I just discovered the little white circle with the x in it, that appears in the upper right corner of the video window when the cursor is moved inside the window.

  • When I close and reopen firefox, it restores my tabs, but it restores tabs from hours or days ago, not the ones that were open when I closed the window - why?

    I normally keep my Firefox window open for long periods of time because I have a lot of active tabs. When I close the window and reopen it, I am still able to restore tabs, but as of a few weeks ago, it has stopped restoring the most recent version. Normally, when I would close and reopen, the tabs would be the same ones that were open when I closed the window. Now, it restores to a version from a few days ago instead of the current version. I have to revert to pulling my more recent tabs out of the recent history. I checked my options and I can't figure out any way to control this. How can I fix it so that I can count on my Firefox window to restore the tabs that I actually care about?

    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox Profile Folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox Profile Folder.
    *Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost, so you will have to create them again (make a note or bookmark them).
    *http://kb.mozillazine.org/Multiple_profile_files_created
    *http://kb.mozillazine.org/Session_Restore

  • Itunes will no longer work on my Windows 8 PC. When I attempt to start the program a message says: A problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available.

    Itunes will no longer work on my Windows 8 PC. When I attempt to start the program a message says: A problem caused the program to stop working correctly.  Windows will close the program and notify you if a solution is available.  I have tried to uninstall iTunes but the Windows uninstaller will not delete the program I get a message that says: A network error occurred while attempting to read file: C:\Windows|Installer|iTunes.msi.  How do I get iTunes to work again?

    Whentrying to uninstall iTunes (the first program that must be uninstalled per the instructions) I get a message:  A network error occurred while attempting to read file: C:\Windows|Installer|iTunes.msi. I can't even uninstall iTunes?
    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page).
    http://majorgeeks.com/download.php?det=4459
    Here's a screenshot showing the particular links on the page that you should be clicking:
    After clicking one of the circled links, you should be taken to another page, and after a few seconds you should see a download dialog appear for the msicuu2.exe file. Here's a screenshot of what it looks like for me in Firefox:
    Choose to Save the file. If the dialog box does not appear for you, click the link on the page that says "CLICK HERE IF IT DOES NOT". Here's a screenshot of the page with the relevant link circled:
    When the dialog appears, choose to save the file.
    (2) Go to the Downloads area for your Web browser. Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • My macbook froze up. Finger gestures work, but I cant close out of any windows. How do I close out the windows without using the track pad?

    My macbook froze up. Finger gestures work, but I can't close out of any windows by clicking on the red "X". How do I close out the windows without using the track pad?

    Command + W will close a window. Command + Q will quit a program.

  • Can't close window without quitting?

    I've noticed that if i try to close the iPhoto window (using Apple+W or the red gel button) that the whole program quits.
    This isn't in line with how the other apple products work is it? Normally I can close a window, yet the program remains active. The advantage being that I can open a new window very quickly instead of having to wait for the library to be created again.
    Is this in line with everyone else's experiences?
    Thanks,
    Ben

    Hi Benjamin,
    For programs that normally only use one window, like iPhoto, the program will quit when the window is closed.
    I either "Hide" iPhoto or click the middle button to swish the window into the dock, when I want to hide the window.
    Lori

  • I accidentally pressed "Return" key and it opened around 100 finder windows. Now it won't close and when I right click on finder tab it says application not responding.

    I accidentally pressed "Return" key and it opened around 100 finder windows. Now it won't close and when I right click on finder tab it says application not responding.

    Iv'e tried that but that won't work either. Help please.

  • How do I selectivly close the only not responding window (without closing the other 3 responding windows)

    Presently, I have 4 windows opened, each with a bunch of tabs.
    Since I restarted firefox this morning, one out these 4 windows, keeps on not displaying.
    How do I selectivly close this only window (without closing the 3 others windows)

    Here is what the manpage shows:
    [ps(1)|http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/p s.1.html]
    state The state is given by a sequence of letters, for example, ``RWNA''. The first letter indicates the run
    state of the process:
    I Marks a process that is idle (sleeping for longer than about 20 seconds).
    R Marks a runnable process.
    S Marks a process that is sleeping for less than about 20 seconds.
    T Marks a stopped process.
    U Marks a process in uninterruptible wait.
    Z Marks a dead process (a ``zombie'').
    Additional characters after these, if any, indicate additional state information:
    + The process is in the foreground process group of its control terminal.
    < The process has raised CPU scheduling priority.
    <div class="jive-quote"> The process has specified a soft limit on memory requirements and is currently exceeding that
    limit; such a process is (necessarily) not swapped.
    A the process has asked for random page replacement (VA_ANOM, from vadvise(2), for example,
    lisp(1) in a garbage collect).
    E The process is trying to exit.
    L The process has pages locked in core (for example, for raw I/O).
    N The process has reduced CPU scheduling priority (see setpriority(2)).
    S The process has asked for FIFO page replacement (VA_SEQL, from vadvise(2), for example, a large
    image processing program using virtual memory to sequentially address voluminous data).
    s The process is a session leader.
    V The process is suspended during a vfork.
    W The process is swapped out.
    X The process is being traced or debugged.

  • Close window without using plug exit

    Hi experts,
    How can I close a window without using a plug exit? By implementing some javascript  in the Java code, or other options?
    Thanks in advance.
    Edited by: Alaa Cherqaoui on Nov 28, 2008 5:06 PM

    Hi ,
    You can use the "destroy" method for window.
    For example:
    you need to create WindowInstance varibale of type:
    com.sap.tc.webdynpro.services.session.api.IWDWindow
    Then inside the action that suppose to open this window you write the following:
    IWDWindowInfo windowInfo = wdComponentAPI.getComponentInfo().findInWindows("NameOfTheWindow");
    IWDWindow window = wdComponentAPI.getWindowManager().createWindow( windowInfo, true);
    window.setWindowPosition(WDWindowPos.CENTER);
    wdContext.currentContextElement().setWindowInstance(window);
    window.open();
    And inside the action that suppose to close this window write the following :
    wdContext.currentContextElement().getWindowInstance().destroy();
    Hope it's help...
    Regards,
    Shimon.

  • Close, Hide, Move borderless window without passing Window instance MVVM Light

    Hi everyone,
    I'm now working with an app which is on MVVM Model, and I'm using MVVM Light to make that app . I wonder if I can close the current window and open another one without passing Window instance or not . I've seen a way which helps me to close the current window
    without passing the instance through MVVM Command :
    return new RelayCommand(() => Application.Current.Windows.Cast<Window>().Single(w => w.DataContext == this).Close());
    But what if I handle the MouseDown event, I have to use LinQ so many times.
    Can anyone help me please ?

    If you want to do something with a window without having a reference to it, you could send a message from a class using the Messenger and then subscribe to this message in the window class itself and close it or do whatever from there.
    public class CloseWindowMessage
    ViewModel:
    return new RelayCommand(() => { GalaSoft.MvvmLight.Messaging.Messenger.Default.Send<CloseWindowMessage>(new CloseWindowMessage()); } );
    Window:
    GalaSoft.MvvmLight.Messaging.Messenger.Default.Register<CloseWindowMessage>
    this,
    (action) => this.Close()
    Please refer to the following links for more information about how to use the Messenger in MVVM Light:
    http://stackoverflow.com/questions/16993918/mvvm-light-messenger-sending-and-registering-objects
    https://msdn.microsoft.com/en-us/magazine/dn745866.aspx
    Please remember to close your threads by marking helpful posts as answer.

  • Editor closes program when panorama is selected elements 7

    editor closes program when panorama selection of photos is selected, elements 7

    I have another question....
    I want to set my program to fill the screen. This works mainFrame.setExtendedState(JFrame.MAXIMIZED_BOTH);
    but it covers the windows start bar. I want it to maximize and not cover the windows task bar (the thing that has the clock and start button etc...)
    also this program is intended for all plate forms. so for mac I don't want it to cover the task bar that is at the top of the screen.
    and for linux i don't want it to cover the task bar if there is one. thanks.

Maybe you are looking for