(OSIsoft) is a proven leader in enabling operation intelligence. In this GitHub repo, we provide samples which will help you get started with using OSIsoft technology. The repo includes samples against the PI Server via PI Web API (COMING SOON), samples using OSIsoft Cloud Services (OCS) via the OCS API directly and using libraries, and samples creating OSIsoft Message Format (OMF) messages and sending them. The samples are intended to help you get started and are not production applications and libraries.
The official OSIsoft samples are organized by technology and accessible through the following table:
Technology | Description |
---|---|
OCS | These samples cover programming against OCS. Samples include basic samples to more advanced. Details |
OMF | These samples highlight forming and sending OMF messages for PI and OCS. Details |
PI Web API | --COMING SOON-- These samples cover programming against the PI Server via the PI Web API. Details |
Note: The OMF samples work against both the on-prem PI System and OCS.
There is a style guide that helps explain the organization of the repo and helps explain the code samples provided. There is also a test guide that goes into more details about the included automated tests.
Please raise an issue if you would like to see a new task, a new example inside of a task, or an existing example in a particular langauge.
If you wish to contribute please take a look at the contribution guide.
OSI Samples are licensed under the Apache 2 license.