This example demonstrates how to use this Context Provider to output contextual pump data from an Azure Digital Twin instance. The context data could later be combined with the pump readings.
Drag the Azure Digital Twin Context Provider Agent onto the canvas, link the output endpoint to the printer, and save the Data Stream.
Select the Agent and click Configure. In this case, keep the default Collection and polling interval.
Tick Use Variables and select values for Tenant Id, Client Id, and Client Secret.
Select the Endpoint Url variable and Model Name. In this case, the model is 'Pump'.
Apply the changes and save the Data Stream.
Publish the Data Stream and let's look at the Live Data View. Observe that the contextual data from the Azure Digital Twin instance is fetched and printed.
Azure DT Context Provider.xuc