GetDCIValueByDescription

Deprecated in 6.2.

Please use findDCIByDescription() and the cachedValue attribute instead, for example $node.findDCIByDescription(description)?.cachedValue.

GetDCIValueByDescription(node, description): String | Table

Get last value of DCI with given description on given node.

Table 1. Parameters

node

Node

Node object instance (e.g. $node)

description

String

DCI description.

Return

Last value for given DCI (String for normal DCIs and Table object for table DCIs) or null if DCI with given description does not exist or has no collected values.

GetDCIValueByDescription($node, "Status")	// 0