# Function to Refresh Providers?

**URL:** <https://forum.inductiveautomation.com/t/function-to-refresh-providers/4758>\
**Category:** Ignition\
**Created:** [July 3, 2012, 9:54pm UTC](https://forum.inductiveautomation.com/t/function-to-refresh-providers/4758 "2012-07-03T21:54:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnLynx](https://avatars.discourse-cdn.com/v4/letter/j/9dc877/32.png) [@JohnLynx](https://forum.inductiveautomation.com/u/JohnLynx)\
**Post date:** [July 3, 2012, 9:54pm UTC](https://forum.inductiveautomation.com/t/function-to-refresh-providers/4758/1 "2012-07-03T21:54:22Z")

</div>

bump

I’m in a situation where I’ll need an HMI button capable of refreshing tags for my client. The application is set up with Kepware communicating via radio set at a low scan rate.

Mainly a way to reinitialize the communication with Kepware at any given time, Thanks.

---

<div class="post-metadata">

**Author:** ![Michael.Stofan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.stofan/32/3342_2.png) [@Michael.Stofan](https://forum.inductiveautomation.com/u/Michael.Stofan)\
**Post date:** [July 10, 2012, 3:43pm UTC](https://forum.inductiveautomation.com/t/function-to-refresh-providers/4758/2 "2012-07-10T15:43:42Z")

</div>

While you can’t re-initialize an opc connection from a script in Ignition, you may be able to achieve the same effect. If you’re SQLTags are in an external database, you could have a button that writes the current timestamp to the config\_change column in the sqlt\_core table. Again, this won’t work with internal tag providers, just database driving providers (tags are in an external database).

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [July 10, 2012, 3:52pm UTC](https://forum.inductiveautomation.com/t/function-to-refresh-providers/4758/3 "2012-07-10T15:52:48Z")

</div>

Also, I’m not sure exactly why you would need to re-initialize the comm with kepware, but depending on your exact goal, you might find that some of the system tags provided by kepware can help. I believe there are tags for whether data collection is on or not, which you may be able to toggle to force updated values through.

Regards,
