It allows you to define a constant of the component that will be available to the user.
The left panel displays a list of the constants and the right panel displays a value and other properties of the selected constant. Constants can be added or removed by using the Constant context menu as shown in the figure below.
The figure below shows Constant Settings screen.
This table describes the fields of Constant Settings.
| Field | Description |
|---|---|
| Constant Name | Specifies an indentifier that will be used in the generated code |
| Constant Value | Value that will be assigned to the constant |
| Constant Description | Text used for the documentation |
| Of type | Data type of the value |
| Generate to driver | If the constant will be placed in the generated into the driver automatically |
| Generate to doc | Enables generation of the constant into the documentation |
| Unique name | Enables generation of the constant with unique name. If there are more instances of one component, each will contain a different constant name (usually there will be a prefix of the component name) |