How do I save changes made to a sub vi automatically

Hello Fellow Engineers!
I have a doubt and welcome useful suggestions from all of you.
I have the following problem:
I am programming a vi that asks a user for his/her username and password. The user has an option of changing the password . When he/she clicks on  the option 'change password?', there is a dialog box asking the user for the old password and new password. If the old password is authenticated, the new password is sent through a global string to a sub vi. This sub vi simply has a table with user name and password column fields. So, on checking the validity of the old password, the main vi sends the new password through a global string to this sub vi and overwrites the old password field with the value of the current password.
My problem is this-
When I close the main vi, restart it and look at the sub vi, it doesn't show the new password.  The sub vi has the original password as default. In other words, the changes I make to the sub vi are not saved on closing of the complete application. If I don't close the main vi and try changing the password any number of times, it works fine and does its job! But, when I shut down the application and start again, the sub vi has the original values.
Is there any way by which I can make sure that the changes I make to sub vi through the main vi are permanently saved each time the changes are made?
Hoping to hear from all of you,
With warm regards,
Aparna.
Student,
Germany.

There is an invoke node in the server class VI. The invoke node is called: Default Values.Reinitialize All to default. this will set all controls in the VI as Default. Next you need the invoke node Save.Instrument to save the VI. both methods work while the VI is running and are available in the runtime engine too.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions

