Value element
Specifies when the discrete value has to be displayed.
Type
string
Parent
Attributes
Name | Type | Required | Description |
---|---|---|---|
location | string | If type is "dll", the location of the DLL file. | |
type | EnumDiscreteValue | Specifies the type. |
Remarks
If the value of the parameter matches the value in this tag, the contents of the Protocol.Params.Param.Measurement.Discreets.Discreet.Display tag will be displayed.
When defining a button parameter, you can also use placeholders in the Value tag referring to Visio session variables. That way, when the button is clicked, the current value of one or more Visio session variables will be inserted in the value of the button parameter.
Examples
In the following example, when you click the button parameter at a moment when the session variable MyVar contains "500", then the button parameter will get the value "someFixedText500":
<Discreets>
<Discreet>
<Display>Off</Display>
<Value>someFixedText[Var:MyVar]</Value>
</Discreet>
...
<Discreets>