NRC_ReadDoubleVar(int num)
Read the value of a DOUBLE variable
Type
double=>Read the value of a DOUBLE variable
| Return value | Description | 
|---|---|
| 0 | The function is called successfully | 
| -101 | Invalid input parameter | 
| -102 | The target object does not exist. This typically occurs when the system initialization is incomplete, and calling other functions may return this value | 
| -103 | The target object is currently in an inoperable state | 
Parameter Option
| Parameter | Type | Description | 
|---|---|---|
| num | int | The number of the DOUBLE variable, value range: 0 < num <= 100 | 
Sample code
double doublelVar = NRC_ReadDoubleVar(1);//Read the value of variable GD001 and assign it to doublelVar