Skip to content

MindConnect Library – Examples

You can find agent application examples using MCL in /examples folder of each component of MCL distribution.

Example : Onboard

This example agent onboards to Insights Hub. Check /mcl_core/examples/onboard.c file for the implementation.

Example : Data Source Configuration Upload

This example agent uploads a data source configuration to Insights Hub. Check /mcl_connectivity/examples/dsc_upload.c file for the implementation.

Example : Data Point Mapping

This example agent creates mappings between the data points in the data source configuration already uploaded to Insights Hub and the properties of the asset in Insights Hub. Check /mcl_connectivity/examples/create_mapping.c file for the implementation.

Example : Timeseries Upload

This example agent uploads timeseries data to Insights Hub given the data source configuration is already uploaded and data point mappings are created. Check /mcl_connectivity/examples/timeseries_upload.c file for the implementation.

Example : File Upload

This example agent uploads a file to Insights Hub. Check /mcl_connectivity/examples/file_upload.c file for the implementation.

Example : Event Upload

This example agent uploads an event to Insights Hub. Check /mcl_connectivity/examples/event_upload.c file for the implementation.

Example : Store Upload

This example agent uploads a store containing file and timeseries items to Insights Hub. Check /mcl_connectivity/examples/event_upload.c file for the implementation.

Example : Data Lake Object Upload

This example agent uploads an object to Data Lake. Check /mcl_data_lake/examples/data_lake_upload.c file for the implementation.

Example : Deployment Workflow

This example agent gets and updates deployment workflow assigned to it. Check /mcl_deployment/examples/manage_deployment.c file for the implementation.


Last update: February 23, 2024

Except where otherwise noted, content on this site is licensed under the Development License Agreement.