Example

This example Application demonstrates how to retrieve equipment vibration data from a selected OSIsoft PI AF Database and display the data in a histogram data format, using the OSIsoft PI Histogram Connector.

You can download the files here to try it out for yourself - adjusting the steps to use your own OSIsoft PI credentials.

Refer to configuration to understand all configuration options of this Connector.

Step 1: Add the Connection

From the Properties blade of the widget to which the OSISoft PI Histogram Connector will be linked, a data grid in our example, select the Data Source tab.

Click the plus icon next to the Data Source, then the plus icon next to Connection, and select the OSISoft PI Histogram Connector.

Step 2: Configure Authentication

Enter a name for the Connection. In this case, set the name to OSISoft PI Histogram.

Enter the authentication credentials: the Web API URL, Username, and Password.

Step 3: Configure Configuration

Set the Server, Database, Lookup Type, Template, and click Save.

In this case, use the OsiSoft PI HPGR Template.

Step 4: Use the Connection

Enter the Data Source name, select the Connection we just created, and select the entity to read. Save the Data Source.

In this case, set the name to OSISoft PI Histogram and the entity to Histogram Data.

Note that the primary key is auto-populated once the entity is selected.

Step 5: Use the Data Source

Select the Data Source we just added.

Click the pencil icon next to Parameters. In the Parameters blade, enter a value for each parameter. Click Apply and save the Application.

The parameters required are Element, Element Category, End Date, No Of Bins, Range Max, Range Min, Selected Attributes, and Start Date.

Step 6: Results

Click the Launch button and view the results. Observe that the equipment vibration histogram data for the specified attribute are returned from OSIsoft PI.

Files

See the Import, Export, and Clone - XMPro article for steps to import an Application.

Last updated