|LabWindows/CVI 2010 Help|
|LabWindows/CVI 2012 Help|
|LabWindows/CVI 2013 Help|
|LabWindows/CVI 2015 Help|
|LabWindows/CVI 2017 Help|
|LabWindows/CVI 2019 Help||LabWindows/CVI 2020 Help|
int CNVStopProcess (const char *processName);
Stops running the network variable process with the name you specify.
|Note If you stop a process, subsequent attempts to connect to its variables fail. Existing subscriber connections do not indicate connection failure and will receive a nonexistent quality event when you call CNVStopProcess. Write operations on existing writer connections to a stopped process will succeed, but the data is not updated on the server.|
|processName||const char *||The name of the network variable process.
|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.
Library: Network Variable Library
Include file: cvinetv.h
LabWindows/CVI compatibility: LabWindows/CVI 8.5 and later
Refer to networkvariable\Configurator\configurator.cws for an example of using the CNVStopProcess function.