Skip to content

This custom toolbox contains a library to interface with ED247 communication protocol. ED247 is a communication standard defined by EUROCAE. Note that ED247 library is not included in Simulink toolbox. Useful links about ED247: - C/C++ library developed by Airbus : https://github.com/airbus/ED247_LIBRARY - Standard at EUROCAE : https://eshop.eur…

License

Notifications You must be signed in to change notification settings

jpkmw/Simulink-Target-support-for-ED247

 
 

Repository files navigation

Simulink ​support for ED247 communication standard

The "Simulink ​support for ED247 communication standard" enables ED247 communication inside a Simulink models.

It provides Simulink blocks in a library to send and receive data in various formats (A429, A664, A825, NAD, VNAD, Analogic, Discrete).

It allows ED247 communication in Simulink models both in simulation and real-time with Speedgoat test bench.

Setup

  1. Open project in MATLAB
  2. Configure dependencies
    1. Create configuration variable
    2. Set ED247 library installation folder
    3. (Windows) Set MinGW64 installation folder
    4. Save configuration
config = ed247.Configuration.default();
config.ED247 = "<ed247_installation folder>";
config.MinGW = "<mingw64_installation_root_folder>";
save(config)

Additional information about set up

MathWorks Products (http://www.mathworks.com)

Requires MATLAB release R2020b or newer

Optional (for Real-Time execution on Speedgoat)

3rd Party Products:

3p:

Installation

Before proceeding, ensure that the below products are installed:

Compile S-Function

S-Function can be compiled using the following command:

ed247.compile()

Deployment Steps

Speedgoat execution

  1. Configure model for deployment on Speedgoat
    • Set solver type to Fixed-Step (Configuration Parameters -> Solver -> Solver Type)
    • Select slrealtime.tlc (Configuration Parameters -> Code Generation -> System Target File)
  2. Compile executable
ed247.Speedgoat.deployModel(<modelname>)
  1. Download and execute
    1. Open Simulink Real-Time Explorer
    2. Connect development computer (host) to Speedgoat target
    3. Load application (.mldatx)
    4. Run application
slrtExplorer

Custom toolbox

Following commands will test, compile and package source code into a MATLAB custom toolbox which allows an easy sharing of Simulink ​support for ED247 communication standard

p = ci.Pipeline.forFolder();
run(p)

Getting Started

Information about Getting Started

  1. Create a Simulink model
  2. Add ED247 configuration block to model by either:
    • Type "ED247 Configuration" in the model
    • Open Simulink Library Browser and navigate to library "ED247"

Unit tests

Unit tests are located in tests/ folder. Unit tests can be run using following command:

p = ci.Pipeline.forFolder();
test(p)

Note

Examples

To learn how to use this in testing workflows, see Examples.

Each example is stored in a folder which contains a Simulink model and XML configuration files (ECIC and ICD).

  • receiveA429 : Receive ARINC 429 messages
  • sendA429 : Send ARINC 429 messages
  • receiveNAD : Receive Non-Avionic data

License

The license for is available in the LICENSE.TXT file in this GitHub repository.

Include any other License information here, including third-party content using separate license agreements

Community Support

MATLAB Central

Copyright 2021 The MathWorks, Inc.

About

This custom toolbox contains a library to interface with ED247 communication protocol. ED247 is a communication standard defined by EUROCAE. Note that ED247 library is not included in Simulink toolbox. Useful links about ED247: - C/C++ library developed by Airbus : https://github.com/airbus/ED247_LIBRARY - Standard at EUROCAE : https://eshop.eur…

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • MATLAB 41.0%
  • C 32.2%
  • C++ 24.9%
  • Shell 1.3%
  • CMake 0.6%
  • Batchfile 0.0%