I am building a Excel sheet that polls data from a remote server. We have a PI Server in our plant, and we have an add-on to our Excel called "PI Datalink" which does the work of talking to the Server.
The problem I have is that after polling the remote server, it will keep that data, and since the data in the server is dynamic and constantly changing, I need the Excel sheet to automatically re-poll the data every few minutes.
I can refresh the polling using VB, but I know that it takes an event to do that. We want it to work without someone having to push a button or other hands-on actions that fire and event.
Is there some way to get an event to fire on a timer that continuously runs? How would you code that?
The problem I have is that after polling the remote server, it will keep that data, and since the data in the server is dynamic and constantly changing, I need the Excel sheet to automatically re-poll the data every few minutes.
I can refresh the polling using VB, but I know that it takes an event to do that. We want it to work without someone having to push a button or other hands-on actions that fire and event.
Is there some way to get an event to fire on a timer that continuously runs? How would you code that?