Is there a function on LabView so when you are done with a sub vi you can return back to the main vi while i tis running?

I went to VI properties and selecting for the front panel to open when called and close when finished, but it still doesn't close when I'm running the program.  What else can I do?

These options do exactly what they say - they cause the subVI's front panel to open when the subVI starts running and they close the front panel when the subVI stops. This can be used, for example, for pop-up dialogs.
My guess would be that you are using the abort button to stop the VI. This is a big no-no and causes all the running VIs to stop. What you should do is use the code to end the VI's run. If this doesn't help you, I suggest you post your code (File>>Save with Options>>Development Distribution) and explain what you're trying to do.
To learn more, I suggest you read the LabVIEW user manual. Also, try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide.
Try to take over the world!

Similar Messages

  • Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them

    HI
    i am keep seeing this message in ulsviewer of splogs in a webfront end server
    Detected use of SPRequest for previously closed SPWeb object.  Please close SPWeb objects when you are done with all objects obtained from them, but not before.  Stack trace:  
    at Microsoft.SharePoint.SPWeb.get_Exists()   
    at Microsoft.SharePoint.WebControls.CssLink.OnLoad(EventArgs e)   
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Control.LoadRecursive()   
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
    at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
    at System.Web.UI.Page.ProcessRequest()   
    at System.Web.UI.Page.ProcessRequest(HttpContext context)   
    at ASP._layouts_icc_icc_scan_view_aspx.ProcessRequest(HttpContext context)   
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()   
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)   
    at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)   
    at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)   
    at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)   
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   
    at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)
    adil

    Hi,
    Your SPweb object is not disposed properly.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/3a25eb86-8415-4053-b319-9dd84a1fd71f/detected-use-of-sprequest-for-previously-closed-spweb-object-please-close-spweb-objects-when-you?forum=sharepointdevelopmentprevious
    http://sharepoint.stackexchange.com/questions/50793/detected-use-of-sprequest-for-previously-closed-spweb-object-after-spquery
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects obtained from them, but not before.

    I have develop a custom solution for SharePoint Foundation 2010 that provide PDF documents filled with lists data and attachemnts.
    If the Customer run the solution to get the PDF we found in the ULS log following entry:
    03/07/2014 12:07:20.69  w3wp.exe (0x0B10) 0x18EC 
    SharePoint Foundation General                        90hv Unexpected 
    Detected use of SPRequest for previously closed SPWeb object.  Please close SPWeb objects when you are done with all objects obtained from them, but not before.  Stack trace:    at Microsoft.SharePoint.Utilities.SPUtility.GetLocalizedString(String
    source, String defaultResourceFile, UInt32 language)     at Microsoft.SharePoint.SPFieldCollection.get_DisplayNameDict()     at Microsoft.SharePoint.SPFieldCollection.GetFieldByDisplayName(String strDisplayName, Boolean
    bThrowException)     at Microsoft.SharePoint.SPFieldCollection.GetField(String strName, Boolean bThrowException)     at Microsoft.SharePoint.SPListItem.GetValue(String strName, Boolean bThrowException)    
    at Microsoft.SharePoint.SPListItem.get_Item(String fieldName)    
    at ECM_PDF_Excel.ListClicked.GetECOs(Dictionary`2 searchedEC... e918ecd4-7ed6-44bb-9e4f-d764586a2f79 ...RECONumber)    
    at ECM_PDF_Excel.PDF.Create()     at ECM_PDF_Excel.Layouts.ECM_PDF_Excel.ECMPDFExcel.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext
    context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr
    managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 f... e918ecd4-7ed6-44bb-9e4f-d764586a2f79
    03/07/2014 12:07:20.69* w3wp.exe (0x0B10)                        0x18EC SharePoint Foundation        
     General                        90hv Unexpected ...lags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr
    managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32
    flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)   e918ecd4-7ed6-44bb-9e4f-d764586a2f79
    We check the method
            /// <summary>
            /// Returns the ECOs in a Dictionary: ECO Number, Suffix
            /// </summary>
            /// <param name="searchedECRECONumber">Dictionary, with the search ECR/ECO Number</param>
            /// <returns>Dictionary ECO Number, Suffix</returns>
            public static Dictionary<string, string> GetECOs(Dictionary<String, String> searchedECRECONumber)
                SPSite siteContx = SPContext.Current.Site;
                SPWeb webContx = siteContx.RootWeb;
                Dictionary<string, string> listECOs = new Dictionary<string, string>();
                string ecoNumber = string.Empty;
                string ecoSuffix = string.Empty;
                if (searchedECRECONumber.ContainsKey(ConstantData.listClickedECONumberDictionary))
                    ecoNumber = searchedECRECONumber[ConstantData.listClickedECONumberDictionary];
                else
                    return listECOs;
                // Ich suche die ECO Nummber bei gegebener ECR Nummer
                // Ich brauche den Listen Namen der in den Spalten Realtion ECR Number & Realtion ECO Number einen Wert hat
                SPList dataList = webContx.Lists.TryGetList(ConstantData.listName_ECMExcelTemplateDataLists);
                if (dataList != null)
                    SPListItemCollection dataListItems = webContx.Lists.TryGetList(ConstantData.listName_ECMExcelTemplateDataLists).Items;
                    foreach (SPItem dataListItem in dataListItems)
                        Object relationECRColumnName = (String)dataListItem[ConstantData.listFieldName_ECMExcelTemplateDataLists_RelationECRNumber];
                        Object relationECOColumnName = (String)dataListItem[ConstantData.listFieldName_ECMExcelTemplateDataLists_RelationECONumber];
                        if (relationECRColumnName != null && relationECOColumnName != null)
                            // Ich habe den Listennamen gefunden in dem Spalten Realtion ECR Number & Realtion ECO Number einen Wert haben
                            string searchedListName = (String)dataListItem[ConstantData.listFieldName_ECMExcelTemplateDataLists_Title];
                            string searchedECOSuffixColumnName = (String)dataListItem[ConstantData.listFieldName_ECMExcelTemplateDataLists_RelationECONumber];
                            // Get the List from variable listName
                            listECOs = GetECOsDictionary(searchedListName, searchedECOSuffixColumnName, ecoNumber, relationECOColumnName);
                return listECOs;
    - What take we wrong?
    - How can we avoid this message?
    Regards
    Jonnyenglisch
    Ralf Happe - Christobal Colón N° 1 ES 07670 Portocolom Tel.: +34 6961 0375 7 @: [email protected] Skype: ralfhappe msm: [email protected] www.ralfhappe.com ralfhappe | soluciónes

    Here the code of GetECOsDictionary:
             /// <summary>
            /// Fill the dicionary with related ECO Numbers/Suffix
            /// </summary>
            /// <param name="searchedListName">String: the name of the list</param>
            /// <param name="ecoNumber">String: the ECO Number</param>
            /// <param name="relationECOColumnName"></param>
            /// <returns>Dictionary</returns>
            private static Dictionary<string, string> GetECOsDictionary(string searchedListName, string ecoNumber, Object relationECOColumnName)
                SPSite siteContx = SPContext.Current.Site;
                SPWeb webContx = siteContx.RootWeb;
                Dictionary<string, string> listECOs = new Dictionary<string, string>();
                SPQuery oQuery = new SPQuery();
                oQuery.Query = "<OrderBy>" +
                                    "<FieldRef Name='" + "Title" + "' Ascending='TRUE'></FieldRef>"
    +
                                "</OrderBy>" +
                                "<Where><BeginsWith>" +
                                    "<FieldRef Name='" + "Title" + "'/>" +
                                    "<Value Type='Text'>" + ecoNumber + "</Value>" +
                                "</BeginsWith></Where>";
                SPListItemCollection searchedListItems = webContx.Lists.TryGetList(searchedListName).GetItems(oQuery);
                foreach (SPItem searchedListItem in searchedListItems)
                    // Wenn die geclickte ECO Nummer gleich der Listen ECO Nummer ist dann setze die gefundene ECO Nummer
                    string foundECONumber = (String)searchedListItem[relationECOColumnName.ToString()];
                    string[] splitECONumber = foundECONumber.Split(ConstantData.splitBy_Slash);
                    if (ecoNumber == splitECONumber[0])
                        ecoNumber = splitECONumber[0];
                        if (splitECONumber.Count() == 1)
                            listECOs.Add(foundECONumber, "0");
                        if (splitECONumber.Count() > 1)
                            listECOs.Add(foundECONumber, splitECONumber[1]);
                return listECOs;
    Ralf Happe - Christobal Colón N° 1 ES 07670 Portocolom Tel.: +34 6961 0375 7 @: [email protected] Skype: ralfhappe msm: [email protected] www.ralfhappe.com ralfhappe | soluciónes

  • Is there any way to share my Mac's internet connection with my iPod as I can't turn on the wifi on my iPod?!

    When I restored and updated to IOS 6.1.3, my wifi on my iPod Touch 4th Gen greyed out and I can no longer use it.
    Is there any way to share the connection of my mac using the USB cable or Bluetooth?
    Thanks,
    James

    JamesUpjohn wrote:
    We have contacted Apple and haven't heard back for 3 months
    How did you try to contact them? In any case, an Apple Store is the best way to handle any problems with an iPhone when you have a store in your area. The Apple Store will certainly be able to handle the problem one way or another. Most likely they'll just replace the iPhone, though if you're out of warranty the replacement will not be free.
    Regards.

  • When using scene markers (PRE9), is there a way to return the viewer back to the main menu?

    I set up scene markers for a dance video I'm editing, and I would like after the viewer finishes watching the selected scene, they are returned back to the main menu without disrupting the play all function.  Using just the scene markers it is going correctly to the specific dance/scene, but continues playing the entire video from that point forward.  I am aware of the stop marker, but it looks like it's only function is to end the movie and that it shouldn't be used in the middle of a movie.  Is there a way to do this? Thank you

    Many of us supplement this program with a program from Sony called DVD Architect Studio, a $39 download. If you do your editing in Premiere Elements and your disc authoring in DVD Architect, you can do nearly anything you can imagine.
    You can see DVD Architect Studio demonstrated in my tutorials along the left side of this page.
    http://Muvipix.com/dvdas5.php

  • [TIP] Always wipe when you are done  :O

    Something I came across today, a handful (like a hundred or so) of WiFi Xooms got sent out as refurbs but still had some of the previous owners personal data on them.  Sooo, AndroidCentral.com posted an article about always wiping (or hard reset, or factory reset) your phone if you ever sell, throw away, donate, give to a friend, your old phone when you are done with it.  Good advice, I would say, no telling where it will end up, or if the company you send it back to won't miss resetting it before sending it out as a refurb.  The original article is here: http://www.androidcentral.com/gentle-reminder-erase-your-android-device-getting-rid-it have a read don't forget the SD card and, always wipe when you are done!

    I wish the phones didn't have those water damage stickers on them.  I'd use a bidet.
    ~D

  • Sometimes my ipod does not down load my entire library when I sync up with itunes, even if I have items loaded in the play list and can see them in the play list in my itunes when I check my ipod play list some items are missing part 1 will be there but p

    Sometimes my ipod does not down load my entire library when I sync up with itunes, even if I have items loaded in the play list and can see them in the play list in my itunes when I check my ipod play list some items are missing part 1 will be there but part two is not. Why?????

    How is your iPod configured to sync music from your iTunes library?  In other words, what options and configurations do you have enabled from under the iPod's Summary and Music configuration panes in iTunes?
    B-rock

  • I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server wher

    I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server where the PDFs open fine) I get an error 'There was an error processing a page. Invalid function resource' The other one just doesn't open at all. Can anyone help with this please?

    Hello,
    Are the pdf linked correctly in the website? Is this a public website? If yes, please post the link here.
    ~Deepak

  • When I stop a movie, it doesn't go back to the main menu.

    I am experiencing a very frustrating situation.
    I have burned a DVD with 2 short movies on it.
    When I play either of them all the way through, after they're over, it returns automatically to the main menu, which is what I want.
    However, when I STOP either of them anywhere during the playing, it does NOT return to the main menu. It just stays on a black screen.
    This situation happens on my Mac DVD Player, and also on external DVD players connected to a TV.
    Let's say I am watching the 1st movie, I don't like it and I want to watch the 2nd one on the same DVD. I logically press STOP, but it doesn't bring me back to the main menu. If I press "Menu" or "title", it doesn't work either.
    Is there something on the "Map function" window that I should do?
    If not, is there any other solution?
    Many thanks in advance for any help.

    Ok, don't press STOP, just press "menu" or "title" without pressing stop.
    BTW, I tested both a commercial DVD (Indiana Jones and the Last Crusade) and and a iDVD disk in my Panosonic player and on my Mac with the Apple DVD player.
    On the Panosonic Player: If I press Stop on either DVD, I go to a blank screen. If I press menu once and wait a sec or two, both DVDs go back to the main menu.
    On the Apple DVD player: If I press Stop on either DVD, I go to a blank screen, and pressing "menu" gives me the "not permitted" warning for both DVDs.....
    So It seems like fro me, iDVD works just like the commercial DVD on both the Mac and the DVD player.....
    John B

  • When I try to play a song on my iPod Touch, it shows the information screen for the song and then skips to a new song but then goes back to the main playlist page without ever playing a song! Help!

    When I try to play a song on my iPod Touch, it shows the information screen for the song and then skips to a new song but then goes back to the main playlist page without ever playing a song! Help!

    thats tough man, yeah exchanging it is the best option. But why do people always leave a message saying" i'll probably just by an ipod" and it's usually followed by, "even though i don't like apple or ipod" . I mean fine, if u feel like giving up on the zen micro thats fine, i personally don't care if you're going to buy an ipod. for god sakes ipod isn't even the next alternati've mp3 players, theres plenty. Are u just trying to get the creative people saying "oh man we lost another one to ipod" cuz i'm sure they don't lose sleep over u wanting to buy an ipod instead of a zen. *done ranting*
    Message Edited by bleakreserve on 02-3-2005 06:34 AM

  • IPhone blank email 'mail' screen when I open it with blank top bar and create mail icon in the bottom right hand corner. I open it and it is stuck on this screen and then crashes. I can access my emails on my iPad and laptop. Rest of my phone is fine.

    I have tried a soft reset and uninstalling and reinstalling my email accounts.  It crashed when I was trying to refresh my emails and a video emIl came through. Any advice please?

    Hello Hobbit80,
    Thank you for providing the details of the issue you are experiencing with Mail on your iPhone.
    I recommend following these steps for an issue like this (you can skip 4 because it does not relate to the issue you are experiencing and any other steps you may have taken):
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on),reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more about restoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    You can find the full article here:
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    If you get to step 5, I recommend backing up your iPhone before performing the restore:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    http://support.apple.com/kb/HT1766
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Is there a way to have Siri resume an app (i.e. GPS) after you're done with it?

    Hey guys,
    Long time lurker, first time posting.  Please forgive me if this has been asked, but I have not found anything related to this question.
    I use a GPS app all the time when I am in my car.  I use a bluetooth headset and I love the fact that I don't need to touch/look at the phone to complete certain tasks.
    What I do not like is that while I'm using the GPS app, I need to send a text/call/whatever, and I activate Siri.  The screen then changes to the Siri conversation screen.  When I'm done with Siri, the screen stays there and does not switch back to the GPS.  This requires me to look and reach over to press the Home button, and sometimes re-select the GPS app again. This can be very distracting as I drive manual as well.
    Is there a command or something I can say to have Siri resume the previously open app?
    I have tried "Open previous app", "Resume app", and a bunch of other similar commands.  None worked.  Siri just says that it can't complete that task.
    Any help or solution is greatly appreciated!
    Cheers.

    I'd also like this to be the norm. Maybe it needs an entry for the SatNav app you use for siri in some config somewhere, as the other apps (phone, etc) are "built in". The siri could know to revert to that app.
    Regards

  • When using pop up editor windows on a Joomla 1.0.15 website the URLs selected in the pop-up are not passed back to the main window

    The Joomla content management system version 1.0.15 provides a content editor which uses pop-up windows to select images and files. When using any of these pop up editor windows since 3.6.9 the URLs selected in the pop-up are not passed back to the main editor window.
    Up until FF 3.6.8 there were no problems, but FF 3.6.9 and 3.6.10 both exhibit this same problem, as does FF 4 Beta 6. (Support Question raised on this forum in early September when 2.6.9 was released but no response)

    Do you have that problem when running in the Firefox SafeMode?
    [http://support.mozilla.com/en-US/kb/Safe+Mode]
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this:
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Hey how are you guys listen i have an iphone 4s the one i use with the H20 CARRIEr and i trying to enable the option call forwarding and when i type tho number i go back and i notice to the call forwarding it turning off as soon i back to the main menu ?

    hey how are you guys listen i have an iphone 4s the one i use with the H20 CARRIEr and i trying to enable the option call forwarding and when i type tho number i go back and i notice to the call forwarding it turning off as soon i back to the main menu ?

    There are a lot of posts in the forums today with people having problems with iMessage.   There was also a published outage yesterday, so it's possible there are still some issues that may be impacting you both.
    I would just wait it out - I'm sure it will be sorted out soon.

  • Right now my ipod is set on 'music'. When I push the menu button, it will not go back to the main menu's, but I can still go to all the music and play it.

    Right now my ipod classic is set on 'music'. When I push the munu button, it will not go back to the main menus, but it will still go forward and select and play music normally. I tried resetting it by holding the menu and center buttons until the apple logo appeared, but the problem is still there.

    If your battery level is low, recharge it first for at least 2 hours, preferably 4 hours.
    After the Apple Logo, you release the buttons, what do you see on the iPod screen? (language selection?)
    Have a nice day!

Maybe you are looking for