How to Pick the Right PI Developer Technology for your Project Presented by Ray Verhoeff Product Manager
Topics What Problems are you trying to solve? Where are you solving them? About PI Developer Technologies Product Profiles Resources 2
What problems are you trying to solve? Creating a software solution to a unique business problem Fill a gap in OSIsoft s offering 3
Where are you solving them? Desktop Mobile Browser Integration between Business Systems with other Client Software 4
PI Developer Technologies AF SDK A single high-performance.net Framework SDK that gives you access all PI System data PI Web API PI SQL Products PI OPC Servers Modern REST-based web service standard, ideally suited for many platforms Use SQL client applications to access PI System Data Integration with business systems Enables access to PI from OPC client applications Integration with industrial information systems 5
Licensing OK to use PI Developer Technologies to build applications at no charge OK to blog about (your) code OK to post open-source projects that use PI Developer Technologies Licensing should not affect your technology choice! 6
Requirements of all PI Developer Technologies Read/write access to the PI System Search Buffered Writing Data Updates by Exception High Performance High Scalability High Availability High Concurrency Secure Authentication Authorization Multi-user Multi-threaded Time Management: Time Strings Time Zones Time Arithmetic Localization 7
Your Support System Technical Support PI Developers Club White Papers Blogs Webinars How do I? questions Your peers Training Samples on GitHub Roadmap 8
Mature Technologies PI API PI SDK PI Web Services please don t use them osisoft @ 9
AF SDK 10
Profile: AF SDK.NET Framework Microsoft Windows only High performance 11
Some Architectures HTTP Verb JSON SQL Query Result Set OPC calls PI Web API AF SDK PI OLEDB Enterprise AF SDK PI OPC DA Server AF SDK PI System 12
Things to Know about AF SDK Uses Windows identity only Single-threaded applications are straightforward Multi-user, multi-threaded applications require some consideration 13
Building Services with the AF SDK Multi-user support Impersonation Threads Locks Help is on the way PI AF SDK Guidelines on PI Developers Club Building Multi-User Services with AF SDK UC 2015 Source code on GitHub 14
PI Web API 15
Profile: PI Web API REST-based read/write access to the entire PI System Parity with AF SDK is a goal Multi-user Multi-threaded Security models: Anonymous Basic Kerberos Claims everything ultimately maps to Windows Identity 16
Things to know about PI Web API Certificates Returned data payload designed by OSIsoft Not shaped to any standard Swagger specification (2017) Data compression for both read and write Clients can be (almost) any operating system, any language Data updates through Channels (web sockets) 17
PI SQL Family 18
Profile: PI SQL Family PI OLEDB Provider PI OLEDB Enterprise PI ODBC Driver PI JDBC Driver 19
PI SQL Use Cases Reporting SQL-based clients Business System Integration SQL Server Linked Server Oracle Database Gateway 20
Coding with PI SQL Not common Good wrappers exist Microsoft Native Client Java: https://spring.io/ Strong filtering, data shaping 21
PI OPC Servers 22
Profile: PI OPC Servers PI OPC DA Server PI OPC HDA Server 23
OPC Clients Industrial visualization clients Control systems PI OPC Interface! 24
And in conclusion 25
Categories Object-oriented PI AF SDK Web service PI Web API SQL standards PI OLEDB Provider PI OLEDB Enterprise PI ODBC Driver PI JDBC Driver OPC standards PI OPC DA Server PI OPC HDA Server Designed by OSIsoft Designed by standards groups 26
Platforms Object-oriented PI AF SDK OPC standards PI OPC DA Server PI OPC HDA Server SQL standards PI OLEDB Provider PI OLEDB Enterprise PI ODBC Driver* SQL standards PI JDBC Driver Web service PI Web API Windows Any platform 27
Developer Technologies Features Name Type PI Data Archive? PI Asset Framework? Event Frames? Example Use PI AF SDK.NET SDK RW RW RW Custom development PI Web API REST Services RW RW RW Custom development, including mobile and non- Windows REST clients PI OLEDB Enterprise PI OLEDB Provider Standard OLEDB COM Standard OLEDB COM RW R R SQL clients Microsoft SQL Server Linked Server RW - - Same as PI OLEDB Enterprise PI JDBC Standard JDBC RW RW RW Java clients on Windows and Linux PI ODBC Standard ODBC RW RW RW ODBC clients on Windows PI OPC DA Server PI OPC HDA Server Standard OPC DA and HDA RW - - OPC clients on Windows More details: https://techsupport.osisoft.com/troubleshooting/kb/kb01046 28
Resources 29
PI Developer Technologies Overview on the Technical Support website Product Roadmap Look for the Developer Technologies group PI Developers Club Part of PI Square Code samples on GitHub See OSIsoft s organization at http://www.github.com/osisoft 30
PI Web API Resources PI Web API Useful Links Nexus 31
PI SQL Technologies Helpful Tools PI Developers Club PI SQL Data Access Technologies subspace Technical Support website Downloads, Supporting Files OSIsoftLearning channel on YouTube GitHub Samples Calling PI OLEDB from C# and from PowerShell PI SQL Commander Query Compendium 32
PowerShell Tools for the PI System cmdlets for PowerShell on Windows Create reusable scripts for common and bulk system management operations Resources: Getting Started Webinar Documentation 33
OSIsoft is on Github! http://github.com/osisoft 26 Projects and growing! 34
About Github Cloud-based source code control Integrated bug and work item lists Support for fork and pull Publicize your license type OSIsoft uses Apache 2.0 Microsoft Visual Studio consumes Git natively Engages developers osisoft @ 35
GitHub https://www.github.com/osisoft Rules: https://github.com/osisoft/contributing License: Apache 2.0 Content: Samples Utilities White Paper support code TechCon labs Qi OMF 36
Have an idea how to improve our products? OSIsoft wants to hear from you! https://feedback.osisoft.com/ 37
Contact Information Ray Verhoeff ray.com Product Manager OSIsoft, LLC 38
Questions Please wait for the microphone before asking your questions Please remember to Complete the Online Survey for this session State your name & company http://bit.ly/uc2017-app @ osisoft 39
Thank You