What problem does it solve?
Locating the right PI tag or Asset Framework element in large OSIsoft PI systems is error-prone, and writing raw .NET AFSDK interop code in MATLAB is verbose and fragile. This Skill guides an AI agent through MATLAB's Industrial Communication Toolbox workflows to discover servers, navigate asset hierarchies, and read current or historical data correctly.
Core Features & Use Cases
- Direct PI Tag Lookup: Connect with piclient, search tags by name or description pattern, and read current values or historical data with aggregation (R2022a+).
- Asset Framework Navigation: Connect with afclient, list databases, find elements by name, template, or path, and retrieve attributes with disambiguation tables (R2026a+).
- Server and Database Discovery: Enumerate available PI Data Archive and AF servers via .NET AFSDK, with mandatory user confirmation before connecting.
- Use Case: An engineer asks for the average active power of generator GU1 last month. The agent discovers the AF server, confirms the database and element with the user, validates the attribute has time-series data, and reads hourly averaged history with readHistory.
Quick Start
Ask the agent to find the PI tag or AF element for your asset and read its current value or historical data over a date range.