Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

linking errors whlie running C examples of data acquisition using niScope and visual C++

hello,

 

I have an NI PXIe-1071 chassis with 2 PXI 5154 digitizer cards and NI PXIe 8102 controller.

 

I am trying to acquire data using the same. Right now I am trying to compile some of the C based examples given in the documentation of niScope. But I am unable to do so. for instance when I tried to run "ConfigureAcquisition.c ". I am having many errors like the one given below.

 

error LNK2019: unresolved external symbols _niScope_init@16 referenced in function _niScope_GenericConfiguredAcquisition@0

 

for every niScope based function used in the example it is showing the same error. 

 

I have only 2 files niScope.h and niScope.lib. In niScope.h there are declarations for each function but their definition is not there and I came to know that I also require source file of the same to avoid the error. Is this true????

 

if I dont reqire source file please suggest me how to avoid such errors. and if I require source file from where I could find it as I talked with NI people and one of the application engineer told me that this is not available with them. 

 

Please help me with the same.

 

regards

Sagar

0 Kudos
Message 1 of 1
(5,050 Views)