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 MindSphere. Check /mcl_core/examples/onboard.c file for the implementation.

Example : Data Source Configuration Upload

This example agent uploads a data source configuration to MindSphere. 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 MindSphere and the properties of the asset in MindSphere. Check /mcl_connectivity/examples/create_mapping.c file for the implementation.

Example : Timeseries Upload

This example agent uploads timeseries data to MindSphere 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 MindSphere. Check /mcl_connectivity/examples/file_upload.c file for the implementation.

Example : Event Upload

This example agent uploads an event to MindSphere. 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 MindSphere. 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.

Any questions left?

Ask the community


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


Last update: March 17, 2023