Example

This example Application demonstrates how to read pump vibration and temperature data from Nanoprecise using the Nanoprecise connector.

You can download the files here to try it out for yourself - adjusting the steps to use your own Nanoprecise 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 Nanoprecise Connector will be linked, a chart in our example, select the Data Source tab.

Click the plus icon next to Data Source, then the plus icon next to Connection, and select the Nanoprecise Connector.

Step 2: Configure Connection

Enter a name for the new connection. In this case, set the name to Nanoprecise Connection.

Enter the authentication details: the URL, username, and password. In this case, tick to use variables.

Keep the default operation, Get Graph Data.

Select Components from the dropdown, or manually enter the components to add components that are not in the dropdown list. In this case, select the MOTOR-ODE and Pump DE pumps.

Click Save.

Step 3: Use the Connection

Select the Connection that was just created, enter the Data Source name, and select the entity to read. Save the Data Source.

In this case, set the name to CustomerData and the entity to MYSCHEMA.CUSTOMER.

In this case, set the name to Vibration Data, and the entity to vibration-rms-velocity.

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

Step 4: Use the Data Source

Your chart should be selected. Click Block Properties and expand the Data Source accordion. Select the Data Source we just added, and save the Application.

Step 5: Results

Click the Launch button and view the results. Enter asset value and start date, and click Generate Graph. Observe the vibration and temperature data for the two assets are returned from Nanoprecise.

Files

See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.

Last updated