Updating bar char color with changing temperature values

hello everyone. I am actually reading a temperature sensor and plotting the data as a bar chart. I am acquiring the data every second and present them in a bar chart. the challenge  is to show different color on the bar chart as the temperature goes from safe to dangerous.when the reading are safe the chart should be red, when fair the chart should be orange and when dangerous red.I am using Labview 2012.I need to get started as I am actually learning the software.
looking forward for hearing from you guys.
Yannstephen
Solved!
Go to Solution.

Using a range to define a set value is something that comes up fairly often. Below are two solutions that can apply to you. The first uses logic operators and will work as intended.
However there are downsides to consider: What happens if you decide to add more ranges that have different meanings? This solution does not scale well, and will become very cumbersome to maintain. The second solution addresses this issue by using a Case Structure. Note that the case structure only accepts integer values in the selector terminal. You can read up on the implemented workaround here.
Hope this helps!
-Nate
Nathan M.
Applications Engineer
National Instruments

Similar Messages

  • How do I get my display to display true RGB colors with their correct values?

    How do I get the values in the DigitalColor Meter to match up with the true values of the pixels? (see WolframAlpha)

    iOS: Device not recognized in iTunes for Mac OS X

  • Fill/stroke gradients from shape tool option bar: editing color stop/midpoint location values

    Hi!
    In PS6 beta 1 (20120305.m415), the new gradient editor available from the shape tool option bar, used to edit gradient for both fill and stroke, doesn't contain editable stops location percentage input fields.
    Those are available from the traditional gradient editor dialog box, for opacity and color stops and midpoints. They are quite handy to create gradient with some precise stops.
    Could you please enhance the new gradient editor and add either these two location fields, or at least, a tooltip which displays a stop/midpoint percentage value as we drag it?
    Thanks,
    el' ~

    If you click on the gradient bar it will bring up the full gradient editor.

  • Best way to update a PRA file with changes to P6 schedule?

    Hello,
    I've spent some time looking at user manuals and video tutorials to try and become familiar with how to use Primavera Risk Analysis. I come from an @RISK user background so there were some concepts that were a little different between the two applications.
    One thing of particular interest to my company is how to use PRA with a constantly evolving and updating P6 project schedule? I know there are ways to import/export user defined fields to store the min/most likely/max values for each task. I also know that the risk register can be imported/exported from Excel. My concern can perhaps be demonstrated by this example (based on my current understanding of PRA and P6)
    1. Start PRA and import a copy of a P6 schedule. This is not a "live" link but rather a copy made for use with PRA.
    2. Set-up the risk register, link to project tasks. Set-up activity min/most likely/max, assign to a distribution (triangle)
    3. Run Monte Carlo simulations, review results etc.
    4. At this point I could export the min/most likely/max durations back to P6 as user defined fields and I could update the duration in P6 with the most likely. I'm not sure what would happen with risk activities that created new project activities but I assume they would import as new tasks to P6?
    After going through steps 1-4, the P6 schedule might continue to evolve further with new tasks, new dependencies, new durations, etc. At some point, I may be asked again to perform another risk analysis on the project and here is where my question comes in: Do I have to start all over and import everything into a new PRA? I know that I could get the min/max most likely from P6 user defined fields, I know I could import the risk register from Excel but are there other things that I would lose by having to start over (for example, links between risks in the risk register and the tasks in the P6 schedule?) Or... is there a way to re-use an existing PRA file and update the P6 schedule while preserving the info (like risk register, etc.)?
    Thank you for your reply

    >
    This method works but is there an easier (faster) way to update another table with new data only?
    >
    Almost anything would be better than that slow-by-slow loop processing.
    You don't need a procedure you should just use MERGE for that. See the examples in the MERGE section of the SQL Language doc
    http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9016.htm
    MERGE INTO bonuses D
       USING (SELECT employee_id, salary, department_id FROM employees
       WHERE department_id = 80) S
       ON (D.employee_id = S.employee_id)
       WHEN MATCHED THEN UPDATE SET D.bonus = D.bonus + S.salary*.01
         DELETE WHERE (S.salary > 8000)
       WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
         VALUES (S.employee_id, S.salary*.01)
         WHERE (S.salary <= 8000);

  • How to update a versioned container with changes in the DB

    Hi,
    I've reverse engineered a database schema into a container, and then I versioned it as v1.0.
    Now, that schema has changed in the database, and I'd like to update the container with those changes, and version it as v2.0.
    What is the best way to do it?
    Is it posiible to capture only the changed or new items into the v1.0 container, and then version it as v2.0?
    Thanks

    Check the application in and then check it out
    This will take it to the next level of versioning.
    However the version will be like 1.1 and not 2.0.
    There is a way to make it 2.0 but I do not remember the steps.
    Once you check it out it will be identical to 1.0 but the version will be 1.1 and you can make your changes and the next time it is checked in and out it will be set to 1.2 etc.
    At this point I have to ask if versioning is realy what you want to do. Don't get me wrong Configuration managment is a great thing. However most people do not understand it or how to use it. And they usualy get themselves in trouble with it. So if you know what your doing with it then go for it.
    Hope this helps.
    Also once you version your repositry you cannot go back. You are versioned forever.
    Michael

  • Any BAPI or FM to use to update the Customer Address with change log?

    Hi, does anyone have used any BAPI or FM that will update the customer address (Central Address management fields) and the change will be logged in the change history of customer master? I have tried several FM that can update the fields but none of the change will show up in the change history of the customer master.
    So far, I have tried the following FM:
    ADDR_MAINTAIN_COMPLETE
    ADDR_UPDATE
    BDC is not acceptable due to high volume of data. However, the change log is also required.
    Please share any advice.
    Thank you,

    Hi Minami,
    for chenge address use FM : BAPI_BUPA_ADDRESS_CHANGE       (SAP BP, BAPI: Change Address)
    otherwise check with below FM ,for address related information
    BAPI_BUPA_ADDRESSES_GET              SAP BP, BAPI: Determine All Addresses
    BAPI_BUPA_ADDRESS_ADD                   SAP BP, BAPI: Add Address
    BAPI_BUPA_ADDRESS_CHANGE                 SAP BP, BAPI: Change Address
    BAPI_BUPA_ADDRESS_GETDETAIL             SAP BP, BAPI: Read Address
    BAPI_BUPA_ADDRESS_GET_NUMBERS    SAP BP, BAPI: Read Address Numbers
    BAPI_BUPA_ADDRESS_REMOVE                    SAP BP, BAPI: Delete Address
    Regards,
    Tutun

  • Varient table update with changes in sap table

    Hi,
    is there any way with which i can update a varient table with the new values in sap standar table.
    example can be, i created varient table T_TEST, its having 2 characterstic MAT_1 and MG_1,
    MAT_1 is key field and is is having material number from mara , MG_1 is material group.
    so can i update my varient table automaticaly each and every time a new material is created ?
    while going through SAP help i come across
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/23/0be7d831cb11d2909c0000e8a49aad/content.htm
    but its for transfering data from varient table to new database table , i want it other way round.
    please reply if you did it in past.
    Thanks
    Best Regards
    Edited by: Ritesh on Nov 4, 2010 10:00 PM

    technical teams got the ways to do it , closing thread.

  • Illustrator CS6, CC, "CC 2014" not honoring a 100% Cyan Spot Color Swatch change.

    Why does Illustrator CS6, CC, "CC 2014" not honor a "100% Cyan Spot Color Swatch" changing the % value in the Color Pallet.
    I create 3 different Spot Color Swatches of 100% Cyan, 100% Magenta and 100% Yellow in the Swatch pallet.
    Then I fill 3 different squares with one of each Swatch and put the Fill to 70% on all in the Color Pallet.
    Now I try to change each square back to 100% value in the Color Pallet by typing a number into the Percent Field.
    But the Cyan Spot Color does not honor the entry, the Yellow and Magenta are fine.
    Has anyone seen this behavior before, and what can be done to resolve it?
    Thanks,
    J

    I would report this as a bug, you can use the slider to set it to 100%, but not enter that value by  typing. Strange.
    Adobe - Feature Request/Bug Report Form

  • Update group of rows with sequence

    Hi guys,
    I have no idea how to do an update of a table with a sequence value... but i don't want to increment the sequence for each row.
    create sequence seq_num;
    create table upd_group(
    id number,
    group_code varchar2(5),
    seq_num number
    insert into upd_group values(1,'a',null);
    insert into upd_group values(2,'c',null);
    insert into upd_group values(3,'a',null);
    insert into upd_group values(4,'b',null);
    insert into upd_group values(5,'a',null);
    insert into upd_group values(6,'b',null);
    commit;
    select * from upd_group;
    --doesn't work
    update upd_group set seq_num = seq_num.nextval
    where group_code in (select distinct group_code from upd_group)the expected result would be
    all rows with group_code = 'a' would have N
    all rows with group_code = 'b' would have N+1
    all rows with group_code = 'c' would have N+2
    and so on....
    any idea how to do this?

    Thanks for posting sample data!
    If this is a one time shot, then analytics and MERGE might come to the rescue:
    SQL> select * from upd_group order by group_code;
            ID GROUP    SEQ_NUM
             1 a
             3 a
             5 a
             4 b
             6 b
             2 c
    6 rows selected.
    SQL> --
    SQL> --doesn't work
    SQL> --update upd_group set seq_num = seq_num.nextval
    SQL> --where group_code in (select distinct group_code from upd_group);
    SQL> --
    SQL> merge into upd_group a
      2  using ( select id
      3          ,      dense_rank() over (order by group_code) new_seq_num
      4          from   upd_group
      5         ) b
      6  on  (a.id = b.id)
      7  when matched then update set a.seq_num = b.new_seq_num;       
    6 rows merged.
    SQL> --
    SQL> select * from upd_group order by group_code;
            ID GROUP    SEQ_NUM
             1 a              1
             3 a              1
             5 a              1
             4 b              2
             6 b              2
             2 c              3
    6 rows selected.How a sequence could be able to take care of this in a query....that's interesting.
    Depending on your database version you might opt for a virtual column....(11g stuff)

  • Does anyone know if there is a way to change the colors with the new update

    Can anyone tell me how to change the colors on my IPhone with the new IOS update?

    Nope, this only changes it to black and magenta.  I wsh I could find it again, it's there I promise.. There is a whole list of colors, I changed it to red and want to see if black is better.  Just don't care for all the blue..

  • Color Balance Changed with Update

    I have some HD Test pattens that I use to calibrate my video projector with via my AppleTV and my Win7 computer. Both are connected to the projector via HDMI though a switcher unit. The Projector sences a different input when the swithcer is changed allowing me to set indivigual balance levels for the ATV or Computer.
    Unit the update the settings were very close between each unit. The Win7 machine has perfect color balance through Red Green and Blue filters. The ATV was never perfect but very close.
    Since the update, and here nothing has changed except the update, the ATV colors are well off running the same test signals. The RGB levels are out. I have tried each of the 3 signal feeds from the ATV in the settings menu, but nothing.
    The colors now seem to be too vibrant and look false. I can componsate for this in the projector, but why did it change?
    Has anyone else noticed this? Again all that changed was the update!!
    Nathan

    The closest I could getting it back to the same colors before the upgrade is changing it to the RGB Hi setting, and limiting the HDMI Color in my projector to Limited, then adjusting the Brightness very slightly. Everything now is much closer to the correct color balance through Blue test glasses. Still not as perfect as it was, or running off my Win7 machine.
    Nothing has changed in my setup apart from the ATV Update. Do they not check this stuff!!
    Nate

  • Isight videos keeps changing color tone and temperature

    When I try to record a movie with isight, the color temperature keeps changing and flashes from a warmer color to a cooler color. It never stays in one tone. Help!

    kaynen430 wrote:
    When I try to record a movie with isight, the color temperature keeps changing and flashes from a warmer color to a cooler color. It never stays in one tone. Help!
    Welcome to Discussions, kaynen430
    (0) The first thing to use on any iSight problem is http://support.apple.com/kb/HT2090
    For system wide problems, the reset suggested there often restores proper iSight functioning.
    If the problem is only with the _one app_ that you are now using to record video, reinstalling that app may help.
    However, if your iSight's color keeps changing in all Apple apps and in all user accounts you test, you may have a system software issue. You can test whether software will correct your problem by trying the following:
    (1) First, use Disk Utility to repair permissions.  Then download and apply the COMBO update for the Mac OS version that you use. You do not show which OS X version you use, but you can find it in the list returned by this search:
    http://support.apple.com/kb/index?page=search&product=&q=combo%20AND%20update
    Repair permissions again IMMEDIATELY after the restart that finishes the installation.
    Then test iSight again. (Repeat iSight Troubleshooting suggestions if necessary.)
    (2) If properly applying the Combo Update does not resolve your problem, you may have problems within the basic OS X software.
    To test that, reinstall your OS X, update to the latest OS X version you use by using the process in (1) above, and then check again for proper iSight function.
    (3) If you need to post back for more suggestions, it will be helpful if you also post the following:
      • OS X version (you may want to add this to your Profile in "My Settings" when logged in)
      • Which app and version you originally posted about
      • Whether your problem is EXACTLY the same in every app and user account you tested
      • Which of the suggestions already offered you have used
      • Anything new you learned while trying the suggestions above.
    (4) We will watch for your status update and offer specific suggestions based on the details in your reply.
    EZ Jim
    Mac Pro Quad Core (Early 2009) 2.93Ghz w/Mac OS X (10.6.2)  MacBook Pro (13 inch, Mid 2009) 2.26GHz (10.6.2)
    LED Cinema Display  G4 PowerBook 1.67GHz (10.4.11)  iBookSE 366MHz (10.3.9)  External iSight

  • BAPI_PO_CHANGE does not change LIMIT value for service PO with ref to IDOC

    Hi,
    I am trying to change the limit values for both ACCTASSCAT (K) and item cat (D ie service PO) with ref to message type PORDCH IDOC type PORDCH02, the IDoc is getting posted but the PO is not getting updated ie LIMIT value is not getting change and returning msg "No data changed".
    Could you please provide the way to change LIMIT value.
    Regards,
    Mojammil Khan

    Are you really sure that your IT_SCH has the same fields like POITEM?
    the delivery date and statistical delivery date are located in the schedule tab in ME23N and stored in the schedule table EKET, not in EKPO where the PO item data is stored.
    I think you should assign your IT_SCH to POSCHEDULE

  • Value for a characteristic changed with an other value in Query Design

    I want to change the value for a characteristic (Type) in Query Design (not the description, the value).
    In my cube I have these values:
    Customer *** Type
    22222********SmallCorp
    22223********SmallCorp
    22224********MedCorp
    The report should like:
    Customer *** Type
    22222********LEGALENTITIES
    22223********LEGALENTITIES
    22224********LEGALENTITIES
    Or only the "SmallCorp" value should be changed in LEGALENTITIES.
    How to do that?
    Thanks,
    Dragos

    You can write an exit to replace Type SmallCorp to LEGALENTITIES.
    But this will reflect in other queries too....
    Or If change in modelling is still an option, you can add one more Type 2 in the cube and update in the transformation with Constant =  LEGALENTITIES. Use the Type 2 in the queries.

  • Classic scenario: Update shopping cart with changes in backend PO?

    The Shopper would like to have visibility in their shopping cart (SRM 5.0, classic scenario) of changes made to the follow-on PO created in ECC6. Is it possible for the cart to be updated with changes made to the backend document, or would the customisation for this type of request be too complex?
    Any advice would be appreciated, thanks!

    Hi,
    Yes this report is reading the PO quantity and value and the history tab for follow-on documents such as GR or invoice.
    Thus the SC history is updated.
    Kind regards,
    Yann
    Message was edited by:
            Yann Bouillut

Maybe you are looking for