Hallo,
I'm quite new to LabView/LabWindows/CVI. I'm trying to create a very simple C++ application that will exchange Network Shared Variables with a LabView VI.
But no matter which function I call, I always get the error "Argument is invalid". For example when creating a browser to browse for available variables:
int _tmain(int argc, _TCHAR* argv[]) { CNVBrowser* browser = NULL; int retVal = CNVCreateBrowser(browser); if(retVal != 0) { const char* error = CNVGetErrorDescription(retVal); std:: cout << error; }//end if if(browser != NULL) CNVDisposeBrowser(*browser); return 0; }
This gives me a return value of -6393 which means "Argument is invalid".
I suppose there is something very basic I'm doing wrong. Can anyone help me out?
Thanks!