Hi
There is a "bug" with "built in" meter. If the minimum is less than 0 it starts rading from the minimum value. For example max:100, Min: -100 and tag value is 50. The indicator color will show from -100 -> 50.
Just upgraded to IX 2.20 and the same problem is there.
Regards Daniel N
"Bug" with linear meter
-
- Posts: 137
- Joined: Mon Jun 11, 2012 2:10 pm
Re: "Bug" with linear meter
The linear meter is designed to fill from minimum to value (with value in the range minimum to maximum). If you want to make the meter split at 0, you can overlay a second meter from -100 to 0 set as transparent with no scale. Set this second meter as ranged -100 to 0 with the background and indicator colors swapped.
Adam M.
Controls Engineer
FlexEnergy
Controls Engineer
FlexEnergy
Re: "Bug" with linear meter
Ok. Yeah, thats exactly what I did to solve the problem
But I can't think of any Application this can be practical. If I want to show -50 the bar graph shows from -100 -> -50......?
0 should be the start point of the graph.
Its either a bug or bad and unpractical design.
Daniel N
But I can't think of any Application this can be practical. If I want to show -50 the bar graph shows from -100 -> -50......?
0 should be the start point of the graph.
Its either a bug or bad and unpractical design.
Daniel N
-
- Posts: 25
- Joined: Sat Jul 04, 2015 6:13 am
Re: "Bug" with linear meter
Did you use Adam's trick of reversing the colours on the negative bar?
Negative bar - black on green background. -100 to 0.
==========|==========
Positive bar - green on black background. 0 to +100.
==========|==========
Both bars have the minimum value on the left.
Negative bar - black on green background. -100 to 0.
==========|==========
Positive bar - green on black background. 0 to +100.
==========|==========
Both bars have the minimum value on the left.
Re: "Bug" with linear meter
In fact I used one linear meter just to show the scale. On the upper part I uses a linear meter to show the 0->100. To show the 0-> -100 i used a rectangle (and connected the tag to the "size" under animations). This Works fine for me