LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

C TDMS DLL Visual Studio 2008

Hello,

 

I am pretty new to C/C++ development but I downloaded the C DLL for TDMS reading/writing. First I just opened the readFile.c sample and it said it couldn't find a needed header file. Then I made a new solution in Visual Studio 2008 where I made a c file and an h file and copied in the code from the TDMS C package. During compile I get errors like:

Error    1    error LNK2019: unresolved external symbol _DDC_GetLibraryErrorDescription@4 referenced in function _main    readTDMS.obj    TDMSNI

 

Can someone give me a step by step instruction on how I can run the readFile.c in the Windows console and see it read the data? 

0 Kudos
Message 1 of 4
(4,168 Views)
0 Kudos
Message 2 of 4
(4,161 Views)

That didn't help since I no longer have LabView installed on my computer and only have few remains in the NI folder. As far as I understand the TDMS format is open so can't I just write a TDMS reader using these DLL's without having LabView installed?

 

0 Kudos
Message 3 of 4
(4,135 Views)
Did you just create a header file or did you add the nilibddc.h from \dev\include directory as mentioned in the README:

The 'dev' directory contains the header file, import libraries, and binaries
to be used during development. 
Richard S -- National Instruments -- (former) Applications Engineer -- Data Acquisition with TestStand
0 Kudos
Message 4 of 4
(4,125 Views)