Programatically changing the color of the buttons on LV OI

Hello

I modified the sample operator interface supplied with TestStand.

Buttons are linked to subsequences, so when a button is pressed a sous-suite is running (Boolean buttons).

I want to make is that, once a sous-suite was called and the result was OK (pass), then the color of the button should going green.

If the subsequence is down while the button should turn red.

Thanks for your suggestions in advance.

Hello

You can find an example in the Finder of the example: 'property Nodes.vi ". It shows how you can change all properties of an object in your program.

You can find more on zone.ni.com, like these examples:

-L' use of nodes property to change the color of a bar sliding https://decibel.ni.com/content/docs/DOC-2133

-Programatically change the color and visibility of a Boolean value by using property https://decibel.ni.com/content/docs/DOC-16569 nodes

Kind regards

Tags: NI Software

Similar Questions

  • OAF Page expand to change the button action

    Hello

    We have a standard page of the OPS in iProcurement, where there are a standard change request button, which redirects to another standard page. We want to change the button action to call another custom OAF page. Please let me know how to do the same.

    Attached screenshot for reference

    Follow the steps below to create a button through customization.

    1. click on customize page where you want to create an element.

    2. find the area where you want to create

    3. click on Create icon, which opens a new window.

    4. Select the style of the item as button and give the values for the element.

    Browse link below

    Oracle concepts for you: Add a button to a Page of the OFA

    Also paste the error if you get none after following steps above.

    BR, FLS

  • Change of color of a button according to the data of a text element

    Hi all

    I have the 'detail' table, there for example (name, job, and notes).

    I have a block in my form with these three columns as elements, but the first two columns is on the "main_canvas".

    and the third is on another canvas.

    -There is a button next to each name.

    -When I click the button I should display the 'notes' on the other canvas element and view the data in this document, if there.

    what I want is

    If the button when I click on it it should display data in the element of "notes", the color of the button should be green.

    If the button when I click on it it does not display the data in the element of "notes", the color of the button should be blue.

    How to do?

    Hello newbi_egy,

    kindly, you can check the link below
    change the background of the button

    You can do this by making first button is emblematic and pay attention, you will miss your label
    Check the value of the notes and once - new - Record-Instance Trigger
    something like that

    If: MyBlock.Notes is null then

    set_item_property('AAA.) P', background_color, 'r200g00b0');

    on the other

    set_item_property('AAA.) P', background_color, 'r100g050b060');

    end if;

  • Submit the State does not change the button in the Contact form

    the function of sending work (I tried pressing "enter key" and the message was sent), but the button is very static. It does not change color when turning or when you press on it and does not respond when you press to send the message. Any idea?

    You probably have an invisible element overlapping your button. Everything on the page do a select for hilite and make sure you have nothing running in the key. You can also go to the layers panel and be sure that your shape layers are above everything.

  • How to change the button 'Go '?

    Hi all

    I want to change the format of the Go button in the guests at my custom background color. In folder oracleBI that I couldn't find on the 'Go' JPEG image that we saw in the page guests. Where can I find this JPEG file?

    Thanks in advance
    Kart

    Jin
    create your own button and placed this one in

    OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\button_back_over.gif

    and restart OC4j and services...

    Thank you
    saichand.v

  • How to change the buttons on the back of menu bar to look like ff3?

    I love ff3 way of history-button or download looks more than ff 4 because it was more colorful. Well, it isn't that bad, but I tofit personas rotator personas and it is difficult to do what the button is especially when it is a dark character. Is there anyway to solve the problem or help about this stuff?

    Using a theme is the easiest way to replace the buttons.

  • Re: Satellite A300-1 MW: how to change the button to start the sonique player

    Hello

    I have a question.
    I want to change the option on one of the button control (this one with open windows media player) and it will open a Sonic player.
    I've read about change in winamp, but I can't do it in Sonic.

    Please help me!

    Hello

    Yes, I read this also on the Winamp.
    I tested and it s true that you can change the configuration of the key and he might start Winamp instead of WMP.

    But the fact is that these can be configured in the Winamp software.
    There is an option that allows the use of these buttons.

    I don t know the Sonic player, but I guess that it is not possible

  • Satellite U400-22n - how to change the button mute for Led lighting

    Hello

    I can't turn off lighting on shortcut keys. The shortcut key to disable the LED has decided to change himself to put on mute. Does anyone know how I can pass this mute button to turn off the lights, or simply how can I turn off?

    Thanks in advance,

    Andy

    Hello

    If you are using Vista, then you should have installed VAP (value added package).
    In Toshiba Assist-> optimize you will find the configuration of buttons of Toshiba utility.
    This utility allows you to configure the buttons again.

    You must choose your button and should point to the dimmer.exe file that is located in the folder C:\Program Files\Toshiba\TBS

    Assign the dimmer.exe to the light button and complete the configuration. This should help.

  • I want to change the button menu items menu blackberry

    In my blackberry app I want to erase the current option to menu point (Swith application, close, Select) and add new menu button menu options.

    I tried the below code but nothing is happening for me.

    if (blackberry.ui.menu.getMenuItems().length 0) {
          blackberry.ui.menu.clearMenuItems();
        }
        var item = new blackberry.ui.menu.MenuItem(false, 1, "Click Me", customMenuItemClick);
        blackberry.ui.menu.addMenuItem(item);
    
        function customMenuItemClick() {
          alert("user just clicked me");
        }
    

    I inserted ? in the config.xml file
    but no use.

    How to change the menu items

    I would consider removing those as bad practice of the user interface. They appear (as I know) in all the menus in all applications.

    If you use the command combined with separators feature, I think you will find that it is ok?

    I don't know how to remove these default items (did not seek either ;-)))

  • try to change the email address of the printer but do not have to change the button anywhere

    I just bought and installed an officejet 8600 and implemented on eprintcenter. It me with an e-mail address for the printer I want to change to something that I can remember. Have you looked online and saw that I need to click Edit next to my name, email address or printer but everywhere I look there is no button to change. Please can you help.

    Hello nads.

    To change the e-mail address of the printer, you will need to disable web services on control panel of the printer. Then re-enable web services and follow the process.

    Bravo!

  • AS3 code to change the button text

    Hello, I drew a simple button in Flash from the components Panel. I gave the button the name of the instance of btn_one. In as3 does anyone know the code how to change the text of a button when users click on it?  For example, I would that my button to switch the following send text. When you click to. I have tried different methods of code but it fails every time. Any advice would be appreciated. Thank you

    If it is a button component, you can use the label property to change the text of the label.

    btn_one.addEventListener (MouseEvent.CLICK, changeLabel);

    function changeLabel(evt:MouseEvent):void {}
    btn_one.label = 'send ';
    }

  • Changing the default setting to change the button panel.

    10 items, the default setting for the button of the Panel change is extended. I had contracted him who put in the tray Panel. It gave me a more narrow Panel tray and more space of the editor. After resetting the panels I can't find how new contract as if it was. Someone knows how to do this or have any ideas?

    When you have the broad provision on your photo, double-click the left edge first.  That will reduce the Panel in a semi-iconized State.  Then you can change the width I described.

    Ken

  • How to change the button label fontfamily

    Hello

    I want to change the fontfamily to a button. now, it would not be the problem, but the police (intaglio) have no bold... its just a different file name.

    normal: CopperplateGothicStd - 31BC.otf
    "BOLD": CopperplateGothicStd - 33BC.otf

    I read in the flex doku:
    Quote:
    ... or set the default font for the label of the button to match a font that you integrate.
  • Change the button enable / disable

    In a master detail form, I want to restrict the editing via the button option change for specific user. Is this possible and how?

    Yogesh

    Hello

    Ok

    Schema authorization and the status can be set to one as well

    BR, Jari

  • SOLVED: Cannot change the button text


    I have a text entry box that requires the user to enter a specific phone number. After you enter the correct phone number, they click on a search button to go to the next slide. For the text entry area, I have the option "Display button" selected. I want to change the text of the search, rather than submit, say, button, but nothing happens when I double-click on the button. No matter what happens when I click with the right button and select Properties.

    Using Captivate, I should be able to change the text of the button, but it won't let me. Any ideas?

    Apparently, it's still a "undocumented features" of Captivate. To resolve this problem, I deleted the original text entry box and then inserted a new. This time, using the same options, I was able to change the text of the button. Go figure.

Maybe you are looking for