Creating a Logical Signal Chain

Objective

In ConfigurationDesk, you implement the I/O functionality of your real-time applications via a logical signal chain using graphical elements.


Logical signal chain

The logical signal chain describes the logical path of a signal between an external device and the behavior model. This lets you concentrate on the functionality and not on the physical wirings and their requirements.

After you have assigned hardware (real-time hardware and external devices) to the logical signal chain, ConfigurationDesk also provides the physical path of the signal. For details, refer to Providing the Physical Signal Chain.


Main elements of the logical signal chain

The main elements of the logical signal chain are represented by different graphical blocks. Every block has ports to provide the mapping to neighboring blocks.

Device block

A device block is a subset of the device topology. This subset is used in the signal chain. It represents the interface of your external device(s) and contains details on the input and output signals of the device, etc.

Function block

Function block types are the basis for implementing I/O functionality. These are elements of the function library in ConfigurationDesk. Each function block type has unique features. Instances of a function block type are called function blocks. You can instantiate as many function blocks as you want from a specific function block type.

Model port block

Each model port block is an element of the model topology of the active ConfigurationDesk application. Model port blocks in ConfigurationDesk are the interface to the corresponding model port blocks in the behavior model. They provide the data flow between the function blocks and the behavior model.

In a multimodel application, model port blocks also can be used to provide the data flow between two behavior models. This is called model communication.


Accessing properties of the signal chain elements

Every block and its components (for example, the ports) have properties. Some of them are user-configurable, others are only for information purposes. You can access the properties:

  • Via the Properties Browser

    The Properties Browser displays the properties of the selected element of the signal chain as shown below. If a property is configurable, you can change the setting there.

  • Via tables

    If the signal chain consists of many blocks, displaying properties and property settings via the Properties Browser can be time-consuming.

    As an alternative, tables provide an overview of the property settings of signal chain elements used in your application. If a property is configurable, you can change the setting directly in the table.


Mapping ports

Mapping ports means drawing a mapping line between two ports. ConfigurationDesk allows only mapping lines which agree with specific rules. Multiple mapping (mapping one port to several ports) is also possible.


Creating the signal chain with the Model-Function Mapping Browser

The Model-Function Mapping Browser displays the structure of behavior models including their subsystems. The following illustration shows an example:

You can create signal chains by dragging and dropping hardware channels or function blocks to a Simulink behavior model or its subsystems. If you do this, ConfigurationDesk automatically creates model port blocks with suitable configurations for the connection to Simulink behavior models.


Conflicts caused by clashing configuration settings

When you create a signal chain and configure the elements in it, conflicts might occur. The concept of ConfigurationDesk allows very flexible configuration settings, with the effect that one setting might not match a setting at another place in the signal chain. These configuration conflicts are allowed at first. However, before you build a real-time application, you have to resolve the conflicts to get proper build results. ConfigurationDesk provides the Conflicts Viewer, which displays all current conflicts and helps you to resolve them.


Display of states

ConfigurationDesk determines the state of each element in the signal chain after every configuration change. States are displayed graphically and in tooltips. You can move the pointer over an element to see its tooltip containing error and warning messages, etc.


Different views of the signal chain

A view of your logical signal chain in ConfigurationDesk is called a working view. ConfigurationDesk also provides a global working view, which contains all the elements of your application.

If you create a complex signal chain with a lot of elements, you can tailor your view to keep track of your work. You can define your own working views and add only specific signal chain elements to each of them. For example, one working view can contain all the elements which belong to a specific part of your vehicle, such as the brake system.

The illustration below shows an example where the elements of the global working view are also displayed in three user-defined working views.


Redaction