Block Group: | no group |
Icon: | no icon |
A Query Binding or Value Binding block contains all of the information that is configured in the Binding Dialog Box. See Binding Dialog. These blocks are located in the dataflow model of the dataflow block that owns the target property.
For information on using dataflow blocks, see Dataflow.
This block cannot be added via the Blocks pane. To add and edit a Query Binding block:
Drop the binding source on the target property in the Block Properties pane.
This opens the Binding dialog box.
You cannot create a binding by dropping a node or metric on the target property in the Dataflow pane.
This block cannot be added via the Blocks pane. To add and edit a Value Binding block:
Drop the binding source on the binding target.
This opens the Binding dialog box and creates a Value Binding block for the target property.
The following properties of the Query Binding or Value Binding block can take input and give output.
path specifies the path to the binding source.
enabled specifies whether this block is enabled.
expression specifies the string to use to format the source value. This creates the target value as a formatted string. The expression can include a number format pattern. See Scripting and Syntax. The expression can also include other strings, such as units. Number format patterns must be in square brackets ([]). The string value enclosed in square brackets becomes the exact source value, as a string.
mode specifies the type of calculation to perform on the source value. If the mapping property is set to a value other than none, the mapping overrides the mode. The value of the mode property can be one of the following:
offset specifies the offset operator that is used to modify the target value. The offset property applies only when the mode property is set to offset. The value of the offset property can be one of the following:
Offset Value specifies the number that is used to modify the target value. The Offset Value property applies only when the mode property is set to offset.
input min specifies the lower bound of the original scale. The input min property applies only when the mode property is set to scale or gradient.
input max specifies the upper bound of the original scale. The input max property applies only when the mode property is set to scale or gradient.
output min specifies the lower bound of the new scale. The output min property applies only when the mode property is set to scale.
output max specifies the upper bound of the new scale. The output max property applies only when the mode property is set to scale.
gradient determines the colors for a gradient. For information about editing a gradient, see Fill and Border Pop-Ups. The gradient property applies only when the mode property is set to gradient.
mapping determines the type of mapping. The value of the mapping property can be one of the following:
case n specifies a test value to compare with the source value.
then n specifies a value to assign to the target if the expression with case n evaluates to TRUE. See Binding Dialog.
default specifies a value to assign to the target if none of the mapping expressions evaluate to TRUE. See Binding Dialog.
The following property of the Query Binding or Value Binding block can give output but cannot take input.
output returns the target value.