Difference between revisions of "NXSL:PushDCIData"

From NetXMS Wiki
Jump to navigation Jump to search
Line 2: Line 2:
Push new DCI value from script.  
Push new DCI value from script.  


'''Since:''' 2.0.0
'''Since:''' 2.0-M1


== Syntax ==
== Syntax ==
Line 14: Line 14:
| ''node'' || [[NXSL:Node|Node]] object containing required DCI.
| ''node'' || [[NXSL:Node|Node]] object containing required DCI.
|-
|-
| ''dciId'' || DCI id were new value will be pushed.
| ''dciId'' || DCI id for which new value will be pushed (DCI source must be set to "Push").
|-
|-
| ''value'' || Value witch should be pushed.
| ''value'' || New value for DCI.
|}
|}


Line 26: Line 26:


<syntaxhighlight lang="c">
<syntaxhighlight lang="c">
   dci = PushDCIData($node, 46, 13);
   PushDCIData($node, 46, 13);
</syntaxhighlight>
</syntaxhighlight>

Revision as of 10:03, 25 November 2014

Push new DCI value from script.

Since: 2.0-M1

Syntax

PushDCIData(node, dciId, value);


Parameters

node Node object containing required DCI.
dciId DCI id for which new value will be pushed (DCI source must be set to "Push").
value New value for DCI.

Return Value

No return value

Examples

   PushDCIData($node, 46, 13);