Type element
Specifies how the parameter has to be displayed on the user interface.
Type
Parent
Attributes
Name | Type | Required | Description |
---|---|---|---|
case | EnumParamMeasurementTypeCase | Specifies the casing to be used. | |
continuous | EnumOnOff | *** No documentation available yet. *** | |
hex | EnumTrueFalse | Specifies whether the parameter value should be displayed as a hexadecimal number. | |
lines | unsignedInt | Specifies the number of lines that will be displayed. | |
link | string | Specifies the file name in which the input and output labels are stored. | |
number | string | *** No documentation available yet *** | |
options | string | Specifies a number of options. | |
scientificNotation | EnumScientificNotation | Specifies the scientific notation to be used. | |
verificationDeviation | decimal | Specifies a deviation on analog parameters. | |
width | unsignedInt | Specifies the width of a (page) button. |
Remarks
Contains one of the following values:
analog
The numeric value of the parameter will be displayed in accordance to the "graphic presentation" settings on the user interface:
- LED bar
- Color tube
- Oscilloscope
- Text only
In this case, the accompanying Protocol.Params.Param.Measurement.Discreets tag can be used to provide additional conditions, but ONLY with parameters of the type WRITE.
See also:
button
Only applicable for parameters of type "write".
When type is "button", the parameter will be visualized as a button that, when clicked, will cause an action to be performed.
In this case, the accompanying Protocol.Params.Param.Measurement.Discreets tag has to be used to define the label of the button (Discreet/Display) and the value to be set (Discreet/Value). Multiple discrete entries can be defined to show multiple buttons.
A button can also be used in a column. When you define multiple discreets, multiple buttons will be added in the same column. The same options as in a single button discreet can be used.
Example:
<Discreet>
<Display>...</Display>
<Value type="setvar">...</Value>
</Discreet>
<Discreet>
<Display>...</Display>
<Value type="open">...</Value>
</Discreet>
See also:
chart
The parameter will be displayed as a chart.
digital threshold
Obsolete. Was used to interpret an analog signal as a digital signal by assigning a threshold value.
discreet
Can be used to map discrete parameter values to a more meaningful display text.
In case of a parameter of type "read", this measurement type allows you to display a user-defined string when the parameter contains a certain value.
In case of a parameter of type "write", this measurement type allows you to display a drop-down box with predefined strings masking underlying values. In this case, the accompanying Protocol.Params.Param.Measurement.Discreets tag has to be used to define the various discreet values.
For example:
<Measurement>
<Type>discreet</Type>
<Discreets>
<Discreet>
<Display>Manual</Display>
<Value>0</Value>
</Discreet>
<Discreet>
<Display>Automatic</Display>
<Value>1</Value>
</Discreet>
</Discreets>
</Measurement>
See also:
matrix
Used for visualizing a matrix. Only applicable for parameters of type "array" or "write".
See also:
number
The parameter will be displayed as a number.
See also:
pagebutton
Only applicable for parameters of type "write".
When measurement type is "pagebutton", the parameter will be visualized as a button giving access to a popup page.
In this case, the accompanying Protocol.Params.Param.Measurement.Discreets tag has to be used to define the label of the button. Multiple Protocol.Params.Param.Measurement.Discreets.Discreet tags can be specified to allow the parameter to have multiple page buttons, meaning to allow multiple page buttons on the same row and column.
Labels of page buttons must end with "...". So, inside a Protocol.Params.Param. Measurement.Discreets.Discreet tag, the Protocol.Params.Param.Measurement.Discreets.Discreet.Display tag must contain a button label ending with "...".
See also:
progress
The parameter will be displayed as a progress bar.
Progress bars are often used to indicate progress when a list is loaded.
The Param.Display.Range tag is used to define the range of the progress bar. If no range has been defined, a default 0-100 range will be used.
Note
The measurement type "progress" is only used with parameters of type "read".
See also:
string
The parameter will be displayed as a string.
Example:
<Type lines="3" case="upper" options="hscroll;tab=100;fixedfont">string</Type>
See also:
table
Only applicable to parameters of type "array", which will, in this case, be displayed as a table.
See also
title
Allows you to display lines and boxes.
Example:
<Type options="end">title</Type>
Note
- Protocol.Params.Param.Measurement.Discreets cannot be used in combination with this type.
- The measurement type "title" is only used with parameters of type "read".
See also:
togglebutton
When a parameter of type "write" includes only two discreet values, it can be represented by a toggle button. When the "read" parameter associated with the "write" parameter contains the first discreet value, the second discreet value will be used in the set command when the toggle button is clicked.
See also: