Difference between revisions of "NXSL:PushDCIData"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| m (Text replacement - "^" to "{{deprecated}}") | |||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| __NOTOC__ | {{deprecated}}__NOTOC__ | ||
| 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> | ||
Latest revision as of 16:13, 13 September 2022
| This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide) | 
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);