Skip to main content

NRC_SetIntVar(int num, int value)

Set the value of an INT variable

Type

int=>Set the value of an INT variable

Return valueDescription
0The function is called successfully
-101Invalid input parameter
-102The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value
-103The target object is currently in an inoperable state

Parameter Option

ParameterTypeDescription
numintThe number of the INT variable, value range: 0 < num <= 100
valueintThe target value to be set

Sample code

NRC_SetIntVar(1,66);//Assign 66 to the variable GI001