"Bug" with linear meter

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
danielN
Posts: 3
Joined: Tue Jun 16, 2015 5:16 am

"Bug" with linear meter

Post by danielN »

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

AMitchneck
Posts: 137
Joined: Mon Jun 11, 2012 2:10 pm

Re: "Bug" with linear meter

Post by AMitchneck »

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

danielN
Posts: 3
Joined: Tue Jun 16, 2015 5:16 am

Re: "Bug" with linear meter

Post by danielN »

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

Transistor
Posts: 25
Joined: Sat Jul 04, 2015 6:13 am

Re: "Bug" with linear meter

Post by Transistor »

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.

danielN
Posts: 3
Joined: Tue Jun 16, 2015 5:16 am

Re: "Bug" with linear meter

Post by danielN »

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 :D

Post Reply