11-26-2009 01:18 PM
>> calllib('nilibddc','DDC_OpenFileEx',Data_Path,ftype,1,pfile)
-6210 DDC_CannotWriteToReadOnlyFile - The file passed to the library is read only and cannot be modified.
ERROR: TDS Exception in Initialize: Tds Error: TdsErrFileVersionTooNew(-2510).
11-30-2009 08:25 AM
Hi DSA,
For DAQmx 9.0 generated TDMS files, they are all TDMS 2.0 verison. Please refer to this link for more information about TDMS 2.0 version:
http://zone.ni.com/devzone/cda/tut/p/id/9995#9
For some common TDMS 2.0 files like the 2.0 version TDMS file generated in LabVIEW, they can be converted to 1.0 in LabVIEW 2009, by using the node "TDMS Convert Format" on TDMS menu palette, but for DAQmx 9.0 generated TDMS files, it cannot be converted by "TDMS Convert Fomrat" in LabVIEW because they store DAQmx raw data in TDMS files.
For your problem, maybe you can try to open the file in LabVIEW 2009 to read out the DAQmx scaled data by using "TDMS Read" and then process the data.
Please feel free to let me know if you have any more question.
11-30-2009 09:00 AM - edited 11-30-2009 09:05 AM
Thanks for your reply YongqingYe,
At least, I know why I can't use the Matlab example to import my tdms file.
I'll try to use other ways to convert my data or import them in Matlab.
Do you know if an other release of the nilibddc.dll is planned to support the tdms v.2 ?
Regards,
David
11-30-2009 08:18 PM
Sorry, I don't have the idea when the release of the nilibddc.dll is planned to support the tdms v.2, but I guess it would not be too long 🙂
12-01-2009 10:53 AM
Hi David,
I don't have specific details on the release of the TDM C DLL for version 2.0 support, but when I get it I will investigate what changes have affected the import example. I will have the documentation updated and notify you via this forum. Thanks for your patience.
03-19-2010 02:31 AM
Hello,
Ran into the same problem. Any updates on releasing an update to the dll that support v2.0 TDMS?
Thank you.
Sidhant
03-22-2010 02:27 PM
Hello Sidhant,
As of now there aren't any updates for when an update to the dll may be coming. What you can do is use the TDMS Convert Format.vi in LabVIEW 2009 to convert it back to TDMS 1.0. I hope this helps.
Regards,
03-22-2010 02:50 PM
Hi Sidhant and David,
There isn't an updated example, as of yet. I will update this forum when there is an update. Thank you for your patience.
05-17-2010 10:44 AM
There is a new version of the MATLAB TDM example available which supports TDMS 2.0 files.
Please find the new versione here:
10-05-2010 02:11 PM