CNVVariableEngineIsRunning
- Updated2023-02-21
- 1 minute(s) read
CNVVariableEngineIsRunning
int CNVVariableEngineIsRunning (int *isRunning);
Purpose
Indicates whether the Variable Engine is running.
The Variable Engine hosts network variables on the local computer. If the Variable Engine is not running, programs cannot connect to or read/write values from the network variables hosted on the local computer.
(Real-Time Module) This function is not supported.
Parameters
Output | ||
Name | Type | Description |
isRunning | int | Returns the state of the variable engine. A non-zero value indicates that the variable engine is running; zero indicates that the variable engine is not running. |
Return Value
Name | Type | Description |
status | int | Return value indicating whether the function was successful. One indicates that a next item was found, zero indicates that a next item was not found, and a negative number indicates that an error occurred. You can call CNVGetErrorDescription to obtain a string that describes the error. |
Additional Information
Library: Network Variable Library
Include file: cvinetv.h
LabWindows/CVI compatibility: LabWindows/CVI 8.5 and later
Example
Refer to networkvariable\Configurator\configurator.cws for an example of using the CNVVariableEngineIsRunning function.