
PiSharp Developer Hub
Production-grade guides, recipes, and tools for PI Web API development. Built by PI System specialists, maintained for accuracy, and used by teams shipping real integrations.
Why PiSharp?
Beyond the basics
Our guides cover what AVEVA docs skip: compression exceptions, digital state handling, Kerberos delegation, batch edge cases, and the gotchas you only find in production.
Production-ready code
Every example includes error handling, selectedFields for performance, quality flag checking, and the patterns you need for code that runs reliably, not just code that demos well.
Tested against real PI Systems
The code examples, patterns, and recommendations come from actual PI Web API integrations across manufacturing, energy, and utilities.
Start learning
Core tasks
Authentication
Basic, Kerberos, NTLM, and Bearer/OpenID Connect. Certificate handling, delegation debugging, and session management.
WebID & Lookup
Find PI points, attributes, and elements. WebID encoding, AF hierarchy traversal, and caching strategies.
Reading Values
Current, recorded, interpolated, and summary reads with selectedFields, quality flags, and digital state handling.
Writing Values
Single writes, bulk writes, updateOption, bufferOption, and backfill safety patterns.
Recipes and examples
PI Web API Cookbook
12 recipes12 production-ready recipes: auth, reads, writes, batch, AF traversal, event frames, ETL, and health checks.
Example Gallery
Working code in Python, JavaScript, and C# for every common operation. Postman collection included.
Advanced Recipes
AdvancedCircuit breakers, parallel reads, change detection, historical backfill, data quality validation, and alerting.
Python Guide
Session management, async patterns, pandas integration, and production ETL with watermark tracking.
SDK and tools
Reference and comparisons
.NET & PI Web API
.NETHttpClient, IHttpClientFactory, System.Text.Json source generation, and typed models for .NET teams.
Troubleshooting
HTTP error reference, SSL debugging, auth diagnostics, and comprehensive diagnostic scripts.
Advanced Troubleshooting
Kerberos delegation, IIS tracing, COMExceptions, memory pressure, and log file analysis.
Proof and trust
Services
PI Integration Audit
ServiceProfessional review of your PI Web API integration with a prioritized findings report. 5 business days.
Quickstart Package
ServiceWe build the foundation of your PI Web API integration with working code, docs, and handoff. 10 days.
Data Pipeline Sprint
ServiceFocused sprint to build your PI data extraction and loading pipeline. 10 business days.