Signals

Signals are communications to which blocks can respond. Signals are treated by blocks via receptions.

Context

For example, the Report Temperature signal reports a temperature recorded by a Temperature Sensor sensor to the Gateway block.

In activity diagrams (see Activity Diagrams), you can use signals as data types for object nodes (see Object Nodes), activity parameters (Activity Parameters), and pins (Adding Pins to an Action).

Procedure

  1. Drag the Signal tool from the toolbox and drop it onto your diagram. Enter a name for the signal.

    The following properties are available on the Info tab in the General category:

    Property

    Description

    Name/Code/Comment

    Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is synchronized with the name. To decouple name-code synchronization, enter a new code in the Code field.

    The other tabs such as Dependencies and Diagrams contain additional properties information. For details, see Object Properties.
  2. Select the Value tool in its context menu to add one or more values to represent the data that the signal carries. For each value, specify a value name, data type, and initial value.
  3. Select the block that will respond to the signal and use the Reception tool in its toolbar to add a reception.
  4. In the reception property sheet, click the Select tool next to the Signal property, select your signal, and click Select to associate it with the reception.