Update Station Globals of LAbWindows/CVI user interface


Hello

the first thing, why you posted this request twice, http://forums.ni.com/t5/NI-TestStand/Update-Station-Globals-from-CVI-UI/m-p/1317023

to be able to update a StationGlobal, you must first get a reference to the engine, this can be done using ApplicationMgr.GetEngine)

Once you have this reference, you can then get a reference to the StationGlobals by the use of Engine.Globals (). This property returns a PropertyObject.

So now you can use the SetVal methods to define your boolean, for example PropertyObject.SetValBoolean ("MyBoolean", 0, True)

hope this helps

Tags: NI Software

Similar Questions

  • Simple CVI user interface changes

    I'm changing the UI Simple CVI (TestStand 4.1.1) and would like to have a similar functionality using the SequenceCombo and the SequenceView box as the complete UI featured the sequence list box and the box of SequenceView (STEPLISTVIEW).  So that when I select a sequence in the drop-down list the steps are given in the SequenceView box.

    Thank you

    John

    Hi John,.

    The implementation is quite simple with TestStand Manager controls. Simply open the CVI Simple IO code, and paste the following in SetupActiveXControls() function call:

    tsErrChk (TSUI_SequenceFileViewMgrConnectSequenceView (gMainWindow.sequenceFileViewMgr, & errorInfo, gMainWindow.sequenceView2, 0))

    .. .or sequenceView2 in three parameter is a reference to a secondary control of SequenceView on the main Board (like Sylvie mentioned). Fortunately, the TestStand SequenceFileView Manager manages all the necessary calls to update area SequenceCombo selection-based control of SequenceView.

    The source code is attached.

  • update time system with a simple user interface

    Hello

    I need to update the time on the simple IO system but when I use 'get the time system and date.vi. The indicator on the front is not updated every second, there are at least 5 seconds delay. I tried to use parallel so that the method of the loop, but the problem still persists

    Any ideas guys?

    Concerning

    VERP

    In fact, I found the flaw. Fault is with 'ME '.

    I was operating the VI on a remote computer in the LABORATORY and there was delay in the transmission that is why while I scratch my head. Time of VI display correctly to the computer in the lab.

  • Localized user interface

    Hello

    I have some problems to reload the complete dictionary (GSD file)

    with the LabWindows/CVI 'User localized Interface' tool.

    DO NOT run a multilingual, with the good translation software.

    The final executable works perfectly, with LWL file.

    BUT if I need to correct an error of translation (I'm only a man ).

    and try to reload the previously saved dictionary (GSD file) for that.

    After leaving the tool,

    many completed translations previously disappeared (see pictures attached).

    You can save the dictionary as much time you want.

    After put again and again... the same missing translation.

    Whenever you reload, after the tool 'User Interface localized',

    some translated lack again and again in the tool.

    See the attached example.

    See with 'Fonction_EN. GDL' and 'OK (enter)' message button of the Panel "in context".

    It is correcly filled in the final file of LWL, so the executable is correctly loaded.

    But it still does not save in the GDL dictonary file.

    We had the problem, since almost LabWindows/CVI 2012 (and perhap previously).

    And especially with some IUR with many panels on the inside

    and/or using the same translations (__OK, __Cancel, etc...).

    Thanks a lot for your help.

    Hello

    A solution was given by another post.

    Sorry, I lost the link.

    Thank you.

    Process:

    LabWindows / CVI-> tools-> localized user Interface...

    -File-> open User Interface (*.uir, * .tui)...

    '... \Elements.uir '.

    --> Dictionary Translation of the dictionary (*.lwd)...

    '... \Elements.lwd ' (-online form "Chains" successfully imported file dictionary)

    -File-> load location (*.lwl)...

    '... \Elements_En.lwl ' (-online 'channels successfully imported the language resource file)

    The translation are fulfilled.

  • TestStand freezes when calling user interface

    Hello

    I did a bit of seraching but the problem I have is intermittent for one of the positions that I have found useful. I have a built in CVI user interface that is called the part edit-a type of step in time. When I call the UI for several times now (same step over and over) TestStand eventually freezes. Sometimes I get error messages, most of the time that it just hangs. When she throws and error, it is usually a one .NET. I received this message before the "object reference is not attached to an instance of an object", so that system level exceptions. I can't figure out exactly what is the cause. I posted my code below. If I comment on either of the two sections "BOLD" no error occurs. Also, if I do not change the setting in the user interface between the calls to the user interface I have never it freezes. So he definitley has something to do with the fill/adjustment control of the ring, or even reading the property 'ThisContext.Step.ConfigProperties.ParameterID' of TestStand. If I get more descriptive errors, I will update this post.

    Code:

    ----------------------------------------------------------------------------------------------------------------------------------------------------

    void __stdcall __declspec(dllexport) ReadParameterTSEdit (CAObjHandle seqContextCVI, char reportText [1024], short * errorOccurred, long * errorCode, char errorMsg [1024])
    {
    ErrMsg errMsg = {'\0'};
    int hpanel;
    int executed;
    int index;
    int count;
    int numParams;
    char paramIDs [100] [64];
    char param [64];
    char indexparam [64];
    char * ActCntrlTLA = NULL;
    char * temp = NULL;
    char activecntlr [23] = "active controller: ';"
    VBOOL CntrlExists;
    TSObj_Property paramids = NULL;
    TSObj_PropertyObjectFile propObjFile;
    CAObjHandle seqfileobj;
       
    Check that the system has been initialized and a profile was loaded!
    TS_PropertyExists (seqContextCVI, NULL, "ThisContext.FileGlobals.ActCntrlTLA", 0, & CntrlExists);
    If (!.) CntrlExists)
    {
    MessagePopup ("read setting", "no profile has been loaded for this sequence!");
    GoTo error;
    }
    TS_PropertyGetValString (seqContextCVI, NULL, "ThisContext.FileGlobals.ActCntrlTLA", 0, & ActCntrlTLA);
    Initializes the parameter reading UI
    hpanel = LoadPanelEx (0, "ReadParamUI.uir", READ_PARAM, __CVIUserHInst);
     
    TS_PropertyGetPropertyObject (seqContextCVI, NULL, "ThisContext.FileGlobals.ParamIDs", 0, & paramids);
    TS_PropertyGetNumElements (paramids, NULL, & numParams);
     
    for (count = 0; count)< numparams;="">
    {
         TS_PropertyGetValStringByOffset (County of paramids, NULL, 0, &temp);)
    strcpy (param, Temp);
    InsertListItem (hpanel, READ_PARAM_PARAMETERS, count, param, count);
    }

    Build a string them of active controller
    strcat (activecntlr, ActCntrlTLA);
    SetCtrlVal (hpanel, READ_PARAM_ACTIVETLA, activecntlr);
     
    TS_PropertyGetValString (seqContextCVI, NULL, "ThisContext.Step.ConfigProperties.ParameterID", 0, &temp);)
    strcpy (param, Temp);
     for (count = 0; count)< numparams;="">
    {
    GetLabelFromIndex (hpanel, READ_PARAM_PARAMETERS, count, temp);
    strcpy (indexParam, Temp);
    If (strcmp (indexParam, param) == 0)
    {
    SetCtrlIndex (hpanel, READ_PARAM_PARAMETERS, count);
    GoTo done;
    }
    }
    Fact:
     
    The display panel and run the user interface
    Does not return until that of RunUserInterface until the
    you press the Finish"" button.
    DisplayPanel (hpanel);
    Run = RunUserInterface ();
    Get the index of the selected parameter
    If (run<>
    {
    GetCtrlIndex (hpanel, READ_PARAM_PARAMETERS, &index);)
    GetLabelFromIndex (hpanel, READ_PARAM_PARAMETERS, index, param);
    TS_PropertySetValString(seqContextCVI,,"ThisContext.Step.ConfigProperties.ParameterID",0,param);
    }
     
    Output:
    / * Release resources and return * /.
    DiscardPanel (hpanel);
    TS_PropertyGetPropertyObject (seqContextCVI, NULL, "ThisContext.RunState.SequenceFile", 0, & seqfileobj);
    TS_SeqFileAsPropertyObjectFile (seqfileobj, NULL, & propObjFile);
    TS_PropertyObjectFileIncChangeCount (propObjFile, NULL);
    If (& ActCntrlTLA)
    {
    CA_FreeMemory (ActCntrlTLA);
    }
    If (& temp)
    {
    CA_FreeMemory (temp);
    }
    If (& paramids)
    {
    CA_DiscardObjHandle (paramids);
    }
    CA_DiscardObjHandle (propObjFile);
    CA_DiscardObjHandle (seqfileobj);
     
    Error:
    }

    /*---------------------------------------------------------------------------*/
    / * Callback functions * /.
    /*---------------------------------------------------------------------------*/

    int CVICALLBACK Done(int panel, int control, int event, void *callbackData, int eventData1, int eventData2)
    {
    If (event is EVENT_COMMIT)
    {
    QuitUserInterface (0);
    }
    return 0;
    }

    int CVICALLBACK CLOSEPANEL(int panel, int control, int event, void *callbackData, int eventData1, int eventData2)
    {
    If (event is EVENT_COMMIT)
    {
    QuitUserInterface (1);
    }
    return 0;
    }

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------

    Thank you

    Josh

    The problem was with this line:

    GetLabelFromIndex (hpanel, READ_PARAM_PARAMETERS, count, temp);

    I shouldn't have been past at the time to write the label that I had previously used temp with functions of API of TS. Who should have caught before posting... but it's been a long day.

  • After update of firefox mobile, I found that the modified user interface, is there a way to push back on mobile?

    I decided to update my firefox for android fotvthe flash support, but when I did I found the interface changed, now I want to go back, but unlike in I can't find older program versions for the desktop version.
    also, I should mention the problem of text entry that showd this version where the cursor is at the beginning of the first line to the place where im typing.

    Hello

    It is not an option for the old user interface on the new version, but you can get older versions here:
    https://FTP.Mozilla.org/pub/mozilla.org/Mobile/releases/
    But, we don't recommend that you use the old version because they are insecure, so take that into account if you decide to restore.

    For the text of entry question, can you tell me the brand and model of your device and if you use a special keyboard on any?

    Thank you!
    Michelle

  • The interface of the AVI with the PC using LabWindows/CVI

    Hi friends,

    I have a vector Network Analyzer Keysight Technologies / Agilent Technologies N5230A. I want to run with the LabWindows/CVI to measure channel 40 GHz. I want to interface the AVI with the PC using LabWindows/CVI. It is really essential for the measures, and I have no experience in doing these things. Would you please direct me to the best, easy as possible of this work? I'm really conscious of the fact that and thank you for your time and concern.

    Mohamed

    I have a vector Network Analyzer Keysight Technologies / Agilent Technologies N5230A. I want to run it with the LabWindows/CVI and measure channel 40 GHz. I want to interface the AVI with the PC using LabWindows/CVI. It is really essential to me, and I have no experience in doing these things. Would you please direct me to the track better, easy and correct these work? I'm really conscious of the fact that and thank you for your time and concern.

    Mohamed

  • Impressive transformation slow due to the updating of the user interface

    Hello

    I feel a huge slow down in my test as engine

    I update the display after each test. It consists of a rather

    "simple table" with a subtle change of color and bold

    to indicate the failure or success of the test:

    I have also tried several things to determine what routine was

    make the program almost crawling like a snail, here's my

    results:

    No UI refresh: 0m48s (same as Teststand with no updates of the user interface)

    The discount but no page table switch: 1m06s

    Bay of refreshment and switch page: 1m26s

    There are 314 tests, up to 314 redraw and possibly

    switch page 314 to reposition the view. Which gives the

    following user interface refresh costs:

    Update of the table: 18 years/314 = 57ms (replacing just a single line, Center to top)

    Switch to page: 20 s/314 = 64ms (bottom right corner)

    Is this really the case? Is there a way to make the refresh of the user interface

    faster? Create two separate loops/threads, one to make

    the test, one for updating the UI asynchronously?

    I understood for an overall picture about different

    widgets, but here I'm 'just' display of channels...

    David Koch

    Well, multi-listbox control is a problem if your change causes access to the muliple property node. For each property node LabVIEW normally does a refresh of the user interface which is very quickly. Fortunately, there is a fairly easy way to fix this.

    Use a node of property for the current VI (just drop a property node and change its class type VI Server-> VI reference) to get the reference of the Panel. Then use another property node connected to your reference of the Panel and select update from the Panel to postpone. Set this value to true before your Listbox (and any other updated user interface) and set the value to false then.

  • User interface failure after MS windows update

    Just downloaded a new MS update 12/01/2011. He propted me to reboot, so I did and it seemed to be boot normally, but as soon as she was about to the login screen it came with an error message.

    "The application or DLL C:\Windows\system32\ODBC32.dll is not a valid windows image. Please check against your installation diskette. »

    With my only option is to click ok and get stuck in the same loop: "reboot, the error message, click ok, restart again at the beginning."

    I have a Linksys wireless device I've been using since I first got the computer 6 years ago and never had a problem before with it go to this special login screen instead of the usual login screen for Windows XP Professional.

    When I try to boot into 'safe mode', the same message appears, but if I close the message instead of click ok, another message appears: "the GT Gina.dll failed to load user interface dll. Please contact your adminastrator system (I'm admin) to replace the dll or the original dll... »

    Can someone help me with this problem, what can I do? I have inportant information on my 'C' drive then a complete reinstall of my OS is not an option, and I dare to talk about the irony that I was going to make a backup of that same information today, as I do once or twice a month.

    PLEASE HELP ME, SOMEONE, HELP!

    Since most of the people do not have a genuine XP bootable installation CD, think they might have a genuine XP bootable installation CD, not sure what type of CD that they have, or have only recovery type CD that came with their system.  To remove all doubt, I have instructions to make a CD bootable Recovery Console.

    If you have a SATA drive, sometimes the CD Recovery Console will not recognize your hard drive without some settings in the BIOS, but I would start with the bootable XP Recovery Console CD do you and see how it goes.  With SATA drives, sometimes it's beautiful, it is sometimes annoying.

    I also have in the next post will give you the instructions to create a bootable Hiren CD.  There a windowsy Office look and feel which is less intimidating than the Recovery Console command line interface.  Hiren does not seem that this issue be SATA (at least not for me) and you can always make your file replacement.

    I recommend yo do the CD and try them in a system that works just to see if they start very well, you know.  You do not have to 'do' anything, make sure that it starts, and you can navigate and see some files, then exit.

    If you have no XP bootable media (or aren't sure you have) create a bootable XP Recovery CD of Console and do not forget.

    This is not the same as recovery disks that may have come to a store to purchase the system.

    You can make a bootable Recovery Console CD by downloading an ISO file and burn it to a CD.

    The ISO bootable image file you need to download is called:

    xp_rec_con. ISO

    Download the ISO from here:

    http://www.mediafire.com/?ueyyzfymmig

    Use a new CD and this simple and free program to burn your ISO file and create your bootable CD:

    http://www.ImgBurn.com/

    Here are some instructions for ImgBurn:

    http://Forum.ImgBurn.com/index.php?showtopic=61

    It would be a good idea to test your bootable CD on a computer running.

    You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive.  These adjustments are made before Windows tries to load.  If you miss it, you will need to restart the system again.

    When you start on the CD, follow the instructions:

    Press any key to boot from CD...

    Installing Windows... going to pronounce.

    Press 'R' to enter the Recovery Console.

    Select the installation that you want to access (usually 1: C:\WINDOWS)

    You may be asked to enter the password (usually empty).

    You should be in the folder C:\WINDOWS.  It's the same as the

    C:\Windows folder that you see in Solution Explorer.

    The Recovery Console allows base as file commands: copy, rename, replace, delete, chkdsk, fixboot, fixmbr, cd, etc.

    For a list of the commands in the Recovery Console, type help at the command prompt.

    A good idea before you start things must first verify the integrity of your file system by using the chkdsk command.

    In the command prompt window, run the chkdsk command on the drive where Windows is installed to try to fix any problems on the afflicted player.

    Running chkdsk is fine, even if he finds no problem.  It won't hurt anything to run it.

    Assuming your boot drive is C, run the following command:

    CHKDSK C: /r

    Let chkdsk finish to correct the problems, he could find.

    It may take a long time for chkdsk complete or they seem to be "stuck".  Be patient.  If the HARD drive led blinks always, chkdsk is something.  Keep an eye on the amount of the percentage to be sure that it is still making progress.  It may even seem to go back sometime.

    You must run chkdsk/r again until it finds no error to correct.

    Remove the CD, and then type "exit" to exit the RC and restart the computer.

    You have not to set the BIOS to boot the disk HARD since the CD won't be.

    Do, or do not. There is no test.

    I decided to implement the points for a new puppy instead of a pony!

  • finish by updating the user interface...

    IM create screen with pagination... Load button to add more data, it is normal on os 6 and 7 os... but in the os 5 process completed... I haved create to update the user interface of the thread to invoke later...
    This is my code to call later:

    UiApplication.getUiApplication().invokeLater(
                                    new Runnable() {
                                        public void run() {
                                            // delete(hfmLoad);
                                            for (int i = 0; i < comp.length(); i++) {
                                                lowerScreen.add(list[i]);
                                                HorizontalFieldManager hfmBut = new HorizontalFieldManager(
                                                        Field.FIELD_RIGHT);
                                                hfmBut.setMargin(0, 5, 0, 0);
    
                                                hfmBut.add(but1[i]);
                                                lowerScreen.add(hfmBut);
    
                                                spasi = new SeparatorField() {
                                                    protected void paint(Graphics g) {
                                                        g.setColor(Color.GRAY);
                                                        int currentStipple = g
                                                                .getStipple();
    
                                                        try {
                                                            g
                                                                    .setStipple(0xAAAAAAAA); // Dotted
    
                                                            super.paint(g);
    
                                                        } finally {
    
                                                            g
                                                                    .setStipple(currentStipple);
                                                        }
                                                    }
                                                };
                                                spasi.setMargin(0, 5, 5, 5);
                                                lowerScreen.add(spasi);
                                                invalidate();
                                                //lowerScreen.add(new LabelField("Semangat",Field.FOCUSABLE));
                                            }
    
                                            hfmLoad
                                            .replace(_ourAnimation2, loadBut);
                                            invalidate();
    
                                        }
    

    any solution?

    None of the invalidate() method calls are needed in this code.

    For efficiency rather than to add the field individually, I recommend that you use the addAll method.  In your loop, create an array of fields to add, and then use addAll to add table.

    If you do these two things I think that your problem will be solved.

    But if not, can you please tell us exactly what are the messages you see when the process is complete.

  • How can I update the user interface controls in the UI thread

    Hi all

    I want to do a custom image to display this URL source support.

    I start a thread to ask the image of the network data, and then update the display of the image with the data, but I get the error:

    ApplicationPrivate::resourceManager: ERROR called from the thread of user QThread (0x81eeb8c) interface
    ApplicationPrivate::resourceManager: A user interface thread named method

    It's my code segment:

    class URLImageView: public CustomControl, public QThread
    {
    public:
        URLImageView();
    private:
        void run();
    
        ImageView* mImageView;
        Container* mRootContainer;
    };
    
    URLImageView::URLImageView()
    {
        mRootContainer = Container::create().background(Color::Gray).preferredSize(100,100);
        mImageView = ImageView::create().image(QUrl("asset:///button.png"));
    
        mRootContainer->add(mImageView);
        setRoot(mRootContainer);
        start();
    }
    
    void URLImageView::run()
    {
        //get data from network
        //...
        //...
                //create image from binary data        Image* image = new Image(pixelBuffer);
        mImageView->setImage(image);
    }
    

    I know that in the old BB OS (Java Platform), I can get the lock of event request like this UI:

    synchronized (Application.getEventLock())
    {
            // I can update UI control here
    }
    

    Is it same way to Cascades BB10 or what is the right way, if I want to update the user interface in the UI thread?

    Thank you

    This looks like what signals are useful for, when it is connected with the option QueuedConnection. I don't have a link for you, but I'm sure that you can get with this description.

  • need the location and update the user interface in each a second

    you will need to update the user interface by every second so that my application will not hold?

    What is the best way to implement?

    (in the PPH), it should look like this:
    void locationUpdate (long latitude, longitude long);

  • Update user interface for execution of the web service thread.

    I have a thread that calls a web service. This thread is run from a menu item

    public MenuItem _search = new MenuItem("Search", 10, 0){
        public void run(){
            // Code to show progress popup, either a screen or popupscreen
    
            // Start Thread
    
            // Hide popup
    
            // Navigate to page
            }
        };
    

    My code is as above!

    The thread runs and moves to the new page. The pop-up screen can't, why is this?

    Surely, I can update the user interface before starting the thread?

    How can I emplement a loading screen?

    I tried to use the locking of the event and invokelater (according to this doc) to call the UI updates but no luck?

    If you display the popup and then hide it quickly enough the BlackBerry framework don't will never paint it because painting is a low priority, always put last on the event queue. This does not change even if you use invokeLater (which is the right thing to do anyway) - unless you let the popup be for awhile before rejecting.

    The usual way to display the progress screen is to pass the handle (reference) for the popup that you create in the thread. This Thread can use then a few reminders of this popup screen to update and finally close.

    So "Hide popup" should not be in the your menu item run() method. If your 'navigate to the page' is based on the results of the background thread, remove run() of the item of menu as well.

    If you search the knowledge base for "sample"Please wait"screen", you will find an excellent example of such interaction:

    Example of screen 'Please Wait' - part 1

    Example of screen 'Please Wait' - part 2

    Example of screen 'Please Wait' - part 3

    Enjoy!

  • Need help with this code to update the user interface example

    I'm triying to understand the differences between the three methods to manage UI interactions.
    I'm really confused with these three terms when triying them figure out in a real case.
    Basically, I know that I should use invokeLater, invokeAndWat, or getEventLock() to avoid
    This exception: java.lang.illegalStateException: engine access UI without holding the lock on the event

    The code below illustrates the function of the invokeAndWait method, but if I replace it with
    invokeLater or getEventLock() the program will work exactly the same way.
    Could you please change the code to show the differences between the three
    methods of updating the user interface?

    / public final class HelloWorldMainScreen extends form {}

    private LabelField labelField;
    public HelloWorldMainScreen() {}
    labelField = new LabelField ("Hello World");
    Add (labelField);
    Thread MainScreenUpdaterThread = new MainScreenUpdaterThread (this);
    thread. Start();
    }

    {} public void appendLabelText (String text)
    labelField.setText(labelField.getText()+"\n"+text);
    }

    }

    SerializableAttribute public class MainScreenUpdaterThread extends Thread {}
    HelloWorldMainScreen screen;

    public MainScreenUpdaterThread (screen HelloWorldMainScreen) {}
    this.mainScreen = screen;
    }

    public void run() {}
    for (int i = 0; i)< 10;="" i++)="">
    try {}
    Thread.Sleep (5000);
    } catch (InterruptedException ex) {};
    UiApplication.getUiApplication () .invokeAndWait (new Runnable() {}
    public void run() {}
    mainScreen.appendLabelText ("Update");
    }
    });

    }
    }
    }

    These three concepts are very confusing for a lot from people so all explanatory source code
    describing their functions will be highly useful for everyone, I think.

    Thanks in advance!

    With respect to the effect, there is no difference between methods.  The difference is the way in which the result is achieved.  So we can't change the code to show you the difference.

    As we are unable to demonstrate the difference, you have to do with an explanation.  To understand the explanation, you'll need to understand the thread of events, so if you have not already, please consider this:

    http://supportforums.BlackBerry.com/T5/Java-development/what-is-the-event-thread/Ta-p/446865

    If the three options are differentiated by the processing order:

    (a) invokeLater executes the update on the thread of events.  The transformation takes place at a later stage and the code which is in order after the invokeLater will actually run before the code within the invokeLater.

    (b) invokeAndWait also manages the update on the thread of events, which means that all other events that await on the thread of events will be run before this code.  But any code after the invokeAndWait will not be executed.

    (c) the synchronized option, like invokeAndWait, runs the update of the UI before moving on to the following code.  The difference is that the code to run on the event Thread is not executed before code in the synchronized block.

    If this is meaningless, so that probably does not matter too much.  in general, you should use invokeLater, except if you need to update the user interface occur in the order with your background processing.  If so, use invokeAndWait. It has synced are very few occasions where you must use the block, and it should be very small updates to the user interface and you should understand the implications this could have on the wire events.

  • Error message: "logon user interface host windows stopped working. & configuration of updates fail

    Several days ago I started having the application error "windows logon UI host has stopped working".  This happens when I connect. and also on the update of windows, when they tried to configure windows update it says "failure configuration update of windows. Returning from the changes. and it restart the whole system again.

    For your information, I use windows 8. so help me solve this problem. TQ

    Hi ZakwanSalleh,

    Thank you for choosing Windows 8 and join us on our community.

    From your description, I understand that you get an error message during newspaper saying "logon user interface host windows stopped working" and after the update of Windows as "failure of windows update." Returning from the changes.

    We get the Windows log on error message if the computer is running out of memory. Then I suggest you perform these methods and check.

    Method 1:

    I suggest you perform a clean boot and remove all unnecessary programs installed on your computer.

    Clean boot: To help resolve the error and other messages, you can start Windows by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts. Here is the link for your reference perform the clean boot.

    http://support.Microsoft.com/kb/929135

    Note: Please go through step 3 KB to maintain the computer to a normal startup after you resolve the issue.

    Method 2:

    I also suggest you to run a sfcscan and check.

    The sfc/scannow command. analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions. When the analysis is complete, the System File Checker tool indicates whether integrity violations were found. If integrity violations are detected, the System File Checker tool allows to challenge violations of integrity

    Follow these steps to run sfcscan.

    a. press Windows + X keys and click / tap on (Admin) command prompt.

    b. in the elevated command prompt, type sfc/scannow, and then press ENTER.

    NOTE: It can take some time to finish the race.

    For the error "failed windows update Setup. Revenant changes"I suggest you follow the steps in the article and check. Here is the link for your reference.

    Error: Failed to setup of the Windows updates. Restoration of the changes. Do not turn off your computer when you try to install Windows updates

    http://support.Microsoft.com/kb/949358#method3

    It will be useful. For other related issues in Windows area it always welcome in our community.

Maybe you are looking for