Configuration

This section details a step by step explanation of how to configure SIL Simulator.

dll_config.vcfg file

This file sets the simulation configuration, and it is common for both simulation options: Veronte Console and Veronte S-Function for Simulink.

dll_config.vcfg file indicates the location of the Veronte DLL and Veronte image and establishes some parameters of the simulation, as the hardware version to simulate or the ID of the virtual autopilot.

This is an example of dll_config: 

# Path to DLL 
\dll .\x64\VeronteDLL.dll

# Path to image file  (absolute or relative to dll)
\image .\..\Veronte_SD_Image.img

# Hardware version
\hwversion 4.8

# Autopilot ID 
\idversion 2

Before configuring SIL Simulator, these are aspects of the dll_config.vcfg file to consider for a proper functioning of the simulation:

  • Location of dll_config.vcfg file: It must be placed in the same path as the executable code to run. Depending on the simulation option to use, it must be placed in:

    • VeronteConsole.exe path if using Veronte Console

    • .slx path if using Veronte S-Function for Simulink


    Note

    .slx files store Simulink model information in a reduced size. As previously explained, users must program their own Simulink workspace according to their aircraft and simulation goal, but an example is provided in the SIL folder (mex_function_example.slx).

  • DLL and image files paths: It is crucial to precisely indicate the paths of DLL and image files.

Hardware version parameter

\hwversion version 

Users can decide which hardware version to simulate:

4.0hwversion 4.0
4.5hwversion 4.5
4.8hwversion 4.8


ID version parameter

\idversion index 

Available Autopilot IDs vary depending on the selected hardware version. The index to be entered will be indicated by the following table:

idversion 0 1 2 3 4 5
hw v4.0 1008 1025 1128 1373 1559 1654
hw v4.5 1805 1862 1871 2375 2680 2821
hw v4.8 4041 4064 4065 4144 4146 4213

Step by step - Veronte S-Function

  1. Once decompressed, open the SIL folder.
SIL folder
  1. Ensure that the dll_config.vcfg file is in the same path as the .slx file.


    Note

    .slx files store Simulink model information in a reduced size. As previously explained, users must program their own Simulink workspace according to their aircraft and simulation goal, but an example is provided in the SIL folder (mex_function_example.slx).

  2. Configure the dll_config.vcfg file in the following cases:

    • If the hardware version to simulate differs from v4.0.
    • If the DLL and image files are not located in the paths specified in dll_config.vcfg.

    Parameters to configure:

    • Path to DLL file VeronteDLL.dll (absolute or relative to the .slx file)

    • Path to image file Veronte_SD_Image.img (absolute or relative to DLL file)

    • (Optional) Hardware version to simulate

    • (Optional and dependent on hardware version) Autopilot ID to simulate

    Warning

    Autopilot ID parameter only can be chosen if hardware version is also specified. For more information about setting the ID parameter, consult dll_config.vcfg file section of the present manual.

  3. Load the file DataDictionaryVeronte.sldd, located in the SIL folder, into the Simulink configuration.

    SIL folder

    • Open Simulink, go to the Modeling tab in the top menu and select Model Properties

      Model properties option

    • In the pop-up window, go to the External Data tab. Click Browse... and select DataDictionaryVeronte.sldd file located in the SIL folder. Check the two available boxes.

      External Data option

  4. Open Simulink and configure the blocks explained below:

    • Add a S-Function block, and point to Veronte_SIL.mexw64 code by editing the S-Function name:

      S-Function block parameters

    • Add a UDP serial communication block and connect it to USB data and length inputs of Veronte S-Function.

    • Add a second UDP serial communication block and connect it to the USB outputs of Veronte S-Function.

      UDP Blocks

    • Configure the desired destination port.

    Destination UDP Port

    • For extra information about Simulink configuration, consult the Simulink workspace section of this manual.
  5. In Veronte Link application, configure a UDP connection with the following parameters:

    Note

    For more information about configurating connections, please consult Connection section of the Veronte Link user manual.

    • Type of connection: UDP
    • IP: IP previously configured in Simulink workspace
    • Port: Port previously configured in Simulink workspace
  6. Run the simulation by running the Simulink model.

  7. Check that the Autopilot 1x appears in Veronte Link as Connected and Ready:

    Veronte Link

    Note

    The autopilot may appear as Loaded with errors in Veronte Link for reasons not related to the simulation configuration. Refer to Loaded with errors in Veronte Link - Troubleshooting section of this manual.

  8. Once the simulation starts, user can proceed as with a physical autopilot:

  9. Important events or messages occuring within the simulation are registered on SIL.log.

Note

For more information or problems, please consult Connection - Troubleshooting section of this manual.

Step by step - Veronte Console

  1. Once decompressed, open the SIL folder.

    SIL folder

  2. Ensure that the dll_config.vcfg file is in the same path as VeronteConsole.exe.

  3. Configure the dll_config.vcfg file in the following cases:

    • If the hardware version to simulate differs from v4.0.
    • If the DLL and image files are not located in the paths specified in dll_config.vcfg.

    white

    Parameters to configure:

    • Path to DLL file VeronteDLL.dll (absolute or relative to VeronteConsole.exe)

    • Path to image file Veronte_SD_Image.img (absolute or relative to DLL file)

    • (Optional) Hardware version to simulate

    • (Optional and dependent on hardware version) Autopilot ID to simulate

    Warning

    Autopilot ID parameter only can be chosen if hardware version is also specified. For more information about setting the ID parameter, consult dll_config.vcfg file section of the present manual.

  4. In Veronte Link application, configure a UDP connection with the following parameters:

    Note

    For more information about configurating connections, please consult Connection section of the Veronte Link user manual.

    • Type of connection: UDP
    • IP: 127.0.0.1
    • Port: 12345

    Veronte Link - UDP Connection for Veronte Console

  5. Run the simulation by executing Veronte Console.exe.

  6. Check that the Autopilot 1x appears in Veronte Link as Connected and Ready:

    Veronte Link

    Note

    The autopilot may appear as Loaded with errors in Veronte Link for reasons not related to the simulation configuration. Refer to Loaded with errors in Veronte Link - Troubleshooting section of this manual.

  7. Once the simulation starts, user can proceed as with a physical autopilot:


© 2026 Embention. All rights reserved.