06-28-2012 03:14 AM
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
07-02-2012 05:03 AM
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.
07-02-2012 06:51 AM
Thanks!!
07-02-2012 07:06 AM
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!!