arrow_back_ios

Main Menu

See All Acoustic End-of-Line Test Systems See All DAQ and instruments See All Electroacoustic application See All Software See All Sensors See All Vibration Testing Equipment See All Academy See All Resource Center See All Applications See All Industries See All Insights See All Services See All Support See All Our Business See All Our History See All Sustainability See All Global Presence
arrow_back_ios

Main Menu

See All Actuators See All Combustion Engines See All Durability See All eDrive See All Transmission Gearboxes See All Turbo Charger See All DAQ systems See All High precision and calibration systems See All Industrial electronics See All Power Analyzer See All S&V Handheld devices See All S&V Signal conditioner See All Wireless DAQ Systems See All Accessories for electroacoustic application See All DAQ See All Drivers API See All nCode - Durability and Fatigue Analysis See All ReliaSoft - Reliability Analysis and Management See All Test Data Management See All Utility See All Vibration Control See All Inertial Sensor Software See All Acoustic See All Current / voltage See All Displacement See All Force See All Inertial Sensors See All Load cells See All Pressure See All Strain See All Torque See All Vibration See All Exciters See All LDS Shaker Systems See All Power Amplifiers See All Vibration Controllers See All Training Courses See All Whitepapers See All Acoustics See All Asset & Process Monitoring See All Custom Sensors See All Data Acquisition & Analysis See All Durability & Fatigue See All Electric Power Testing See All Machine automation control and navigation See All NVH See All Reliability See All Smart Sensors See All Vibration See All Weighing See All Automotive & Ground Transportation See All Robotics See All Calibration See All Installation, Maintenance & Repair See All Support Brüel & Kjær See All Release Notes See All Compliance See All Our People
arrow_back_ios

Main Menu

See All CANHEAD See All GenHS See All LAN-XI See All MGCplus See All Optical Interrogators See All QuantumX See All SomatXR See All Fusion-LN See All Accessories for industrial electronics See All Handheld Software See All Accessories for S&V handheld devices See All Wireless Gateways See All Wireless Nodes See All BK Connect / PULSE See All API See All Microphone sets See All Cartridges See All Special microphones See All Acoustic calibrators See All Microphone Pre-amplifiers See All Sound Sources See All Accessories for acoustic transducers See All Accessories See All Accessories for load cells See All Strain gauges for experimental testing See All Strain gauges for transducer manufacturing (OEM) See All Accessories for strain gauges See All Rotating See All CCLD (IEPE) accelerometer See All Charge accelerometer See All Impulse hammers / impedance heads See All Cables See All Accessories See All Accessories See All Power amplifier See All Accessories for exciters See All Electroacoustics See All Noise Source Identification See All Sound Power and Sound Pressure See All Noise Certification See All Industrial Process Control See All Structural Health Monitoring See All Electrical Devices Testing See All Electrical Systems Testing See All Grid Testing See All High-Voltage Testing See All Vibration Testing with Electrodynamic Shakers See All Structural Dynamics See All Machine Analysis and Diagnostics See All Process Weighing See All Calibration Services for Transducers See All Calibration Services for Handheld Instruments See All Calibration Services for Instruments & DAQ See All On-Site Calibration See All Resources See All Software License Management
mscl-logo
msclscreenshot

MSCL is the MicroStrain Communication Library. It was created to make it simple to write code to interact with our Wireless and Inertial sensors.

Highlights

  • Completely open source.
  • Support for C++, Python, and .NET (C#, VB, LabVIEW, MATLAB).
  • Fully Documented.
  • Includes example code and a Quick Start Guide.
  • Unit Tested.
  • Used in our own projects, such as SensorConnect and the WSDA-2000.
  • Platform Independent (can be compiled for Windows, Linux)

Open Source

MSCL is completely open source under the MIT License. It is available on GitHub.

With the open source license, you can see what's going on below the surface, make changes as needed, and include it in your own projects without any worry.

On GitHub, you can ask questions, report issues, and join the other developers who are using MSCL.

msclsupports2

Multi-Language Support

MSCL is developed in C++, with wrappers available in a variety of languages. The library is currently available in

  • C++
  • Python
  • .NET (C#, VB, MATLAB, LabVIEW)

 

A VI package is also available that provides an easy to implement LabVIEW interface to the .NET version of MSCL.

For more details, visit the LabVIEW-MSCL Github Page.

Fully Documented

Documentation is generated using the source code itself. Classes, function, variables, etc. are all documented in the code comments. When those comments change, the documentation changes along with it for a seamless coding experience.

All the documentation is searchable, and types link to their own respective pages.

Looking to modify the source code? Separate documentation is available that contains the additional private and unexposed functionality of MSCL.

mscldocs
msclquickstartguide

Quick Start Guide and Example Code

A Quick Start Guide is available which shows common uses of MSCL, such as configuring a device, and parsing live data. Switch between programming languages in the right column to find help with your language of choice.

Example code is provided in the standard download of MSCL and is currently offered in C++, C#, and Python for the Wireless, Inertial, and Displacement product lines.

Data Communication Protocols

If MSCL doesn't meet your needs, you can still develop code to use our products!

Visit the Protocols section of our GitHub for the low-level details of how to communicate with our Wireless and Inertial devices.
Commands, configuration settings, and data packet documentation are all available.