GetDCIValue

GetDCIValue(node, dciId): String | Table

Get last collected value of the DCI. Return null on error, Table instance for table DCI or String otherwise.

Table 1. Parameters

node

Node

node object instance (e.g. $node)

dciId

Integer

DCI ID

Return

Table for table DCIs, String, or null if failed or no data is available.

>>> GetDCIValue($node, FindDCIByName($node, "Status"))
0
>>> GetDCIValue($node, FindDCIByName($node, "Non-Existing"))
null