One of our points data type is digital, we need to get list of all possible values. Is there a way to get enumeration set's webId from a point.
When talking WebID, i assume you need a solution using PI Web API. Now for PI Points, the tricky issue is that when looking at the PI Point in the WebAPI, it only shows the name of the DigitalSetName, so you would need to lookup that state set. When you know the WebID, this is the call:
The WebID of the enumerationset you can lookup, or if you use a more recent WebAPI you can generate the WebID client-side: PI Web API - Using Web ID 2.0 to Optimize your Applications or full details: PI Web API - Web ID 2.0 Specification Tables (use the AF EnumerationSet table).
And using batch calls, you can retrieve the list in one call to the PI Web API!
Request you to follow below steps:
1) logon to PI Web API (https://piwebapiserver/piwebapi
2) click on Data Servers
3) Click on Enumeration Sets (it will list all System digital States based on Step 2)
4) Click values based on PI Point digital Set
Is there a way to get enumeration set's webId from a point using REST.
Retrieving data ...