CNVProcessIsRunning
int CNVProcessIsRunning (const char *processName, int *isRunning);
Purpose
Indicates whether a network variable process is running.
Parameters
Input | ||||
Name | Type | Description | ||
processName | const char * | The name of the network variable process.
|
||
Output | ||||
Name | Type | Description | ||
isRunning | int | Returns the state of the network variable process. A non-zero value indicates that the network variable process is running; zero indicates that the process 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 CNVProcessIsRunning function.