(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, 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:
Note: these samples have transitioned to be hosted in seperate repositories based on their technology.
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 System | These samples cover topics related to the PI System. 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.
If you have a need for a new sample; if there is a feature or capability that should be demonstrated; if there is an existing sample that should be in your favorite language; please reach out to us and give us feedback at https://feedback.osisoft.com under the OSIsoft GitHub Channel. Feedback.
If your support question or issue is related to something with an OSIsoft product (an error message, a problem with product configuration, etc...), please open a case with OSIsoft Tech Support through myOSIsoft Customer Portal (https://my.osisoft.com).
If your support question or issue is related to a non-modified sample (or test) or documentation for the sample; please email [email protected].
If you wish to contribute please take a look at the contribution guide.
OSI Samples are licensed under the Apache 2 license.