3. Vortex DDS Blocks

The DDS Simulink Integration provides a block library with custom blocks to model reading and writing data with DDS.

The Vortex DDS Simulink block library provides blocks which correspond to DDS entities. (Each DDS block is covered in its own section in this user guide.)

The following DDS block types are provided:

  • Topic

  • Domain

  • Publisher

  • Subscriber

  • Writer

  • Reader

3.1. Optional DDS Blocks and Ports

Some of the DDS blocks are optional. (Domain, Publisher and Subscriber)

When the optional blocks are not added to model diagrams, defaults are used. This allows for simpler model diagrams. If the model requires block parameter customization, the optional blocks can be added to a model to use non-default settings.

Many of the ports for the DDS blocks are also optional. They can be toggled on or off in the Block Parameters dialog, in the Ports tab.

3.2. QoS Profiles

In DDS - “The Data-Distribution Service (DDS) relies on the usage of QoS. A QoS (Quality of Service) is a set of characteristics that controls some aspect of the behavior of the DDS Service.”

Each DDS block has an associated QoS profile. By default, the OSPL default profile is used. An XML file that specifies QoS profiles can be used to set the QoS of a DDS block.

The QoS profile of a block is set in the QoS tab of the Block Parameters dialog. (This dialog is opened by double clicking on a selected block.)

Please see section QoS Provider for more information.