02-20-2009 05:08 AM
hi NI , i have a problem with CVI . i have a program that run since to weeks ago now not anymore and it gaves me this error of link projekt
undefined symbol '_Ini_PutInt@16' referenced in "testbench.c"
undefined symbol '_Ini_PutDouble@20' referenced in "testbench.c"
undefined symbol '_Ini_GetStringIntoBuffer@20' referenced in "testbench.c"
undefined symbol '_Ini_GetInt@16' referenced in "testbench.c"
undefined symbol '_Ini_GetDouble@16' referenced in "testbench.c"
undefined symbol '_Ini_New@4' referenced in "testbench.c"
undefined symbol '_Ini_Dispose@4' referenced in "testbench.c"
undefined symbol '_Ini_WriteToFile@8' referenced in "testbench.c"
undefined symbol '_Ini_ReadFromFile@8' referenced in "testbench.c"
i dont know why form one day to another it doesnt function anymore
i have done other programs that run in this time and configured the usb 6008 for data acquisition with MAX but dont know why
thanks Elton
Solved! Go to Solution.
02-20-2009 08:47 AM
Hi Tony,
this kind of errors can be seen when a required library is not included in the project. In your case, you must add to the project the IniFile instrument (located in <cvidir>\toolslib\toolbox folder). You can add it to the project as an instrument (menu Instrument >> Load) or as a library (menu Library >> Customise and add the corresponding library to the project, next restart CVI). In the second case you will have this instrument always available for your projects without need to install it in every one of them.
04-08-2011 02:50 AM
Hi,
I have similar problem in my project in Lab Windows CVI 9.0, trying to control a scope.
i used "IviScope" sample program
of CVI and get no error, functions of this instrument driver work fine.
but when i tried to add instrument driver to my project i get (.........undeifned symbol error '_IviScope_init@16 in ***.c'..........)
although that i have adedd IviScope.fp (function panel) to my project (using "add existing file" ...), i can see function of driver under library tree
but i cannot use them due to tihs error.i also added toolbax.fp and ole32.lib (meanwhile i don't know why ole32.dll should be added to project,
it is added in all of the sample instrument control programs of CVI...)
is it about a header file that should be #include d to .c file?
also adding .c and .h files of IviScope to the project couldn't solve the problem,
any idea about this situation?
thanks