Is it possible to change color of slider on different values?

I'm trying to set up an instrument that receives data from a sensor. My idea is to show a sliders with the values read and accordingly  represent acceptable levels in one color and whatever is above it on a different color (lets say green and red).
Any ideas would be appreciated.

You're going to have to use a Property Node for the slider to change it's color.
The attached VI shows a simple example of how to do this.
Right click on the indicator and select 'Create>Property Node'.
Right click on the property node and select, 'Change to Write'.
Right click on the node again and select 'Properties>Fill Color' (or other property you want to change).
Create the logic to watch for the value over limit.
You do have to be careful using property nodes. They are very useful,
but they also have a performance hit on your application. You should
construct a way to only write to the node when you need to change
something. Constantly writting the same value to the node (as my quick
example is doing ) is not good programming practice.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Attachments:
Change Slide Color.vi ‏23 KB

Similar Messages

  • Possible to change color depth for Leopard's VNC server?

    I think it is very nice to include vnc server right into Leopard. But one problem, it seems it will only accept connection from clients when it is set to use full colors. This is painfully slow over WAN, any way to change the requirement from the server end?

    Possible to change color depth for Leopard's VNC server?
    Yes you can modify your screen sharing application so that you can adjust the colour depth. However you need to issue a command in the terminal to get this to work.
    http://www.macworld.com/article/131094/2007/12/screensharepower.html

  • Is it possible to change what the "Slide to Unlock" says? I was told you could personalize it to say whatever you want.

    Is it possible to change what the "slide to unlock" says? I was told you could personalize it to say whatever you want.

    yes you can change is there are some free and some paid apps in the apps strore search them and you will find then
    <Edited By Host>

  • Adobe Acrobat Pro: Possible to change color of drawn lines / polygons? How?

    In working with Adobe Acrobat Pro --editing PDFs, is it possible to change the color of lines and polygons that are under the comments section. I would like to have lines and polygons of 3 maybe 4 different colors on the thing that I am working on..  Is this possible?  How?

    Press Ctrl+E to open the Properties bar and you'll be able to change the
    color of the comments you're creating.

  • Possible to change color of text in a text layer?

    Hi There,
    Is it possible to change the color value of a text layer via ExtendScript?  I scanned the documentation, but didn't immediately notice anything that would let me get to that property.  Is it possible?  If not, are there any workarounds?
    Thanks,
    Arie

    It's in the AE CS6 scripting guide:
    http://blogs.adobe.com/aftereffects/files/2012/06/After-Effects-CS6-Scripting-Guide.pdf?fi le=2012/06/After-Effects-CS6-Scripting-Guide.pdf
    Dan

  • Is it possible to change  color on the line strip/code view in CS6?

    Hello -
    I did some research on this and cant seem to see if this can be done - I was hoping to change the color of the blue line menu on the code view screen.
    Eric

    I take it you're referring to that vertical line in the left hand side of Code View? I don't think it's possible to change the color.  If you disable line numbers (#), it's a bit less noticeable.
    Nancy O.

  • Possible to change colors of mouse cursor?

    I was wondering if it was possible to change the color of the mouse cursor. With out the use of a program/haxie.
    Is there a particular file/preference I can edit, some command line for teminal?
    Thanks in advance
    nerd2

    Might try looking here for WebKit ones...
    /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framew ork/Versions/A/Resources/<anything>Cursor.png
    Double click for Some info...
    /System/Library/Frameworks/Tk.framework/Versions/8.4/Resources/Documentation/Ref erence/Tk/TkLib/GetCursor.htm
    Not sure what these cursors are for...
    /Volumes/TigerOS9/System/Library/Frameworks/GLUT.framework/Versions/A/Resources/ <anything>Cursor.tiff
    "The default cursor and the wait cursor are stored here: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics. Default Cursor: $23556C - $23766C; Wait Cursor: $23766C - $23D66C"
    http://forums.macnn.com/90/mac-os-x/121657/osx-cursors-location-found/
    And what you didn't want...
    http://www.versiontracker.com/dyn/moreinfo/macosx/18336

  • Is it possible to change color of writing in Ical?

    For me the surface of Ical is very pale and I like to have the writing in black instead of white. Is that possible?

    Thanks Eric, thats correct but I missed to explain properly and please sorry in advance for my english - I am from Germany. I have no problem to do what you recommend but what I like to have is a black print and colored background in my different calendars. If I put the button after right click to black I do have black print letters but no background anymore. I think for this there is no option, am I right?

  • How can I get a table cell to change color if its below some value

    Hi everyone, I use JDeveloper with JHeadstart and just finished the tutorial using the predefined HR schema. I was wondering how would I go about making the color of a cell to change to red if it falls below 5. So for example if I was to measure the amount of printer cartridges we had in storage, and it falls to below 5, in the table that has the equipment the cell changes color to red?

    You better aks this question on the jdeveloper forum as it is not related to jheadstart.
    Once you know how to do this, this forum can help you woth keeping your page generatable using a custom template.
    See also the chapter on customizing generator output in the jheadstart developers guide.
    Steven davelaar,
    Jheadstart team.

  • Need to change color of one column's value depending on the other column

    Hi,
    i have a search form which displays two column values
    First column value's colour should be based on second column's value
    For example, if second column has values 'Active', 'Inactive' and 'Pending'
    If 'Active' , the first column value's color sholud be 'red'
    If 'inacitve, another color ....
    Thanks in advance,

    Hi!
    What we did was we added a column on the VO that returns kind of a css part (for example if a column value is 'Active' the value of this column should be "background-color:rgb(255,0,0);")
    Than you use something like this on your column:
    inlineStyle="#{row.StatusStyle}"where StatusStyle is the name of the column with "background-color:rgb(255,0,0);" value.
    The problem here can be that the background color doesn't cover the whole column but only the text in it (so if it is null, the color is default).
    If you want the whole column to be of this color you use something like this:
                                        <af:column ...>
                                          <afh:tableLayout ...>
                                            <afh:rowLayout ...>
                                              <afh:cellFormat inlineStyle="#{row.StatusStyle}" ...>
                                                <af:outputText ...>
                                                </af:outputText>
                                              </afh:cellFormat>
                                            </afh:rowLayout>
                                          </afh:tableLayout>
                                        </af:column>Basically you put another table layout inside a column instead just a outputText (or whatever control you use)
    Hope this is understandable and it helps :)
    It works for us.
    BB

  • How to change color of slider-thumb?

    Hi,
    I want to change the color of the slider in my gui.
    I tried it with the UIManager:
    public static void main(String[]args){
    //UIManager.put("Slider.thumb", Color.BLACK); //no effect
    UIManager.put("Slider.foreground", Color.BLACK);
    UIMangager.put("ScrollBar.thumb, Color.BLACK);
    }There was no problem with the scrollbar, but the slider only changed its color if clicked and only partially.
    thx for your time

    my best result:
    zoomSlider.setUI(new BasicSliderUI(zoomSlider) {
                   public void paint(Graphics g, JComponent c) {
                        super.paint(g, c);
                        Color save =
                                    zoomSlider.getBackground();
                        zoomSlider.setBackground(Color.BLUE);
                        paintThumb(g);
                        zoomSlider.setBackground(save);
              });but now i have problems with my listeners and other components.

  • Presenter 10 Changes Colors to slides in PowerPoint Deck upon Publication

    Using Presenter 10 with PowerPoint 2007.  When I preview PowerPoint slides in Presenter all looks great, color and builds are fine.  When I publish the slides as SWF and/or HTML the fill colors and background colors change on many of my slides.  The change is made to the published material as well as the original PowerPoint slides.  Some of the changes made are so bad that the presentation becomes not usable for the audience.  I go through the process of changing the colors back to the original, re-synching the slide since when you ungroup to redo the colors you loose the animations.  Some of animations are very complex so this takes much time and is incredibly frustrating.
    My questions are as follows:
    1. Has anyone run into Presenter 10 changing fill and background colors to published material and their slide deck?
    2. What is the fix or work-around that you used to overcome.
    Thank you for your help.

    Hi Monica,
    Please package the presentation and mail me so that i can have a better look..
    mail id:[email protected]
    Thanks
    Sidhartha

  • Menu Bar; possible to change color of Apple icon?

    I know, I'm old fashioned, it has taken me until summer 2010 to install Snow 10.6.4. I still yearn for some things from the 9.2.2 days & Tiger times & I still love my 6800 & SE 30. I
    In those earlier days, the Apple icon was a rainbow, then in Tiger it changed to translucent blue, now, it is ugly black.
    Anyone know of a little app to change the color of the Apple Icon?
    Thanks, so much.

    blueC, I think it's dark because SL makes the menubar grey, but there are tweaks available that make it white. And since you want to go back to System 9, you'll want a white menubar anyway
    Maybe Sig Software will make the dark icon lighter if you ask them. I've always found them very responsive.
    OK so the icon's a little dark but look at what else you can do with Classic Menu !!

  • I created thirty pages using ipages and my web manager is having difficulty placing them on my website, some change color, some slide off the screen.  Is there a place for problem solving for ipages and website?

    Hi, I thoroughly enjoy the ipage program and prefer it to the similar one offered by Word.  But my web manager is having countless difficulties.  I converted everything to PDF's for him but several of the ipages are loading with a different backround color.  He says he has to meta tag each page since this cannot happen automatically.  On my Mac, the pages are loading after the navigation bar is selected, and it takes about three to four seconds.  On my iphone, however, each page takes at least eight seconds to load and then it slides right off the screen before it can be read.  I really want to continue using ipages to update my website but I am a rookie and do not understand why each ipage cannot simply open when someone goes to my website.  It would be great to do away with the loading of each page and I would like to also minimize any of my margins.  Thanks for any help on this strange matter.  Mary

    Converting pages to pdf is not the usual way make a website.  You may want to try some other app where you can directly create the html which is the customary format for the web.

  • Is it possible to change color of some selective item of Combo...

    Hi,
      Is it possible by SDK to hide / change some selective items of System`s Combo Box of any System Form.
    Regards,
    Ganesh

    Hi,
      Why SDK do not allow to do some major canges to Form Combo Box ?
      Regards,
    Ganesh

Maybe you are looking for