Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

cannot open tdms file

Solved!
Go to solution

Hi Pery S,

Thanks for your replay.

 

I create the TDMS file while recording the data

DAQmxConfigureLogging(taskHandle, logFile.toAscii().constData() ,DAQmx_Val_LogAndRead,"GroupName",DAQmx_Val_OpenOrCreate)

Then when I try to open it I got the 6210  error.

 

Here link to TDMStesting example

http://forums.ni.com/t5/LabWindows-CVI/TDMS-DLL/td-p/792269

 

 

 

0 Kudos
Message 11 of 14
(4,298 Views)

Hi Simon27,

 

I have tested the file that you created and it opened successfully in two out of the three environments that I used. I was able to open it in DIAdem and Visual Studio 2010 (Using a cs Measurement Studio example). When I tried using LabWindows CVI, which is a c development environment I ran into some runtime errors. The errors told me that some properties were not correctly defined. I am looking more into it. I will let you know what I find.

 

Regards,

 

Perry S.

Applications Engineer
National Instruments
0 Kudos
Message 12 of 14
(4,281 Views)

Thanks!!

0 Kudos
Message 13 of 14
(4,278 Views)
Solution
Accepted by topic author simon27

I solved it by using the "Dominonilibddc" libary.

I found it at http://forums.ni.com/t5/Measurement-Studio-for-VC/TDMS-read-error-getdatatype/m-p/1584692#M7241

 

And I copied the Data Models folder with the dll files to the build folder of my project and it solved it.

 

 

Perry S. thanks alot for your guidance!!

0 Kudos
Message 14 of 14
(4,276 Views)