CNVCreateBrowser
int CNVCreateBrowser (CNVBrowser *browser);
Purpose
Creates a network variable browser object that you can use to look for and enumerate existing network variables. Alternatively, you can call the NetworkVariablePopup toolbox function to browse for network variables.
![]() |
Note To avoid deadlocks, do not call this function in a network variable callback function. |
Parameters
Output | ||
Name | Type | Description |
browser | CNVBrowser | A handle that you can use to browse network variables. Call CNVDisposeBrowser to dispose the handle when you are done using it. |
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.1 and later