# Level indicator issue

**URL:** <https://forum.inductiveautomation.com/t/level-indicator-issue/525>\
**Category:** Archived Topics\
**Created:** [February 1, 2008, 2:25pm UTC](https://forum.inductiveautomation.com/t/level-indicator-issue/525 "2008-02-01T14:25:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![timf](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@timf](https://forum.inductiveautomation.com/u/timf)\
**Post date:** [February 1, 2008, 2:25pm UTC](https://forum.inductiveautomation.com/t/level-indicator-issue/525/1 "2008-02-01T14:25:47Z")

</div>

On the Level Indicator component, if you bind the Capacity to a tag that changes frequently, eventually the component will stop responding and will no longer update the display.

I discovered this because I’m not using it as a level but as a ratio indicator. I guess I could use a normal rectangle for this purpose as a workaround.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [February 4, 2008, 6:13pm UTC](https://forum.inductiveautomation.com/t/level-indicator-issue/525/2 "2008-02-04T18:13:26Z")

</div>

Do you also have this tag bound to a numeric display, and does that display continue to update? If not, how have you come to the conclusion that it is the level indicator component that is no longer updating, and not the tag itself?

This sounds like a very serious issue, and may be related to a known bug that we are working on. What version of FactoryPMI are you using? Please call us next time this happens so that we can look at your system over GoToMeeting.

Thanks,

---

<div class="post-metadata">

**Author:** ![timf](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@timf](https://forum.inductiveautomation.com/u/timf)\
**Post date:** [February 4, 2008, 7:00pm UTC](https://forum.inductiveautomation.com/t/level-indicator-issue/525/3 "2008-02-04T19:00:27Z")

</div>

Yes it was bound to a numeric display, (both the capacity and the level.) I went ahead and used a rectangle instead though, since I already knew how to do that and because I figured that this wasn’t a typical usage scenario for a level indicator anyway. (Typically your average tank does not change its capacity very often.) The version is 3.1.4.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [February 4, 2008, 8:53pm UTC](https://forum.inductiveautomation.com/t/level-indicator-issue/525/4 "2008-02-04T20:53:46Z")

</div>

And the numeric display kept updating?

BTW - the level indicator shouldn’t care how it is being used with regards to the update rate of the tag.

---

<div class="post-metadata">

**Author:** ![timf](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@timf](https://forum.inductiveautomation.com/u/timf)\
**Post date:** [February 4, 2008, 9:01pm UTC](https://forum.inductiveautomation.com/t/level-indicator-issue/525/5 "2008-02-04T21:01:37Z")

</div>

Yes. We were using it to show a time-ratio between two tags containing seconds. They were string labels, because I had to first run the tags through a Jython script to format them in h:mm:ss format and return a string to display them. The labels displayed the tags fine, but the level indicator would stop updating after a bit, so I switched to the rectangle method instead.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [February 4, 2008, 11:02pm UTC](https://forum.inductiveautomation.com/t/level-indicator-issue/525/6 "2008-02-04T23:02:46Z")

</div>

Hmm, ok. Can you explain exactly how the numeric labels worked again? I’m not seeing how they ran through a Jython script - was it some sort of propertyChange script? FYI - an expression binding would have probably been easier for this.

---

<div class="post-metadata">

**Author:** ![timf](https://avatars.discourse-cdn.com/v4/letter/t/7cd45c/32.png) [@timf](https://forum.inductiveautomation.com/u/timf)\
**Post date:** [February 5, 2008, 1:26pm UTC](https://forum.inductiveautomation.com/t/level-indicator-issue/525/7 "2008-02-05T13:26:58Z")

</div>

Yes, that’s what it was. Here’s one:

[code]runScript( "app.fmt.timeStr( "

- {[]ExpectedTransferDuration}
- " )" )[/code]  
That returns a formatted string, so it’s bound to the Text property in a string label.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [February 5, 2008, 4:00pm UTC](https://forum.inductiveautomation.com/t/level-indicator-issue/525/8 "2008-02-05T16:00:50Z")

</div>

Ah, I see. FYI, there is a dateFormat expression that you can use without having to use the runScript() expression, but no matter…

Anyhow, we’ve digressed. We’re looking into why the level indicator would have stopped updating.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [February 28, 2008, 7:29pm UTC](https://forum.inductiveautomation.com/t/level-indicator-issue/525/9 "2008-02-28T19:29:07Z")

</div>

Update: as of yet, we’ve been unable to replicate this problem. Any more info would be useful.
