Archived:Difference Between Attribute Nodes and Property Nodes

Updated May 1, 2018

National Instruments does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Software

  • LabVIEW Base
  • LabVIEW Full
  • LabVIEW Professional

Issue Details

What is the difference between Attribute Nodes and Property Nodes in LabVIEW 6.0 and later?

Solution

Attribute Nodes have been replaced by Property Nodes in LabVIEW version 6.0 and later. Property Nodes are similar to Attribute Nodes, with some distinct differences.
  • Property Nodes add error in and error out terminals.  If an error is passed into the node, no properties will be executed.  If you want the node to execute even if an error is passed in, you can disable this feature by right-clicking on the Property Node and selecting Ignore Errors Inside Node from the shortcut menu.
  • Attribute nodes will execute every property, even if an error occurs partway through execution.  In a Property Node, if an error occurs during the evaluation of a specific property, the node will not execute any subsequent properties.  This feature can also be disabled by setting the node to ignore errors.
  • By default, all Property Node values will be set to Read, while Attribute Nodes are initially set to Write. The setting for specific properties can be changed by Right-Clicking on the node and selecting Change to Write or Change to Read.

Additional Information

An example of the attribute nodes can be found below:



You create Property Nodes the same way you created Attribute Nodes in earlier versions of LabVIEW. Right-click the front panel object or its block diagram terminal and select Create»Property Node from the shortcut menu to create a Property Node on the block diagram that is implicitly linked to the object on the front panel.

WAS THIS ARTICLE HELPFUL?

Not Helpful