< Previous | Next >

Lesson 4: Create a topic

A Data Distribution Service for Real-Time Systems (DDS) application shares data through topic elements. You add topic elements to the package for your DDS application through the ddsDiagram diagram.
  1. In the TopicDiagram diagram, click the topic icon on the Drawing toolbar, and then click the drawing area for the diagram.
  2. Open the Features window for the topic element and enter the following information:
    1. On the General tab, name the element MyTopic
    2. On the Tags tab, set the type field to MyTopicStruct:
      1. Click the field to the right of the type field, and then click the ... button to open the Select Value window
      2. Find and select MyTopicStruct, and then click OK. This setting indicates that MyTopicStruct is the type for MyTopic. This information is used when MyTopic is created.

      Your Tags tab resembles the following figure.

Lesson checkpoint

In this lesson, you learned how to create a topic.
In the next lesson, you will create a domain participant for the topicStruct element called MyTopicStruct.
< Previous | Next >

Feedback