Owning Palette: Structures
Requires: Base Development System
Right-click the border of an In Place Element structure and select the Add Variant Attribute Get / Replace option from the shortcut menu to place this border node on the In Place Element structure.
Use this border node to access and modify one or more attributes of a variant without copying the attributes out of the variant. Each attribute value you retrieve with the border node on the left side of the structure must be replaced with an attribute value using the border node on the right side of the structure.
The border node on the left side of the structure is similar to the Get Variant Attribute function. The border node on the right side of the structure is similar to the Set Variant Attribute function.
If the attribute with the specified attribute name is not found by the node on the left side of the structure, the node on the right side of the structure ignores the attribute. To allow the node on the right side to add the attribute to the variant if the attribute was not found, refer to the example listed in the Example section for an illustration of how to add the syntax to this border node. |
Refer to the Variant Attribute Lookup Table VI in the labview\examples\Performance\Variant Attribute Lookup Table directory for an example of using the Variant Attribute Get / Replace border node.