NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand API questions when used in Labwindows: How to solve the problem like "Undefined symbol '_TS_PropertyGetValNumber@20'reference in "sample.c"


 Sometimes, when compiling, I will encounter the problem like "Undefined symbol '_TS_PropertyGetValNumber@20'reference in "sample.c" , I don't know how to resolve this kind of problem and what's the cause?
 
Thanks!
Jacky
0 Kudos
Message 1 of 2
(2,597 Views)
"Undefined symbol" means  that you are using a  variable/function  which is defined in an external library ( that includes instrument drivers)  , but you don't link that library to your code. In Labwindows/CVI you usually configure the linker to add a library by adding the function panel of the library/instrument to the project. In your example it seems that you need to add the Teststand API function panel to you project.  
0 Kudos
Message 2 of 2
(2,594 Views)