The I_EditorDiagnostic Diagnostic Editor is used to manage the diagnostic configuration of your project. More specially, it supports creating Diagnostic Port Interfaces, Ports typed by Diagnostic Port Interfaces and Diagnostic Mappings between Diagnostic Elements and Diagnostic Ports. The Diagnostic Editor does not define the Diagnostic Elements, but they are defined in a Diagnostic Extract that is part of your project.

notice

For practical instructions, refer to the Using the Diagnostic Editor cheat sheet which guides you through the basic workflow of the Diagnostic Editor.

Open Diagnostic Editor

<CTRL> + <SHIFT> + <D>, <X>

Open Editor

To open the Diagnostic 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 Diagnostic Editor as follows:

The Diagnostic Editor opens in a new tab of the Project Frame.

Editor Toolbar

Besides the general editor functionalities see Editor Concept, the toolbar on the top right of the Diagnostic Editor provides the following feature:

I_ShowEmptyElementsShow Disabled Elements: Controls whether disabled content is shown in the trees or not. This applies to Diagnostic Elements already linked to a Port Interface in the left tree of the Interface Builder sub-editor, as well as to already mapped Typed Port Interfaces in the left tree of the Port Allocator and Mapper sub-editor.

Functionality

The Diagnostic Editor consists of the following sub-editors:

You can collapse or expand the sub-editor pane on the left using the I_Arrow_LeftI_Arrow_Left or I_Arrow_RightI_Arrow_Right button on the top right of the sub-editor pane. For details on each sub-editor, refer to the sections below.

Saving Diagnostic Information

To ensure a smooth workflow and increase the collaboration between team members, some editor-related information is stored in the diagnostic settings file. This information includes selected Diagnostic Contribution Set(s); defined packages, namespaces, ARXML files; and paired Diagnostic Element identities and Diagnostic Port Interface names.

I_Configuration.png Configuration

To open the Configuration sub-editor, select Configuration in the left pane. The Configuration sub-editor controls the Diagnostic Contribution Set(s), which contains all the Diagnostic Elements to be visible in the Diagnostic editor.

I_InterfaceBuilderInterface Builder

To open the Interface Builder sub-editor, select Interface Builder in the left pane. The Interface Builder sub-editor is used to create Diagnostic Port Interfaces from the available Diagnostic Elements or Generic Interface candidates.

Editor Output Configuration

To enable the functionalities of the Interface Builder sub-editor, a valid Editor Output Configuration must be defined. This configuration includes one part for interfaces and one part for data types:

Two trees in this sub-editor display various diagnostic contents:

Interface Candidates (left tree)

It displays elements that can be used to create a Diagnostic Port Interface. Generic Interface Candidates support the creation of Diagnostic Generic Port Interfaces and are not linked to any specific Diagnostic Elements.
The following categories of Diagnostic Generic Interface Candidates and Diagnostic Elements in the selected Diagnostic Contribution Set(s) are shown:

Available Interfaces (right tree)

The following categories of available Diagnostic Port Interfaces in the model are shown:

Special for DCM: Diagnostic Data Identifiers (DID), DCM: Diagnostic Data Elements (DID), DCM: Diagnostic Routine (RID), and DEM: Diagnostic Data Elements (EDR), Diagnostic Port Interface will be assigned to two different groups. If the Diagnostic Port Interface is linked to a Diagnostic Element and the linking information is saved in the diagnostic settings file, it is listed under the Typed Port Interfaces node. Otherwise, it is listed in the Port Interfaces not Linked to Diagnostic Element node. Right-click on the node and use the context menu to add or remove a link between Diagnostic Elements and Diagnostic Port Interface.

The DCM: Diagnostic Data Identifiers (DID) category shows the Diagnostic Data Identifiers and their Data Types as child nodes in the tree. Diagnostic Port Interfaces can be created for either the entire Diagnostic Data Identifier or the individual Data Elements.

The DEM: Diagnostic Data Elements (EDR) category shows Diagnostic Trouble Code Props as parent nodes. Below these are its Diagnostic Extended Data Records which can contain Data Elements. The Diagnostic Port Interfaces are created from the Data Elements only in this case.

Functionalities

The Interface Builder sub-editor provides the following functionalities:

I_PortAllocator Port Allocator and Mapper

To open the Port Allocator and Mapper sub-editor, select Port Allocator and Mapper in the left pane. The Port Allocator and Mapper sub-editor is used to create Diagnostic Ports from the Diagnostic Port Interfaces and create Diagnostic Mappings between Diagnostic Elements and Diagnostic Ports.

Editor Output Configuration

To enable the functionalities of the Port Allocator and Mapper sub-editor, a valid Editor Output Configuration must be defined, and this configuration consists of one part:

Two trees in this sub-editor display various diagnostic contents:

Available Interfaces (left tree)

The following categories of Diagnostic Port Interfaces, Diagnostic Service Instances and Diagnostic Elements in selected Diagnostic Contribution Set(s) are shown:

There are different sub-groups under DCM: Diagnostic Data Identifiers (DID), DCM: Diagnostic Data Elements (DID), DCM: Diagnostic Routine (RID), and DEM: Diagnostic Data Elements (EDR). If the Diagnostic Port Interface is linked to a Diagnostic Element and the linking information is saved in the diagnostic settings file, it is listed in Typed Port Interfaces node. Otherwise, it is listed in the Port Interfaces not Linked to Diagnostic Element node. The group DIDS/RIDS without Typed Port Interfaces displays all Diagnostic Elements without linked Typed Port Interfaces according to information from the diagnostic settings file.

Diagnostic Ports and Mappings (right tree)

Note that an Executable must be selected to show all Diagnostic Ports accordingly. Click the I_Executable[Select Executable] button and select an Executable. To show all the Diagnostic Mappings under corresponding Diagnostic Ports, select a Process Design via the I_ProcessDesign[Select Process Design] button.
This tree shows the following categories of Diagnostic Ports aggregated in the Adaptive Application Sw Component Type defined in the context of the selected Executable:

Functionalities

The Port Allocator and Mapper sub-editor provides the following functionalities:

Diagnostic Port Interface Tree (left tree)

The following commands are available in the context menu of the respective elements in the Diagnostic Port Interface tree:

Diagnostic Port Tree (right tree)

The following commands are available in the context menu of the respective elements in the Diagnostic Port tree: