Hi there....have a request to share the values of a PI tag with an external party. Looking for simple way to make this happen. Tks.
Do you know in what format the external party requires this data? Having a requirement for the data in real-time (or near real-time) adds more constraints, and points towards some form of M2M interface.
I would initially think maybe creating a PI Web API endpoint that they can make REST API calls to, but that could be a bit of overkill for a single PI tag (especially if you are making it externally accessible - SSL certificate requirements, specific tag security etc). But once such an endpoint is in place, then you can potentially push the burden of collecting the data to the external party, as well as the responsibility for transforming the data into the format they require. And publishing additional tags to them later on is then simple.
Understanding how the other party anticipates or expects to receive the data will drive some of your options too - do they have PI (possibility of a secure PI to PI transfer), can they consume data from a web service such as the PI Web API etc. Given the stated requirement for continuous real-time access, I think something like a PI Web API based REST service endpoint might be your option.
You have multiple options here, but some more info on this request would help. Is this a once-off request, or does it need to be on an ongoing basis (ie, realtime, periodic/scheduled)? Are you looking for an automated process (scripted, machine to machine) or a manual process?
At it's simplest, you could just extract the tag data into a spreadsheet with PI DataLink, and provide the external party with a CSV output of the data. Other options expand in complexity, depending on your requirements (and the external party's), as per the questions above.
Hi John....it has to be real time. Would prefer an automated process if possible.
Retrieving data ...