Operator Library: Parameters
The IntFieldVariable operator generates a software variable field.
Availability | |
---|---|
To use the IntFieldVariable operator, you need either an Expert license, a Parameter Module license, or the VisualApplets 4 license. |
You can define a target within the design hierarchy where the variable will be visible and accessible. The target is defined by two parameters: DisplayHierarchy and DisplayName. In DisplayHierarchy you address a hierarchical box within the same process the operator itself is located in. With the DisplayName parameter, you set up the name for the target parameter. If DisplayHierarchy and DisplayName are both set, the parameter defined by DisplayName will be available in the hierarchical box addressed by DisplayHierarchy. If DisplayName is empty, no parameter is created. If DisplayName is set, but DisplayHierarchy is empty, the parameter defined by DisplayName is added to the parent hierarchy (i.e., the hierarchical box the operator itself is located in).
The operator has no inputs and outputs, because it doesn't interfere with the data flow structure of the design.
For a general introduction into the Parameters library, see Library Parameters.
Status | |
---|---|
Type | static read (although the GUI displays write) parameter |
Default | none |
Range | OK or error message |
Displays the error status. If the Activate parameter is set to Yes, the other module parameters are checked. This parameter displays the result of this check, i.e. either OK or an error message. This parameter is not part of the final applet. |
DisplayName | |
---|---|
Type | static write parameter |
Default | none |
Range | any string |
If you want to grant access from and to the parameter at another point in the design (in addition to the operator instance itself), you need to define a new parameter. Specify here the name of this new parameter. If this field is empty, no new parameter is created. |
DisplayHierarchy | ||||
---|---|---|---|---|
Type | static write parameter | |||
Default | none | |||
Range | any string | |||
Specify here the hierarchical box to which you want to attach the new map parameter you defined with the DisplayName parameter. For this parameter, you can use the autocompletion functionality and syntax highlighting. To use autocompletion, click into the Parameter Values field of this parameter in the Module Properties dialog, and press the TAB key of your keyboard. More detailed instructions for the autocompletion functionality are available at 'Autocompletion and Syntax Highlighting for Translator and Reference Operators'. If you defined a new DisplayName parameter, but leave the DisplayHierarchy parameter empty: The new parameter is added to the hierarchical box that contains the operator instance. This is not possible if the operator instance is located on the highest (process) level.
|
Size | |
---|---|
Type | static, dynamic, write, read parameter |
Default | 0 |
Range | Unsigned integer (31 bit) |
With this parameter you can define the number of field entries. |
ColumnCount | |
---|---|
Type | static write, read parameter |
Default | 0 |
Range | [1,256] |
With this parameter you can define the number of columns for entering field values in the module properties dialog. |
Index | |
---|---|
Type | dynamic write parameter |
Default | 0 |
Range | UInt |
With this parameter you can set the field index here. |
Value | |
---|---|
Type | dynamic, write, read parameter |
Default | 0 |
Range | Signed integer (64 bit) |
With this parameter you can set or read the field entry addressed by the Index parameter. |
Field | |
---|---|
Type | static,dynamic, write, read parameter |
Default | none |
Range | array |
This field parameter defines the content of the variable field. |
Unit | |
---|---|
Type | static write parameter |
Default | - |
Range | Latin-1 |
Enter here the unit for the Value parameter. |
Description | |
---|---|
Type | static write parameter |
Default | - |
Range | any text |
Enter here the description for the Value parameter. |
RangeFrom | |
---|---|
Type | static write parameter |
Default | 0 |
Range | |
With this parameter you can define the smallest valid value. You can also enter a formula here. |
RangeTo | |
---|---|
Type | static write parameter |
Default | 255 |
Range | |
With this parameter you can define the biggest valid value. You can also enter a formula here. |
RangeIncrement | |
---|---|
Type | static write parameter |
Default | 1 |
Range | |
With this parameter you can define the interval between valid values (definition of step size). You can also enter a formula here. |
Activate | |
---|---|
Type | dynamic write parameter |
Default | No |
Range | {No,Yes} |
Yes = Access to and from the variable is activated via the Value map parameter. No = Access to and from the variable is de-activated and the Status parameter is disabled. The DisplayName and DisplayHierarchy parameters have no effect. |