AnsweredAssumed Answered

OSIsoft.AF.PI.PITimeoutException: [-10722] PINET: Timeout on PI RPC or System Call

Question asked by MTaylor8 on Apr 23, 2018
Latest reply on Apr 24, 2018 by MTaylor8

Hi everyone,

 

I have a python scripts that extracts raw tag data for a given time period.  The code loops through a list of tags that was read in from a csv file.  The time period can be significant i.e. a number of years so the code splits the time period into weeks where it reads from the PI archive and then writes to a csv file using:

This approach works for one or two tags over a long time range or a large number of tags for a shorter period but fails when trying to have 3+ tags for a longer period of time. (8 yrs)

The error message is:

When connecting to the PI server is there a way to close the connection after each tag has been read and establish a new connection?

 

Any suggestions are welcome.

Thanks

Malcolm

Outcomes