Example projects are provided for some MSCL use cases. This does not encompass all features of MSCL. Please refer to the MSCL documentation for more details.
| Option | Description | Default |
|---|---|---|
MSCL_BUILD_CPP_EXAMPLES |
Enables C++ examples. | OFF |
MSCL_BUILD_CSHARP_EXAMPLES |
Enables C# examples. (Windows only) | OFF |
MSCL_BUILD_PYTHON_EXAMPLES |
Enables Python examples. | OFF |
- C++ - Examples using the C++ MSCL library.
- C# / .NET - Examples using the C# MSCL library.
- Python - Examples using the Python MSCL library.
Each language directory contains examples for the following product lines:
- Wireless - Example code for MicroStrain's Wireless product line.
- Inertial - Example code for MicroStrain's Inertial product line.
- Displacement - Example code for MicroStrain's Displacement product line.
The recommended way to build and run the examples is using CMake. Each example is configured to work either as part of the main MSCL build or as a standalone project.
For detailed instructions on how to build and run examples for a specific language, please see the README in the corresponding language directory.