GetDCIValue
- GetDCIValue(node, dciId): String | Table
-
Get last collected value of the DCI. Return
nullon error, Table instance for table DCI, or the value otherwise. Values of DCIs with data type unsigned integer, 64-bit integer, counter, or float are converted to the matching numeric type; other values are returned as String.Table 1. Parameters node
node object instance (e.g.
$node)dciId
Integer
DCI ID
ReturnTable for table DCIs, value (see above), or
nullif failed or no data is available.
>>> GetDCIValue($node, FindDCIByName($node, "Status")) 0 >>> GetDCIValue($node, FindDCIByName($node, "Non-Existing")) null