# Pulling data ever second

**URL:** <https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209>\
**Category:** Ignition\
**Created:** [July 1, 2019, 9:36pm UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209 "2019-07-01T21:36:11Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [July 1, 2019, 9:36pm UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209/1 "2019-07-01T21:36:11Z")

</div>

I was wondering if Ignition is cable of trending data every second instead of every minute?  
Forgot to mention this is using Ignition historian

---

<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 1, 2019, 11:44pm UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209/2 "2019-07-01T23:44:43Z")

</div>

Do you mean recording a record every second (see History configuration of tag as well as associated scanclass), updating displayed data on trend every second (adjust poll rate), or something else?

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [July 2, 2019, 12:40am UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209/3 "2019-07-02T00:40:35Z")

</div>

Got it thanks.

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [July 2, 2019, 8:16pm UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209/4 "2019-07-02T20:16:29Z")

</div>

How do you set up on trends if tag looses connection, the trend will use last value till connection comes back?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/1c1659ce6881828567d9ea0e5ee5affbf35e0fd3.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 2, 2019, 9:11pm UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209/5 "2019-07-02T21:11:12Z")

</div>

You wouldn’t change anything on the tag itself. Anywhere you’re querying history, make sure you set the query to allow interpolation (assuming points between values, following the trend defined by logged points) _and_ that the ‘Ignore Bad Quality Data’ flag is not set, IE you are okay with seeing “bad” quality.

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [July 2, 2019, 10:09pm UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209/6 "2019-07-02T22:09:51Z")

</div>

I understand, But we had a integrator do one project here at plant. his project trends are querying data and using for trends, while i am using the basic historian in my project. His trends show no breaks when connection is lost, mine do. when speaking to him he stated it uses last value till connection comes back and never shows break in trends. On mine it does. So i was looking for a option in the screen shot above to do this

---

<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 2, 2019, 11:43pm UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209/7 "2019-07-02T23:43:43Z")

</div>

> [@alex.cordova.ee](#):
>
> i was looking for a option in the screen shot above to do this

You won't find an option there (on the tag). Look for the option in the tag history binding or query for the chart as @paul-griffith notes above.

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [July 3, 2019, 12:45am UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209/8 "2019-07-03T00:45:07Z")

</div>

Thank you. Got it

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [July 4, 2019, 12:50am UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209/9 "2019-07-04T00:50:33Z")

</div>

HOW DO I SMOOTH OUT THESE TEETH SPIKES? I AM PULLING EVERY SECOND. tRENDING CURRENT. IS IT POSSIBLE TO SMOOTH OUT READING EVERY SECOND ?  
HERE ARE THE SETTINGS FOR ONE OF THE PENS  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/099cb282025067d148c5aef9b91f7c62a3a1199c.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/8584f9c18bf012961fd4135804480c8def96ca64.png)

---

<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 5, 2019, 4:20pm UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209/10 "2019-07-05T16:20:42Z")

</div>

The choppiness you see is typical of noisy signals. Sampling time doesn’t magically smooth out the noise. You would need to add code to your PLC to digitally filter into another register and then record that one. Single-pole decay filters are the simplest, but I like rolling average filters. YMMV.

---

<div class="post-metadata">

**Author:** ![alex.cordova.ee](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@alex.cordova.ee](https://forum.inductiveautomation.com/u/alex.cordova.ee)\
**Post date:** [July 8, 2019, 3:46pm UTC](https://forum.inductiveautomation.com/t/pulling-data-ever-second/26209/11 "2019-07-08T15:46:40Z")

</div>

Thank you.
