Changing the color property node of an indicator based on a certain condition

An upper level VI sends a set of conditions to a VI that SHOULD change the color of the indicators based on a set of t/f cases. However, the color of the indicators is changing in the lower level VI but not in the VI that is doing the calling. I am not using an while loops, just case statements. Help?!
Attachments:
status_reponse_coloring.vi ‏240 KB
upper_level.vi ‏33 KB

What you need to do is get a reference to the upper level VI control that you want to change to colour of. I have edited your VIs that you included to show how I passed the references to the controls into the subVI. The subVI can then change the colours, values, labels, etc. of the controls and changes are immediate.
Hope this is what you're looking for.
Rob
Attachments:
upper_level.vi ‏24 KB
status_reponse_coloring.vi ‏247 KB

Similar Messages

  • Dynamically changing the color of nodes in a JTree

    I have created a JTree and want to dynamically change the color of some of the TreeNodes as my program runs. The JTree is displayed in a JPanel. There is an algorithm built into which identifies the nodes whose color I need to change. No user actions is performed (everythign is internal to the program).
    It seems that in the TreeCellRender only kicks in when the tree is first displayed. How do I get it to re-render the tree when the TreeModel changes? It seems that the Listeners are only looking for external user interactions.
    Any help would be greatly appreciated.
    Thanks!

    I think I was a bit too vague in my question. Let me try again...
    I have changed an attribute in a node in a JTree. This attribute is changed after the tree was initially rendered, but while the program is still running. I want to tell the TreeCellRenderer to look again at this node since that attribute that was changed will effect how the node should be renderered. I tried using the nodeChanged() method, but it did not work (the colot of the node did not change). Any advise how I can do this?
    Thanks!

  • How do I change the color of a circle in PSCS3

    I have this circle that has what I can only describe as a gradient fill to it, and I want to change its color.
    The task seems simple enough however for the life of me I can't figure out how to do it. In Fireworks it would be as simple as changing the color property. I have to imagine Photoshop CS3 has some sort of equivalent command but I just can't find it.
    I have tried applying a cover overlay effect but that is more of a work-around than a proper solution. If one of you guru's could tell me the correct way to do this I would really appreciate it.
    The .psd file is attached.
    Thanks in advance.
    Here is a capture of the circle I am talking about.

    Zeno,
    I appreciate your response but that doesn't seem to get the job done for me for two reasons.
    1) I can't seem to specify an exact color (say Pantone: 394C). All I have are sliders to adjust and I need to choose a specific color for printing.
    2) Changing the Hue/Saturation still reveals the underlying color creating a halo effect.
    Here is an example of that halo effect.
    Any other ideas or suggestions would be appreciated.

  • How can I change the precision of a numeric array indicator using property nodes ?

    I want to change the precision of a numeric array indicator programatically using property nodes. I tried to see all the array properties but I couldn't find it. URGENT !!!

    If you want to change the precision of an element in an array you must first get the reference to the array element. Then raise the reference to the more specific class of a digital numeric. Use a property node connected to that reference to set the precision. See the attached vi for an example.
    Brian
    Attachments:
    ArrayElementPrec.vi ‏27 KB

  • Can I change the color properties of an indicator in a cluster?

    I have a cluster that has three boolean indicators in it. I would like to have an initial state (color) they are in at the beginning of my test. Is there a way to set color properties of a boolean indicator that is inside a cluster? Thanks in advance for any help.
    Troy
    Solved!
    Go to Solution.

    Hi Troy,
    I just created a simple application in which I can change the color of one of my boolean indicators on the fly. You'll find it attached to this message.
    It's quite simple to do:
    When you've created both clusters in the front panel, right click on the indicator you want to change the color of.
    Select the option "Create"
    And than select the option "Property Node"
    Now you can ad whatever property to the boolean indicator you want.
    Hope this will help you any further with your program!
    Best regards,
    Peter S
    Attachments:
    change boolean color in cluster.vi ‏9 KB

  • May I know how to change the color of texts inside the indicator box?

    Can anyone tell me how to change the color of texts inside the indicator box? I have tried to use property node but not really know how it functions.
    In fact, I am writing a program for which the number inside indicator on front panel will show red color if the measured value can't reach the requirement. I am using LabView 6.1 Professional
    Thank You for your attention!!!!!!

    Simply use a property node with "NumText.TextColor" and wire the correct color depending on your test result.
    The attached simple example (LV 6.1) lets you change it from the front panel. In your case, you would use your test output instead of a FP switch, of course. Message Edited by altenbach on 05-25-2005 09:05 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    TextColor.vi ‏18 KB

  • How do you change the colors of individual cells within a 2D array?

    How do you change the colors of individual cells within a 2D array of numeric indicators?
    I want the VI to check a data value and if it is failing, white out a square at a specific index coordinate.  I have it working with color boxes, but I'm not sure how to use the property node function, to change the color of individual cells, by coordinates.
    I have attached the VI using color boxes. If you run the VI, the box corresponding to the Step control should turn white.
    I want to do the same thing, using numeric indicator boxes inside the array.
    Thanks for any suggestions...
    Attachments:
    Fill DME matrix.vi ‏95 KB

    Get rid of all these sequences! That's just bad form.
    Your code has a few logical problems. Why do you create a boolean array if you later only look at the last element (Yes, the FOR loop does nothing useful, except in the last iteration because your outputs are not indexing. All other iterations are useless, you only get the result of the last array element. My guess is that you want to color the index white if at least one of the numbers is out if range. Right?
    It is an absolute nightmare to manage all your numeric labels. Just read them from a 2D array. Now you can simply find the index of the matched elements and don't have to spend hours editing case structure conditions.
    Attached is a simple example how you would do what I meant (LV7.1). Modify as needed.
    Message Edited by altenbach on 04-04-2006 02:04 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Fill_2DME_matrixMOD.vi ‏70 KB

  • What is the best way to specify the color of a control or indicator?

    What is the best way to command the color of a control or indicator? 
    Can color be programmed within the code?  If so, which versions of LV have this feature?
    Thanks,
    Jeff
    Jeffrey Bledsoe
    Electrical Engineer

    You can change the color of controls and indicators by using the 'color' parameter in a property node.  I believe this has always been possible in LabVIEW.  (At least back to Ver. 4)
    Here is a little example (LV7.1):
    Using LabVIEW: 7.1.1, 8.5.1 & 2013
    Attachments:
    control colors.vi ‏21 KB

  • How can I change the color of plot in a waveform chart and graph?

    There are 4 plots in a waveform chart, from plot0 to plot3, and I want to chang the color of plots dynamicly up to my needs when the VI is running.
    For example, as show in the picture, i want to set the plot0 as RED, and plot1 is BLUE, plot2 is YELLOW, plot3 is GRAY.
    If there is only one plot, i can change it's color, however when there are more than one plot, it fail.
    How can I do it?
    Thanks
    Attachments:
    waveform.JPG ‏61 KB

    Hello MilkyStone,
    first you have to set the active plot, then change its color (or other properties). All that is done using property nodes.
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can i change the color of a blinking button?

    Dear all,
    how can i change the color of a blinking button with property nodes, when the button changes from "normal" state to blinking state? I can change the color of the normal state, but how can I change the color when the button is in blinking state?
    thanks

    jus an example
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    Blinking_Indicator_2003.vi ‏27 KB

  • Programatically changing the color of buttons on LV OI

    Hi,
    I've modified the sample Operator Interface shipped with TestStand.
    Buttons are linked to subsequences, so when a button is pushed a subsequence is running (boolean buttons).
    What I would like to achieve is that, once a subsequence was called and the result was OK (pass) then the color of the button should change to green.
    If the subsequence is failed then the button should change to red.
    Thanks for any suggestions in advance.
    Solved!
    Go to Solution.

    Hi,
    You can find an example in Example Finder: "Property Nodes.vi" . It shows how you can change any properties for an object from your program.
    You can find more examples on zone.ni.com, like these:
    - Using Property Nodes to Change the Color of a Slide Bar https://decibel.ni.com/content/docs/DOC-2133
    - Programatically Change the Color and Visibility of a Boolean using Property Nodes https://decibel.ni.com/content/docs/DOC-16569
    Regards,
    Peter Vago
    AE Hungary

  • I am unable to change the color of text in an email I replay to or compose. I am on 31.6.0 release of Thunderbird.

    When I receive, reply or compose email. I no longer am able to see or change the color of text. I select to change the text from black to Red (or any other color) and the text just stays black, The color seletor box will show the last select color, but never actually changes the text color in an email. Also in received email, when the sender has indicated their replies to me are in another color, All the text only appears as black. I never had this problem in the past, not sure what has happened. I did restart Thunderbird with add-ons disabled and this did not change the problem.

    Hello, maybe the question need to move by a moderator to thunderbird support ?
    https://support.mozilla.org/en-US/questions/thunderbird?owner=all
    thank you
    [moderator note: question thread has been moved from Firefox queue to Thunderbird queue]

  • LineChart and -fx-text-fill issue: how do I change the color of the labels

    Hello everyone,
    I'm currently facing an issue when I'm trying to style my LineChart with some CSS. Indeed I would like to change the color of the labels of my xAxis (CategoryAxis) and yAxis (NumberAxis) but it's not working.
    In my FXML file I tried to use the style attribute on my LineChart tag using: <LineChart style="-fx-text-fill: white"> with no result, the text remains black (even for the title of my chart). In order to know if the style attribute is well parsed I changed it to: style="-fx-background-color: red; -fx-text-fill: white;". The background is becoming red but the text still remains black.
    Finally I tried to define a stylesheet in my controller class with the same properties (red background and white text). My stylesheet is this one:
    .chart {
        -fx-text-fill: white;
        -fx-background-color: red;
    }In my controller I do the following line in order to load my CSS file:
    this.chart.getStylesheets().add(getClass().getResource("statistics-style.css").toExternalForm());Even with this option the text remains white, while the background becomes red.
    What I also tried is to put the -fx-text-file CSS property directly on my axises, but again it seems it is ignored.
    I followed the steps described in Figure 8-2 of this site: http://docs.oracle.com/javafx/2/charts/css-styles.htm
    Does anybody have an idea or encountered this issue?
    Thank you very much,
    Thierry.
    PS: I'm using JFX 2.1 on MacOS X
    Edited by: twasyl on May 8, 2012 7:57 AM
    Edited by: twasyl on May 8, 2012 7:59 AM

    Hi,
    I figured a solution out to solve my problem. Currently in the documentation it is said to redefine the .chart CSS class in order to change the color of the title and labels text. But this is not working. Strangely the following code changes the font-size of both title and labels but ignores the -fx-text-fill property:
    .chart {
      -fx-font-size: 20pt;
      -fx-text-fill: white;
    }In order to change the color of the title I override the .chart-title CSS class:
    .chart-title {
      -fx-text-fill: white;
    }And for the labels:
    .axis-label {
      -fx-text-fill: white;
    }Well I don't know if there still is a bug on the .chart CSS class or maybe that behavior is expected.

  • How can i change the color of the graph in agreement of the program's condition

    Hi,
    I am using labview 5.1 in my graduation's project final. (sorry by my english, but i am ina hurry)
    How can i change the color of the graph in agreement of the program's condition?
    I am developing a VI to control the temperature of termistors,but i have another sensor too.
    In a graph i have the situation of the termistors,but i want to change the color of the graph when the sensor is active.
    Thanks a lot
    Rafael Wajnsztajn - Brasil

    To change the color of the line itself, you can use the attribute Plot>>Plot Color.
    To change the color of the points, you can use the attribute Cursor>>Cursor Color.
    To select the color, you should have a color box constant inside the Numeric>>Additional Numeric Constants palette.
    This is all in LV 7.0. I'm not sure how it similar it is in 5.1.
    One important thing is to place the attribute node inside a case structure which will execute only when your condition has been filled.
    If this didn't help you, I suggest you post the relevant piece of code, or at least an image of it (no BMPs, please).
    Try to take over the world!

  • Assets panel styles, can i change the color of a style to be an exact color?

    Assets panel > styles, can i change the color of a style
    to be an exact color? for example, if i want to create a navbar
    with the black and gray glass affect style, but i want to change
    the color but keep the same style of shading. each style in the
    assets panel has a default color, but i want to change the color
    and keep the style. i did change the color a little bit by
    adjusting the hue and saturation, but i can't seem to get an exact
    match of the color i am trying to duplicate. any help is greatly
    appreciated thanks

    When a style is applied to any object, the Properties panel
    at the bottom will reflect the attributes which are editable in
    that applied style. The properties which can be edited are fill and
    stroke colors also apart from adjusting the Hue and Saturation.
    Gradient colors can be modified by changing the fill color.
    The nodes in the gradient will change the color from blue to black
    or any other intended color of change. If you know the color you
    can either enter it as a 6 digit value or you can pick a color from
    an existing object.
    Hope it helps. Let me know I am missing you query
    completely.

Maybe you are looking for

  • My External HDD is not recognized on OSX 10.7.5

    Hi There, I have a Western Digital My Passport external HDD 1TB. I have been using it on both Mac OS X and Windows, as that's how I formatted it originally. Today, my Macbook running 10.7.5 is not recognising the external drive. When I plug the drive

  • Which Macbook Pro is better for me?

    I bought the 13" version with the 2.4 GHz i5 processor.  I know that I definitely don't want anything bigger, because I prefer smaller laptops.  Now I'm kind of having doubts, though - should I have gone for the higher-end model of the 13"? Is the 2.

  • Samsung 206BW can't display 1680X1050

    Just got my macbook in these few days, however, I found my Samsung 206BW LCD display distorted image when I tried to connect my macbook with a mini-DVI -> DVI cable. (actually, this monitor can support up to 1680X1050 and it works when I connected it

  • How To make Folders For Apps?

    I'm a newbie convert to the iPhone, and can't figure out if I can make Folders for my Apps. I'd like to keep similar apps together without having to search through to locate any specific app. Any help would be appreciated!

  • Adjusting table width in report

    Hi Is there an attribute which I can set to adjust the width of my tables or one of its columns? I have generated a report using IPMSG_USER_TABLE_FROM_SQL element. The plugin guide has no reference on this, but I noticed couple of reports under Repor