# Unstable Analog input

**URL:** https://community.factoryio.com/t/unstable-analog-input/1329
**Category:** Support
**Created:** [February 20, 2022, 5:02am UTC](https://community.factoryio.com/t/unstable-analog-input/1329 "2022-02-20T05:02:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jferri7](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@jferri7](https://community.factoryio.com/u/jferri7)
#### Post date: [February 20, 2022, 5:02am UTC](https://community.factoryio.com/t/unstable-analog-input/1329/1 "2022-02-20T05:02:35Z")

</div>

Hi, I have this issue with the tank scene.  
I configured it as analog and when reading the Analog input for the water level, I get a unstable (flickering ) reading. I tried to add an averaging library as filter but still cannot get a good reading.  
I tried using input smoothing, noise reduction, using external input, configured it as word with Factory IO for and int in plc, then as Dword in [F.IO](http://F.IO) and real in plc, no improvement.  
What am I doing wrong?

Thanks

---

<div class="post-metadata">

### Author: ![adriana.silva](https://dub1.discourse-cdn.com/flex017/user_avatar/community.factoryio.com/adriana.silva/32/752_2.png) [@adriana.silva](https://community.factoryio.com/u/adriana.silva)
#### Post date: [February 21, 2022, 9:54am UTC](https://community.factoryio.com/t/unstable-analog-input/1329/2 "2022-02-21T09:54:10Z")

</div>

Hi @jferri7!  
I’ve tested the analog input for the tank level with both Siemens and Codesys and I didn’t get any flickering/unstable reading. I declared the variables in the PLCs as REAL and didn’t change anything in Factory I/O.  
What PLC are you using and what protocol are you using to communicate with Factory I/O?
