-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PIConnect OS Dependency? #537
Comments
As far as I know the PIconnect is just a wrapper for the AFSDK. So you need the AFSDK dll installed in you machine. You got it when you have OSI PI client software installed on it. I don't know if there is MacOS version for it. |
The fact that you get the If you have the SDK installed on your mac than there might be an issue with the detection of the SDK location. Currently So there is no real OS dependency for the python package, but I don't know how it should work outside a Windows environment. So the first question is: Do you have the SDK installed on macOS? |
@Hugovdberg I had the same assumption regarding the OS dependency, seeing as it is built within python. I don't believe that I have the SDK installed on my macOS and I'm not sure that I can - on the OSI Soft website, under PI SDK Overview it states "The PI SDK runs on 32- and 64-bit Windows platforms and provides access to servers on all PI platforms". I do still have access to the machine that I originally used and have copied over all of the AF files, including Is it also possible for me to feed variables that specify additional information about the server in order to access it? |
Combining the information from this StackExchange question and the AF SDK documentation, I think it will not work on non-Windows computers as it is built on the .NET Framework. Therefore the OS dependency is not dictated by PIconnect but by OSIsoft. I'm not sure if it is possible to use other access mechanisms, such as a web API but for now there will not be MacOS/Linux support. |
As there is no actionable issue with the |
Background
I have been using this great module to quickly grab some data and have built my own functions for analysis (this is my first introduction to OSI Soft applications).
Initially built this on my Windows PC but have recently switched to MacOS systems.
Issue
I am now unable to access the server with this module (returns "TestingAF") even when I explicitly indicate the server and/or database.
I've spent substantial time parsing through the documents but can't seem to find what I'm missing.
I understand that the PI SDK runs on 32- and 64-bit Windows platforms and provides access to servers on all PI platforms - am I unable to leverage this module due to my OS?
Example Script
Current System
Thanks for the support!
The text was updated successfully, but these errors were encountered: