# Application Serial data manipulation

**URL:** <https://forum.ionicframework.com/t/application-serial-data-manipulation/150318>\
**Category:** Ionic Framework\
**Created:** [December 14, 2018, 8:18am UTC](https://forum.ionicframework.com/t/application-serial-data-manipulation/150318 "2018-12-14T08:18:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juanu78](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@Juanu78](https://forum.ionicframework.com/u/Juanu78)\
**Post date:** [December 14, 2018, 8:18am UTC](https://forum.ionicframework.com/t/application-serial-data-manipulation/150318/1 "2018-12-14T08:18:50Z")

</div>

Hello everyone,  
I´m developing an app in ionic which connects with a scale (via Ethernet) and I need to display each 2 secs the weight of the scale.  
I´m using cz.blocshop.socketsforcordova to connect with the scale and everything is working.

The problem is that I´m using setinterval to display the new scales and I´m facing one issue:

Sometimes the buttons doesn´t work as expected and It seems to be blocked by a process (maybe the setinterval wich is global to the app) and I need to press several times to make it work.  
Is there any chance to create the setinterval without this button behavior???

Thanks in advance!  
Juan Luis

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:03pm UTC](https://forum.ionicframework.com/t/application-serial-data-manipulation/150318/2 "2021-07-19T21:03:49Z")

</div>


