Block Group: | Data Services |
Block Icon: |
The Get Node block returns metadata about a data node.
For information on using dataflow blocks, see Dataflow.
The following property of the Get Node block can take input and give output.
path specifies the absolute location of the node to get metadata for.
The following properties of the Get Node block can give output but cannot take input.
name returns the name of the node.
hasChildren returns TRUE if the node has children, FALSE if it is terminal.
hasValue returns TRUE if the node is associated with a value, FALSE otherwise.
hasHistory returns TRUE if the node is associated with a value history, FALSE otherwise.
type returns the data type of the node, if applicable.
icon returns the absolute file path to the icon that represents the node.
unit returns the units of the node, if applicable.
enum returns the names of the enum options, if applicable. For a boolean value, this column holds the strings associated with each value, such as "On" and "Off".
actions returns a table of the actions that can be taken on this node, such as setting its value. Each row of this table contains a nested table that lists the parameters of that action. To view a nested table, see How do I view the data in nested tables?
error returns the error string, if applicable.
The following image shows an example of the Get Node block. In this example, the “Training” node is dragged to the path property to populate the Get Node block.