AutoPatrol, Bureaucrats, Administrators
683
edits
| Line 2: | Line 2: | ||
| Push new DCI value from script.   | Push new DCI value from script.   | ||
| '''Since:''' 2.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  | | ''dciId'' || DCI id for which new value will be pushed (DCI source must be set to "Push"). | ||
| |- | |- | ||
| | ''value'' ||  | | ''value'' || New value for DCI. | ||
| |} | |} | ||
| Line 26: | Line 26: | ||
| <syntaxhighlight lang="c"> | <syntaxhighlight lang="c"> | ||
|     PushDCIData($node, 46, 13); | |||
| </syntaxhighlight> | </syntaxhighlight> | ||