"lastNode"

Defines the last node type (DPT, DP, DPE, ...) which should be shown in the data point tree view.

Synopsis

setValue(string shape, "lastNode", string node);

getValue(string shape, "lastNode", string &node);

shape.lastNode(string node);

Parameter

Parameter Description
shape Name of the object
node

The following values are possible:

LAST_NODE_CONFIG_ATTR - everything will be shown: DPT, DP, DPE, config and config attribute

LAST_NODE_CONFIG - everything up to the config node will be shown (no config attributes) - default in the PARA

LAST_NODE_ELEMENT - everything up to the data point element node will be shown (no configs and config attributes)

LAST_NODE_DP - everything up to the data point node will be shown

LAST_NODE_DPTYPE - only the data point type node will be shown

LAST_NODE_SYSTEM - only the system node will be shown

Description

Defines the last node type (DPT, DP, DPE, ...) which should be shown in the data point tree view.

Example

In the following example as last node to be shown the data point type is defined. In addition, the view is filtered for all data point types with the content "Example*".

main()
{
  DP_TREE1.dpTypeFilter("Example*");
  DP_TREE1.lastNode("LAST_NODE_DPTYPE");
}
Figure 1. View in the data point tree with the last node type DPT
Figure 2. View in the data point tree with config attributes

Assignment

DpTreeView