05-28-2012 10:44 AM
Hello,
In my ..\National Instruments\Shared\TDMS folder I have found a file called TDMS.dll.
I belieave that is has been created in order to build the Advanced TDMS Read and Write VIs.
Is there any way I can obtain he header file for it so that I could build a DLL file that I can distribute to customers so that they can use my measurement files ?
I would just like to note that the
Diadem Data Connectivity DLL that is availible for download does not work for me as I am interested in reading files via the Asynchrionius read which is not supported in that package.
Thank you,
Maciej
05-28-2012 08:46 PM
Hi Maciej,
The header file of tdms.dll is NI private, users cannot get it or distribut it. You have to use NI software product to use TDMS.
Please refer to the below link if you want to know TDMS file format internal structure:
http://zone.ni.com/devzone/cda/tut/p/id/5696
Thank you.
05-29-2012 03:30 AM - edited 05-29-2012 03:39 AM
That's not very good....
as ther rest of the world does not have to use NI products.
The other library that you have ( the diadem conenctivity library ) doesnot have the advanced TDMS functinality.
If you look at the comments under the article you've linked to me you will see many people complaining about the documentation accuracy.
The reason I want to use your libraries is becaouse I use your libraries to write the files, so any changes made to the format will be automatically solved.
Would you be able to give me any suggestions that come to your mind how I could provide a library to read my TDMS data using advanced functions to users that use
Java , #C and Matlab?
Thank you,
Maciej
05-29-2012 08:52 PM
Hi Maciej,
I can more or less understand the case that users want to more freely use tdms.dll in their application and even distribute their applicaiton. TDMS is open file format, as far as I know, some users also create their application to write/read TDMS files based on the documentation of TDMS File Format Internal Structure, even without using tdms.dll. However, TDMS is NOT open source code, and the header file of tdms.dll is NI company private.
Regarding the questions how should use TDMS in C#, Java and other language, the answer is still to use NI software products, LabWindows/CVI supports users using TDMS in C language and Measurement Studio supports users using TDMS in C# language, and even in Matlab, we also supply some ways.
Thank you.