Skip to content

Files

Latest commit

fc9646d · May 6, 2020

History

History
31 lines (25 loc) · 634 Bytes

getdcivalue.adoc

File metadata and controls

31 lines (25 loc) · 634 Bytes

GetDCIValue()

GetDCIValue(node, dciId) => String or Table

Get last collected value of the DCI. Return null on error, [class-table] instance for table DCI or String otherwise.

Table 1. Parameters

node

[class-node]

node object instance (e.g. $node)

dciId

Integer

DCI ID

Return

[class-table] for table DCIs, String, or null if failed or no data is available.

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