|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 CNVSetConnectionAttribute (void *handle, CNVConnectionAttribute attribute, ...);
Sets the value of the specified connection attribute for subscriber, reader, writer, and other network variable connections.
|Note To avoid deadlocks, do not call this function in a network variable callback function.|
|handle||void *||The handle that identifies the network variable connection.|
|attribute||CNVConnectionAttribute||The connection attribute value you want to set.|
|value||...||The value to which to set the connection attribute.|
|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.1 and later
Refer to networkvariable\Buffering\NVBuffering.cws for an example of using the CNVSetConnectionAttribute function.