09-22-2010 06:14 PM
Is there a way to assign a global variable to the background color of a temp display? We would would like the background of the temp display to change as the actual temp approaches, is equal to and then rises above the setpoint temp.
Example: Display is green if act temp is +/- 2 degrees of setpoint, yellow if act temp is < two degrees lower than the setpoint, and red if the act temp is > two degrees higher than the setpoint.
Any thoughts?
Thanks,
Bill...
09-23-2010 02:01 AM
Bill,
a check what you needs:
The settings (screen shot with number 1) Trend display, Lower limit + colors for this are not enough for you.
You would like also dynamic set the background color for area with blue arrow and red arrow
And for the Layout the background color for area with green line
The red, blue, green color settings should be based on 3 new Actions for the module based on Global Variables which can take over the RGB values for the 3 backgrounds.
Is this what you needs?
Best regards,
MHa - DASYLab Software Development
09-23-2010 02:05 AM
Or would you like that the
- Color change for Upper and Lower
- Backgound colors
- Text colors
- Display elements
can be set via Global variables?
Best regards,
MHa - DASYLab Software Development
09-23-2010 09:41 AM
I have an idea that might work.
Use a Status Lamp configured to display bitmaps to be the background for the digital meter (the Link Text object worked best).
The status lamp has a relatively ignored feature that allows you to display a series of bitmaps, based on the input value. Unfortunately, the values cannot be global variables, which you need because the Setpoint may change.
So, to get around that, I set up a formula to test the temperature against the setpoint global variable, and then output a number (0, 5, 10) that reflected the state (below, in range, above). That's now a consistent value, and can be input into the Status Lamp.
See the attached. I've also attached my colored bitmaps. They need to be in the ..\Other\ folder. I zipped them with the correct folder location for Vista/Windows 7.
I found that the default settings for the layout caused the bitmap to cover the Link Text Digital Meter when it changed colors. I had to fiddle with settings and set up an Action module to ensure that the Digital Meter stayed on top. You'll need to look at the individual object settings for the Link Graph Status Lamp and the Link Text Digital Meter, as well as at the Action (which just does an update for both when the input value changes.