Skip to content
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

Connect to a remote pi server from Linux system #792

Open
amanchaudhary-95 opened this issue Sep 27, 2024 · 1 comment
Open

Connect to a remote pi server from Linux system #792

amanchaudhary-95 opened this issue Sep 27, 2024 · 1 comment

Comments

@amanchaudhary-95
Copy link

Feature request

Abstract

Currently, the PIconnect requires the PI SDK to be installed on the local system to connect with the remote PI DA and PI AF database servers. The PI SDK is only available for windows based systems and not for linux based system. Is it possible that the PIconnect can use the remote PI SDK and not the local PI SDK to connect with the database?
For example, when we are connecting Python with a remote SQL server, it doesn't require to install SQL on my local machine, instead it can connect with the remote SQL using the IP, username and password.

Such implementation will enable the linux system to connect with OSIPI historians.

@Hugovdberg
Copy link
Owner

For PIconnect it really isn't much different from the SQL situation. You don't need the entire server,l installed locally, but you do need a driver that speaks the protocol the server listens to (usually you require that also when you're working with a local server). For SQL that is a driver library, for PI that is the SDK.

All my tests so far to load the SDK on Linux have failed since the SDK references several .NET components that are windows only. Maybe someone could write some RPC client/server combo to bridge the gap, so you can talk to the Linux RPC client that talks to the remote Windows RPC server that talks to the PI SDK locally that talks to the PI Server. But then you can't use PIconnect unless you wrote the Linux RPC client as a .NET library that has the exact same interface as the original SDK. But honestly, that is a serious project that I can't take on, and that should be a separate project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants