"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 datapoint element node will be shown (no configs and config attributes) LAST_NODE_DP - everything up to the datapoint node will be shown LAST_NODE_DPTYPE - only the datapoint 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 datapoint type is defined. In addition, the view is filtered for all datapoint types with the content "Example*".
main()
{
DP_TREE1.dpTypeFilter("Example*");
DP_TREE1.lastNode("LAST_NODE_DPTYPE");
}
Assignment
DpTreeView