Similar Messages

  • How do you save changes made in iPhoto, and export the changed file.  It keeps reverting back to the original.

    How do you save changes made in iPhote, and export the changed picture file? When I select export, current format, it reverts to the original, wiping out all my work.

    Try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder.
    (On 10.7 or later: Hold the option (or alt) key while clicking on the Go menu in Finder to access the User Library)
    (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    What's the plist file?
    For new users: Every application on your Mac has an accompanying plist file. It records certain User choices. For instance, in your favourite Word Processor it remembers your choice of Default Font, on your Web Browser is remembers things like your choice of Home Page. It even recalls what windows you had open last if your app allows you to pick up from where you left off last. The iPhoto plist file remembers things like the location of the Library, your choice of background colour, whether you are running a Referenced or Managed Library, what preferences you have for autosplitting events and so on. Trashing the plist file forces the app to generate a new one on the next launch, and this restores things to the Factory Defaults. Hence, if you've changed any of these things you'll need to reset them. If you haven't, then no bother. Trashing the plist file is Mac troubleshooting 101.

  • How do I save changes made to games? Example...Mafia Wars on FaceBook...Thank's

    Trying to change stats on Mafia Wars game for FaceBook. It allows the change and then it goes away when I try to play. How do I make them permanent? Thank's
    == This happened ==
    A few times a week
    == today

    I afraid you cannot save these changes with the F12 developer tool. You could copy these changes to an external editor.
    Note  The Changes tab will clear if you close the F12 developer tools, but the changes you made with
    DOM Explorer persist until you refresh the webpage.
    More information about F12 developer tools, please refer to here:
    Using the F12 developer tools
    DOM explore
    https://msdn.microsoft.com/en-us/library/ie/dn255008(v=vs.85).aspx#editing_an_element
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can i save changes made to user accounts?

    Hello everybody!
    Well, this is my very first question to the community and i really hope you guys are able to help me!
    Now my problem is as followed: On my MacBook Pro i use an Admin Account for personal usage, and then i got a Guest Account for everybody else than myself using my Mac.
    A few days ago i spent almost an hour setting up my guest account in appearence and other general settings, i.E. the trackpad reaction or multi touch gestures. Afterwards, i logged out my guest account and shut off my mac. Then, another day afterwards i restarted my mac and checked, if those changes took effect. Now, surprisingly, the Guest User account was completely resettet and used something what looks to me like a standard setup.
    How can i change this? How can i set up a Guest Account with certain rights, a specific wallpaper and only selected apps available?
    Thank you for your help and have a nice day!

    That is what the Guest User account is for - did you see this when you logged out of the Guest Account?
    What you need to do is to set up a new account that is not the system installed Guest Account with a name of your choosing.
    Regards.
    Colin R.

  • ALV Grid: how to save changes made in an editable Grid

    Hi,
    How to save changes made bu the user in any of the editable cells in a ALV Grid?
    Regards,
    deb.

    Hi,
    If you are using the FM look at the following example code...
    data: LC_GLAY TYPE LVC_S_GLAY.
    LC_GLAY-EDT_CLL_CB = 'X'.<<<<<------
    gt_layout-zebra = 'X'.
    gt_layout-detail_popup = 'X'.
    gt_layout-colwidth_optimize = 'X'.
    call function 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = i_repid
    i_callback_user_command = 'USER_COMMAND1'
    it_fieldcat = header
    is_layout = gt_layout
    i_callback_top_of_page = 'TOP-OF-PAGE1'
    i_grid_title = text-h17
    it_sort = gt_sort[]
    i_default = 'X'
    i_save = 'U'
    is_variant = gt_variant
    it_events = gt_events
    I_GRID_SETTINGS = LC_GLAY<<<<<<------
    TABLES
    t_outtab = itab.
    clear itab.
    Form USER_COMMAND1
    FORM USER_COMMAND1 USING u_ucomm LIKE sy-ucomm
    us_selfield TYPE slis_selfield."#EC CALLED
    case u_ucomm.
    when '&DATA_SAVE'.<<<<<<<<----
    This will come after the data was EDITTED and when SAVE was clicked by user in output scren.
    Here now in the final internal table(ITAB) you can find the data changed in EDIT mode.
    After this you can do manipulation what ever you want.
    Thanks.
    If this helps you reward with points.

  • How do I save changes to the document

    How do I save the text changes

    Hi Janie,
    What sort of changes have you made? All changes made to the document are automatically saved once you close the document.
    Shradha

  • How do I save changes to a PDF with AxAcroPDFLib.AxAcroPDF?

    I am using C# and have created a regular Windows form. I have used COM and registered AxAcroPDFLib.AxAcroPDF. Here is my code;
    axAcroPDF1.LoadFile("myfile.pdf")
    axAcroPDF1.Show();
    MessageBox.Show("Showing...");
    This works fine. But, just like the browser, I cannot save changes to the PDF. I have the full version of Adobe Acrobat installed, Standard 8.0. I also have the Pro. version 7.1.0 on another PC. When I click save I just get prompted to save it locally, just like I was in the browser.
    If I edit these normally, just via Adobe Acrobat Standard, I can save my changes. I cannot do it via the AxAcroPDFLib library.
    How do I save changes to my adobe acrobat pdf file in my program? Thank you for any help. please.

    I did this after I wrote this. I have looked at the documentation but I can't find what I am looking for. Is there another way to open a file for viewing that has the full capabilities or using the normal program...one that uses something besides AxAcroPDFLib.AxAcroPDF. The sample that did have a view used AxAcroPDFLib.AxAcroPDF so it wasn't helpful. All I need is normal program functionality of adobe standard or profession within the application. The users have a full version installed on their PC.
    Thanks again.

  • HT4759 How do you get changes made to your documents on a Windows 7 computer show up in your documents on your iPhone?

    How can I get changes made in documents on my Windows 7 computer to show up in the documents on my iPhone 5?  These documents show up in ICloud without showing the changes.

    You have to be accepted into the Apple Beta program before any of that works.

  • How to see the changes made for iPad in iTunes on my iPad?

    How to see the changes made for iPad in iTunes on my iPad? I've been transferring some pdf-files and changed the name on them in iTunes under the index books for my iPad device, but the changes do not show in iBooks-PDF. What to do?

    Yes I tried syncing a lot of times, but the changes still wouldn't show, so I did as you said by beginning from the start by adding the PDF's once again.
    Thanks for your help, it works now :-)

  • How do I save changes to about:config?

    I change the keyword url in about:config but don't know how to save this change. If just close the tab or the browser, the old settings reappear.
    How do I save changes to about:config?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    See also:
    *http://kb.mozillazine.org/Preferences_not_saved
    *https://support.mozilla.com/kb/Preferences+are+not+saved

  • TS3276 how do I save changes in mail accounts preferences?

    how do I save changes in mail accounts preferences? I add and delete mail accounts but when I close and then reopen mail, my changes are not saved, despite messages within the mail window saying that my changes are saved.

    You can use an add-on to set the zoom level for all sites. For example, [https://addons.mozilla.org/en-US/firefox/addon/nosquint/ NoSquint] and [https://addons.mozilla.org/en-US/firefox/addon/default-fullzoom-level/ Default FullZoom Level].

  • How can we log changes made in RSA1 in BW/BI

    How can we log changes made in RSA1 in BW/BI ?
    Please advise.
    Regards,
    Archana

    Hi Arun,
    Thanks for your reply.
    Basically I wanted to get the log for a particular user when executing RSA1 tcode (the user has change access).
    Do we have any table which records the RSA1 changes.
    Thanks.
    Regards,
    Archana

  • Videos - How to save changes made via Adjustments?

    The new video features: Great!
    I tried CTRL+S to save changes (changed Exposure to totally black for testing) to my .MOV video file - however, the file is unchanced. I'm guessing the adjustments are still just sitting in my Lightroom catalogue.
    Is the correct way to export the video and re-encode it then?
    If export is the only way - shouldn't there be some "save" function? I never trust the Lightroom catalogue to always keep all changes, I always do some CTRL+A, CTRL+S to save the changes to the files, so they are hardwired - would I have to export the videos, copy them back to the original folder and delete the original videos?

    You cannot save changes to the video files as you can do with photo files.
    In this case, everything is saved in the catalog, and you will need to export to render the video.
    However, it is generally admitted that the catalog is a safer place to record changes, compared to individual files, and it is also easier to backup.
    Rgds, Gilles.

  • How do I save changes in text size

    How do I save increases in text size. The zoom feature reverts to earlier setting when I change web page. I was not able to change font size using font setting under content tab in tools.

    You can use an add-on to set the zoom level for all sites. For example, [https://addons.mozilla.org/en-US/firefox/addon/nosquint/ NoSquint] and [https://addons.mozilla.org/en-US/firefox/addon/default-fullzoom-level/ Default FullZoom Level].

  • Swing .............how to undo the changes made by user

    Hi,
    i have created a form in swing asking for the related information from user whose value i m taking in jformetted textfield.
    now i have placed two buttons there.
    one is Apply and second is Cancel.
    when user pressed Apply button all the changes made by the user must be set where as if user clicks cancel button all the changes made by user should be undo to previously set value.
    can anybody help me how this can be done and what code should i write in action performed method
    thanks in advance
    plz reply

    thanx.
    one more thing
    In my application,there is one Button called Option when u clicked on it.It opens up one internal frame where user is asked to asked to fill some parameters.
    1) Now how can i restrict user to create one more internal frame unless first one is closed.
    2) suppose i clicked option button and it opens up internal frame where i can set the parameters and closed it.If i again click on option then i want the parameter to have wht i just set.
    3) and how can pass those parameters value to my main frame from where i m calling internal frame
    Plz reply
    Edited by: neel007 on Mar 11, 2009 8:02 PM

Maybe you are looking for

  • When I close out a website it goes to my desk top and then tells me firefox is running and I have to shut down the system

    when I close out a website it goes to my desk top and then tells me firefox is already running and I have to shut down my system and bring it back up and wait to log back in. It's quite frustrating.

  • Small Cap Fonts

    I am trying to figure out how to use a small cap font when creating a PDF document manually... for example: 7 0 obj << /Type/Font /Name /T5 /BaseFont/Helvetica,SmallCap /Subtype/Type1 /Encoding /WinAnsiEncoding >> endobj I've tried many different var

  • Burn folder failed to burn

    It gave me an error saying that there was an error communicating with the drive but the burn dialog box is still there since over an hour and refuses to go away. I pressed stop button on it and its still going. but it does not display any progress(si

  • GUIxT at the global level

    Hello, I am using the GUIxT scripting for modification to standard transaction. I have added the following to my script: del [distance] del [SPFLI-DISTID] The script is saved on C drive of my desktop. All is working fine. My requirement: 1. To make t

  • Color Definitions List - No Scroll

    I have a large color definitions list that matches my standard swatches in Illustrator. I want to go in and thin out some old/obsolete swatches (color definitions). I've recently upgraded to FrameMaker 11. I cannot scroll in the Color Definitions Nam