Skip to content

Resources

Additional resources for working with MeasFlow.

Documentation

Code Examples

  • :simple-csharp: C# QuickStart


    Runnable C# sample demonstrating core features

    View sample →

  • Python QuickStart


    Python example with NumPy integration

    View sample →

  • C QuickStart


    Minimal C example using the C API

    View sample →

  • Test Suites


    Comprehensive tests for all language bindings

    View tests →

Package Repositories

Benchmarks

Performance comparison benchmarks are included in each language binding:

C# Benchmarks

cd csharp/benchmarks/MeasFlow.Benchmarks
dotnet run -c Release -- --filter "*FormatComparison*"   # MeasFlow vs HDF5
dotnet run -c Release -- --filter "*CrossLanguage*"      # Cross-language

Python Benchmarks

cd python
pip install h5py                              # for HDF5 comparison
python benchmarks/format_comparison.py        # MeasFlow vs HDF5
python benchmarks/cross_language.py           # Cross-language

C Benchmarks

cd c
cmake -B build -DMEAS_BUILD_BENCHMARKS=ON -DCMAKE_BUILD_TYPE=Release
cmake --build build
./build/bench_format_comparison
./build/bench_cross_language

Community

Tools

MeasFlow Viewer (C#)

Avalonia-based GUI for viewing measurement files:

cd csharp/tools/MeasFlow.Viewer
dotnet run

Demo Generator (C#)

Generate test data for cross-language validation:

cd csharp/tools/MeasFlow.DemoGenerator
dotnet run

Standards and Formats

  • ASAM MDF - Measurement Data Format (MDF4)
  • HDF5 - Hierarchical Data Format
  • TDMS - National Instruments format

AUTOSAR

  • AUTOSAR - Automotive Open System Architecture
  • E2E Protection - End-to-End communication protection
  • SecOC - Secure Onboard Communication

Project Structure

MeasFlow/
├── csharp/                       # C# implementation
│   ├── src/MeasFlow/             # Core library
│   │   ├── Bus/                  # Bus data model
│   │   └── Format/               # Binary serialization
│   ├── tests/MeasFlow.Tests/     # Test suite
│   ├── samples/QuickStart/       # Sample code
│   ├── benchmarks/               # Performance tests
│   └── tools/                    # Viewer and utilities
├── python/                       # Python implementation
│   ├── measflow/                 # Package source
│   ├── tests/                    # Test suite
│   ├── quickstart/               # Sample code
│   └── benchmarks/               # Performance tests
├── c/                            # C implementation
│   ├── measflow.c/.h             # Single-file library
│   ├── tests/                    # Test suite
│   ├── quickstart/               # Sample code
│   └── benchmarks/               # Performance tests
├── docs/                         # This documentation
├── SPECIFICATION.md              # Binary format spec
├── CONCEPT.md                    # Design document
└── README.md                     # Project overview

Contributing

Contributions are welcome! Please see:

License

MeasFlow is licensed under the MIT License.

See Third-Party Notices for dependencies.