The I_EditorS2S Signal-To-Service Editor supports you in mapping AUTOSAR Classic Signals to AUTOSAR Adaptive Events of Services. The mapping to Signal Groups and Signals is supported for Events and Implementation Data Type Sub-Elements of an Event.
The Signal-To-Service Editor is splitted into two areas, the I_Edit Editor and the I_Gear.png Builder.

Open Signal-To-Service Editor

<CTRL> + <SHIFT> + <D>, <Y>

ISignal to Service Interface

In some cases, an Adaptive Application needs to communicate with a Classic Application, but as Adaptive Applications communicate in a service-oriented manner with Service Interfaces, while Classic Applications communicate in a signal-based manner using so called ISignals, a translation between them is needed.

On a model-level, the translation entails creating an appropriate Port to either receive or send a signal-based payload. This can be done by mapping a Service Interface to one Classic signal, using a Service Instance To Signal Mapping. The direction of the port, whether it's receiving or providing, will be determined by whether the signal-based payload is incoming to the Adaptive Application or outgoing.

Open Editor

To open the Signal-To-Service Editor, expand your DaVinci Adaptive project in the DaVinci Project Explorer and double click on I_DaVinciDeveloperAdaptive Open Project Dashboard. The Project Frame opens showing the Project Home. You can then open the Signal-To-Service as follows:

The Signal-To-Service Editor opens in a new tab of the Project Frame.

I_Edit Editor

The Signal-To-Service Editor provides the functionalities listed below. If not otherwise mentioned, the functionalities available in the I_DetailsMode_FormMode Form mode are described. If you want to manage the properties of an element textually, switch to the I_DMLEditor DML mode via the toolbar and refer to DaVinci Modeling Language Editor for more information.

Tree View Structure

Description of Functionalities

I_ServiceInstanceToSignalMappingSet <Service Instance To Signal Mapping Set>

Select a Service Instance To Signal Mapping Set in the tree view on the left side of the editor.

At the top of the form page, the general properties are displayed and can be modified:

  • Name: Displays the name of the Service Instance To Signal Mapping Set. Edit the field to change the name.
  • Description: Displays the description of the Service Instance To Signal Mapping Set. Edit the field to change the description.

Signal-To-Service Translations Area

The Signal-To-Service Translations area displays existing Mappings from three perspectives, each in an individual tab:

  • Mappings: This tab displays the Mappings from the perspective of the Mappings defined in the model. You can add or delete Mappings as follows:
    • I_Add Create Service Instance To Signal Mapping: Click this icon to add a Service Instance To Signal Mapping to the current Service Instance To Signal Mapping Set. Modifications of the Service Instance To Signal Mapping can be done on the respective subpage.
    • I_Delete Delete Service Instance To Signal Mapping: Click this icon to delete a selected Service Instance To Signal Mapping.
    • I_Edit Edit Service Instance To Signal Mapping: Click this icon to open the form page of the selected Service Instance To Signal Mapping in which the mapping can be edited.
  • Services: This tab displays the Mappings from the perspective of Service Interfaces in a read-only table. Expand a Service Element to view any contained Sub-Elements as well as their mappings.
  • Signals: This tab displays the Mappings from the perspective of Signal and Signal Groups in a read-only table. Expand a Signal Group and Signal to view its mappings.

General Functions

  • I_ExpandAll Expand All: Expands all elements displayed in the table.
  • I_Collapseall Collapse All: Collapses all elements displayed in the table.

I_TreeViewStructure_ChildElementI_ServiceInstanceToSignalMapping <Service Instance To Signal Mapping>

Select a Service Instance To Signal Mapping in the tree view on the left side of the editor.

At the top of the form page, the general properties are displayed and can be modified:

  • Name: Displays the name of the Service Instance To Signal Mapping. Edit the field to change the name.
  • Description: Displays the description of the Service Instance To Signal Mapping. Edit the field to change the description.

Signal-To-Service Translation Area

This area provides the possibility to map Signals to Events of a Service Interface either before or after selecting a Service Instance. So even though a suitable Service Instance must still be selected before generation, the mapping can already be done beforehand. You can modify the mapping as follows:

  • Service Interface: Displays the Service Interface whose Events are listed in the Event Mappings table.
    Click I_ServicesSelect Service Interface to map to add a or modify a Service Interface. Note that a selection is not possible if there is already a mapping to a Service Instance defined.
  • Event Mappings: Displays the Service Element, Data Type, Signal, and Mapping of the selected Service Interface. Expand a Service Element to view its contained elements as well as their mappings. You can modify the mapping as follows:
    • Map Signal: Double click on a Signal field to open a dialog in which a Signal or a Signal Group for the respective element can be selected. Alternatively, use the context menu command Map to Signal Group of a Signal or Mapping field to open this dialog.
    • I_Delete Delete Mapping: Open the context menu of a Signal or Mapping field and click this command to delete the selected mapping.
    • Additional parameters: To configure additional parameters, use the AUTOSAR Model Explorer or switch to the I_DMLEditor DML mode via the toolbar.

Service Usage Area

In this area, the Service Instance of the Service Instance To Signal Mapping must be selected.

  • Service Instance: Displays the Service Instance of the Service Instance To Signal Mapping. You can add or modify the reference as follows:
    • I_Reference Select Reference Target: Click this icon to select or modify the reference to the Service Instance.
      Note that if a Service Interface has already been selected in the Signal-To-Service Translation area and Events from it have been mapped to Signals, then the Service Instances in the dialog that opens are already filtered accordingly. Otherwise, all available Service Instances are listed in the dialog that opens.
    • I_SkeletonModelWizard Create Reference Target with the Skeleton Model Wizard.
    • I_GoToReferenceTarget Go to Reference Target: Click this icon to open the referenced Service Instance in the AUTOSAR Model Explorer.
  • Port Mappings: Displays the Process, Port, Port Owner, and Mapping Name of the selected Service Instance. The fields of the table are read-only. Modifications can be done on in the Service Editor.

General Functions

  • I_Delete Delete: Click this icon to delete the properties of a respective field. For fields that reference an element, only the reference is deleted but not the referenced element itself.

MICROSAR Adaptive Parameters Area

This area contains MICROSAR Adaptive Parameters that are specified as Model Extensions (MEX) in the MICROSAR Adaptive BSW Package. Parameters for the selected AUTOSAR model element are displayed in the table of the MICROSAR Adaptive Parameters area on the respective pages of the Signal-To-Service Editor. Select a parameter in the table to view the editing options.

notice

For more information on the MICROSAR Adaptive Parameters, refer to the Technical Reference in the .\Doc\TechnicalReferences folder of your MICROSAR Adaptive BSW Package.

I_Gear.png Builder

The Builder provides the automatic creation of service events, which perfectly matches to the signal selection of the selected PDUs.

Configuration

Within the configuration area, you can define namespaces, packages and files as well as naming rules for the generated output, initially.
After the initial definition the configuration area can be minimized.

For File definition, it is possible to I_CopyUpDown Copy Up Down already defined files.

Ethernet Communication Connector

Select the Ethernet Communication Connector which should be used. After the selection, all available PDUs, signals and signal groups will be shown in the overview below.

Auto-hide Signals

Use a regular expression to filter out irrelevant signals. These signals are not shown in the overview and hence not selected.

PDU/Signal Overview

Select the PDUs, signals and/or Signal groups which should be mapped.

Create Event(s)

Use the Create Event button to create events based on the selected signal(s) and signal groups. Decide if the created event(s) should be added to a new Interface or to an existing one.

Service Interface Event Element Overview

Within the Service Interface Event Element Overview, you can see all interfaces and events. Here it is possible to