Enabling or Disabling Elements
It is possible to enable individual elements within a component. Enabling an element means that the element can be accessed from outside of the current component. Parameters and constants can be read out from the current component. Variables, however, can be read in and out.
- Open the properties editor.
Click the Set() Method option.
The element is enabled and can be written from outside the component.
Click the Set() Method option again to reverse the setting.
Activate the Get() Method option to add an output.
Click OK.
In the layout, an input or output is added for the element.
The type of pin displayed in the layout depends on the kind of element being enabled. For parameters (including characteristic lines and maps), constants and system constants, as well as send messages, only an output pin can be added. For receive messages, only an input can be added. For variables, as well as send & receive messages, both an input and an output pin can be added.
See also