AnsweredAssumed Answered

Python service with PISDK

Question asked by Dariva on Oct 2, 2019
Latest reply on Nov 18, 2019 by Dariva

I wrote a Python Script to extract some data from a PI server using the PISDK and the Dispatch module from win32com.client.dynamic library. It works perfectly but when I put this script to run as a windows services I am getting an error using the PIPoints method. The error message I receive is this one.


(-2147352567, 'Exception occurred.', (0, 'PISDK', None, 'pisdk.chm', 0, -2147467262), None)


To put the application to work I created a scheduled task in window to run the script. This is working fine.


Does any one have experience with this kind of implementation?