Passing Parameters from PI Vision Display to AF Linked Tables: Troubleshooting Guide
Explore effective methods to resolve PI Vision display's EndTime parameter integration issues with linked tables in Asset Framework (AF).
Roshan Soni
Passing Parameters from PI Vision Display to AF Linked Tables: Troubleshooting Guide
In the world of operational data management, PI System by OSIsoft stands out as a robust solution for real-time data integration. As users build more complex applications and dashboards—such as those using PI Vision displays and Asset Framework (AF) linked tables—a common challenge surfaces: ensuring that parameters, such as time contexts, are accurately passed along these integrations.
Problem Outline
One particular issue that practitioners face is the failure of PI Vision display EndTime to be correctly passed into a linked table query defined in AF. Users have reported that while single timeseries attribute lookups work correctly in ProcessBook (PSE), attempts to incorporate these attributes within a PI Vision display result in the table displaying "No Data". During troubleshooting, it becomes apparent that the query’s EndTime parameter defaults to "Now", irrespective of the actual EndTime configured within the display.
Investigation and Solution Approaches
Common Approaches Tried
- Parameter Substitutions: Attempts to substitute query parameters using strings like
%UtcEndTime%,%EndTime%,%UtcTime%, and%Time%have been unfruitful. - Formula Attributes: Utilizing a formula attribute with the
%time%placeholder has similarly shown limited success; although the attribute responds to the PI Vision's EndTime context within a value symbol, its efficacy as a parameter variable has not been manifested.
Insights and Next Steps
Upon deeply analyzing such cases, here's a structured approach that may yield better results:
-
Verify Configuration Settings: Double-check that the configuration syntax for parameter placeholders is accurate and conforms with the table lookup specifications. Misconfiguration is a frequent cause of such discrepancies.
-
Check PI Vision Configuration: Ensure that PI Vision is set to update display settings and recognize new parameter value changes. The default behavior might not automatically trigger a data query refresh upon parameter changes.
-
Leverage Alternative Attribute Data References: Consider creating an additional AF attribute with a date/time data type specifically intended to handle EndTime values, with precise reference to PI Vision updates.
-
Explore PI Vision Data Update Settings: Check the data update intervals and the mode of data fetching within PI Vision settings. It might be necessary to manipulate these settings to ensure that data is queried dynamically as per the defined context.
-
Consult OSIsoft Community and Support: Often, similar challenges are discussed in OSIsoft PI Square community forums. Engaging with the community or opening a support ticket might uncover undocumented nuances or product bugs.
-
Implement Workarounds: If a direct solution remains elusive, consider a workaround that pre-processes the EndTime externally and updates the linked table sequentially with exact timestamps before the query runs.
Conclusion
When dealing with sophisticated integrations like PI Vision with AF linked table queries, parameters such as EndTime passing require precise configuration and an understanding of dynamic context settings. While issues like these may be tricky to resolve, employing a methodical pursuit of solutions—including verifying settings, considering alternative attribute references, engaging with the community, and persistence—can bridge the gaps and enhance the reliability of your PI System applications.
Further Reading
Engage with the PI Square community for updated practices and discuss more nuanced use cases with fellow experienced users and OSIsoft engineers. Standardizing best practices can greatly aid in navigating similar future challenges.
Always keep your applications up to date and consult the latest OSIsoft documentation for guidance on handling newer software versions and features.
Tags
About Roshan Soni
Expert in PI System implementation, industrial automation, and data management. Passionate about helping organizations maximize the value of their process data through innovative solutions and best practices.
No comments yet
Be the first to share your thoughts on this article.
Related Articles
Enhancing PI ProcessBook Trends with Banding and Zones: User Needs, Workarounds, and the Road Ahead
A look at the user demand for trend banding/zoning in OSIsoft PI ProcessBook, current VBA workarounds, UI challenges, and how future PI Vision releases aim to address these visualization needs.
Roshan Soni
Migrating PIAdvCalcFilVal Uptime Calculations from PI DataLink to PI OLEDB
Learn how to translate PI DataLink's PIAdvCalcFilVal advanced calculations—like counting uptime based on conditions—into efficient PI OLEDB SQL queries. Explore three practical approaches using PIAVG, PIINTERP, and PICOunt tables, and get tips for validation and accuracy.
Roshan Soni
Understanding PI Web API WebID Encoding: Can You Generate WebIDs Client-Side?
Curious about how PI Web API generates WebIDs and whether you can encode them client-side using GUIDs or paths? This article explores the encoding mechanisms, current documentation, and best practices for handling WebIDs in your applications.
Roshan Soni