Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-01536// Views: AA-01536// Created: 2018-10-10 00:41:50// Last Updated: 2019-09-19 22:19:59
Problem & Solution
Error 3: AsyncEthernet File Not Found at Model Load

Problem

I have created a custom Simulink model using the AsyncEthernet block for Ethernet communications.

The model compiles successfully, but I receive the following error at load time:


Solution

When the Simulink model is loaded onto the target, it must also load an executable file called AsyncEthernet, which manages the asynchronous Ethernet communication process on the target.  The AsyncEthernet executable is automatically generated during compilation and stored in the directory location listed in the error message.

If you are receiving this error, it is likely that the AsyncEthernet executable was not generated at compile time.  To resolve the issue:

  • Ensure that the files AsyncEthernet.c, AsyncEthernet.h, and AsyncEthernet.mk are in the same directory as the model in the RT-LAB workspace.  These three files can be obtained from the AsyncEthernet shipping example located here:

C:\OPAL-RT\RT-LAB\v11.x.x.xx\Examples\IO\_Generic_\async_ethernet\models\Simulink

  • Double-click the model in the RT-LAB Project Explorer and navigate to the Development tab, then the Compiler tab.  Enter the following command into the Compiler Command field:

make -f /usr/opalrt/common/bin/opalmodelmk