Difference between revisions of "NXSL:GetDCIValueByDescription"

m
Text replacement - "^" to "{{deprecated}}"
(Created page with "__NOTOC__ Get last value of DCI with given name on given node. == Syntax == GetDCIValueByName(''node'', ''description''); == Parameters == :{| |- | ''node'' || [[NXSL:No...")
 
m (Text replacement - "^" to "{{deprecated}}")
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
__NOTOC__
{{deprecated}}__NOTOC__
Get last value of DCI with given name on given node.
Get last value of DCI with given description on given node.




== Syntax ==
== Syntax ==


GetDCIValueByName(''node'', ''description'');
GetDCIValueByDescription(''node'', ''description'');




Line 20: Line 20:
== Return Value ==
== Return Value ==


Last value for given DCI or '''null''' if DCI with given name does not exist or has no collected values.
Last value for given DCI (string for normal DCIs and [[NXSL:Table|Table]] object for table DCIs) or '''null''' if DCI with given description does not exist or has no collected values.




== Examples ==
== Examples ==


  GetDCIValueByName($node, "Status") -> 0
  GetDCIValueByDescription($node, "Status") -> 0