PI Vision Manual Data Entry AF

Hi,

 

i have found this Topic:

https://pisquare.osisoft.com/s/Blog-Detail/a8r1I000000HbIkQAK/pi-vision-manual-data-entry

 

Is it possible to set AF Attribtes?

 

I always get the following errors:

https://msr-srv-vision/piwebapi/attributes?path=%5C%5CMSR-SRV-AF%5CNHM-Energie%5CSandm%C3%BChlen%7CStart%20Datum

->

{

"Errors": [

"The specified path was not found. If more details are needed, please contact your PI Web API administrator for help in enabling debug mode."

]

}

 

The Path are a AF Database path.

 

 

 

Parents
  • Hi,

    Yes, it is possible to set AF Attributes, but the error you are seeing usually indicates that PI Web API cannot resolve the AF path you’re providing. A few things to check:

    • Make sure the AF path syntax matches exactly what PI Web API expects (including escaped characters, correct database name, and element hierarchy).
    • Confirm that PI Web API is configured to expose the AF database you are targeting. If the database is not registered or access permissions are missing, you will get a “path not found” error.
    • Verify that the account running PI Vision (often the app pool identity) has read/write access to the AF server and database.

    If your main goal is to allow operators to update AF Attributes directly from PI Vision, the recommended approach is to use a Manual Data Entry symbol. This custom symbol integrates with PI Web API to send values back to PI Points or AF Attributes, bypassing the need for users to interact with raw PI Web API requests. It provides a user-friendly interface where operators can enter or adjust values (e.g., start dates, setpoints, weights, moisture percentages), and those inputs are automatically pushed to the underlying AF Attributes or PI Points.

    You can find more about this solution here: Manual Data Entry Symbol – BizOps Consulting.

    In short:

    • PI Web API can write to AF Attributes, but you need the correct path and permissions.
    • The Manual Data Entry symbol simplifies the process, providing a reliable and intuitive way for end-users to input values directly in PI Vision.
Reply
  • Hi,

    Yes, it is possible to set AF Attributes, but the error you are seeing usually indicates that PI Web API cannot resolve the AF path you’re providing. A few things to check:

    • Make sure the AF path syntax matches exactly what PI Web API expects (including escaped characters, correct database name, and element hierarchy).
    • Confirm that PI Web API is configured to expose the AF database you are targeting. If the database is not registered or access permissions are missing, you will get a “path not found” error.
    • Verify that the account running PI Vision (often the app pool identity) has read/write access to the AF server and database.

    If your main goal is to allow operators to update AF Attributes directly from PI Vision, the recommended approach is to use a Manual Data Entry symbol. This custom symbol integrates with PI Web API to send values back to PI Points or AF Attributes, bypassing the need for users to interact with raw PI Web API requests. It provides a user-friendly interface where operators can enter or adjust values (e.g., start dates, setpoints, weights, moisture percentages), and those inputs are automatically pushed to the underlying AF Attributes or PI Points.

    You can find more about this solution here: Manual Data Entry Symbol – BizOps Consulting.

    In short:

    • PI Web API can write to AF Attributes, but you need the correct path and permissions.
    • The Manual Data Entry symbol simplifies the process, providing a reliable and intuitive way for end-users to input values directly in PI Vision.
Children
No Data