# Prevent "Uncertain, showing last value"

**URL:** <https://forum.inductiveautomation.com/t/prevent-uncertain-showing-last-value/18803>\
**Category:** Ignition\
**Created:** [July 12, 2018, 2:26pm UTC](https://forum.inductiveautomation.com/t/prevent-uncertain-showing-last-value/18803 "2018-07-12T14:26:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![t.gegenfurtner](https://avatars.discourse-cdn.com/v4/letter/t/85f322/32.png) [@t.gegenfurtner](https://forum.inductiveautomation.com/u/t.gegenfurtner)\
**Post date:** [July 12, 2018, 2:26pm UTC](https://forum.inductiveautomation.com/t/prevent-uncertain-showing-last-value/18803/1 "2018-07-12T14:26:40Z")

</div>

Hello together.  
In my first topic i want to say hello.  
My name is Tobias, i am responsible for machine data colletion in our company with igntion and SAP.  
We have plants in USA, Brazil, Russia, China and so on… I am from germany / bavaria and say hello.

Now i have a litttle problem. We collect machine datas about ignition. But if the machine is switched off, we get always the last values. In designer it shows “Uncertain, showing last value”.  
But we don’t need it. And i don’t find any solution to switch off that.

Thx Tobias

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [July 12, 2018, 10:06pm UTC](https://forum.inductiveautomation.com/t/prevent-uncertain-showing-last-value/18803/2 "2018-07-12T22:06:12Z")

</div>

Welcome to the forum, Tobias. What would you like to get when a machine is off?

1. Show last value, but don’t show uncertain overlay (check “Overlay Opt-Out” in binding)
2. Don’t show it at all (use an expression on visible property to hide it based on tag quality)
3. Show something else (use an expression to show something else based on tag quality)

Or have I misunderstood your question?

---

<div class="post-metadata">

**Author:** ![t.gegenfurtner](https://avatars.discourse-cdn.com/v4/letter/t/85f322/32.png) [@t.gegenfurtner](https://forum.inductiveautomation.com/u/t.gegenfurtner)\
**Post date:** [July 13, 2018, 6:30am UTC](https://forum.inductiveautomation.com/t/prevent-uncertain-showing-last-value/18803/3 "2018-07-13T06:30:23Z")

</div>

Hello.

Tanks for answer. Sorry I think myy explaination was inexact. The main problem is, we use igntion also for data transport to other systems.  
If the maschine is switch off, we get always the last values.

For example this picures. On is the state from ignition (designer)… And the other are the values in our subprogram.  
The machine is not running.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9dd6a1c22bc5e2eb02d50cea411998364293c887.jpg)

Is there any settings in Ignition where i can say, if the device is disconneced, don’t show values…

Thx.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 13, 2018, 12:16pm UTC](https://forum.inductiveautomation.com/t/prevent-uncertain-showing-last-value/18803/4 "2018-07-13T12:16:06Z")

</div>

> [@t.gegenfurtner](#):
>
> Is there any settings in Ignition where i can say, if the device is disconneced, don't show values.

No, but every tag read delivers both value and quality. Inspect the quality in your scripting/expressions and substitute whatever you want to show when the quality code indicates your machine is disconnected.

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [July 13, 2018, 2:24pm UTC](https://forum.inductiveautomation.com/t/prevent-uncertain-showing-last-value/18803/5 "2018-07-13T14:24:31Z")

</div>

More on tag quality:  
[https://docs.inductiveautomation.com/display/DOC79/Tag+Quality+and+Overlays](https://docs.inductiveautomation.com/display/DOC79/Tag+Quality+and+Overlays)

---

<div class="post-metadata">

**Author:** ![t.gegenfurtner](https://avatars.discourse-cdn.com/v4/letter/t/85f322/32.png) [@t.gegenfurtner](https://forum.inductiveautomation.com/u/t.gegenfurtner)\
**Post date:** [July 16, 2018, 6:20am UTC](https://forum.inductiveautomation.com/t/prevent-uncertain-showing-last-value/18803/6 "2018-07-16T06:20:34Z")

</div>

“No”… ok, thanks.  
Thats was it what i want to know. I asked because in other OPC programms you have the possibility.  
I thought i can solve it without a script for each tag.

---

<div class="post-metadata">

**Author:** ![t.gegenfurtner](https://avatars.discourse-cdn.com/v4/letter/t/85f322/32.png) [@t.gegenfurtner](https://forum.inductiveautomation.com/u/t.gegenfurtner)\
**Post date:** [July 16, 2018, 6:21am UTC](https://forum.inductiveautomation.com/t/prevent-uncertain-showing-last-value/18803/7 "2018-07-16T06:21:09Z")

</div>

Thanks for the link.
