Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 650 Bytes

getdcivaluebydescription.adoc

File metadata and controls

26 lines (21 loc) · 650 Bytes

GetDCIValueByDescription()

GetDCIValueByDescription(node, description) => String or table

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

Table 1. Parameters

node

[class-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.

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