[Kst] [Bug 288472] Date/Time support for ASCII files generated by National Instruments LabVIEW SignalExpress

Ben Lewis egretengineering at gmail.com
Thu Dec 8 22:37:59 UTC 2011


Hi Nicolas,

National Instruments provides a C dll for third party applications to read and write TDMS files. It 
can be downloaded from here http://research.ni.com/run/2007codelicenseagree.  The dll comes with 
examples written in C showing how to read and write TDMS files.

The licence agreement seems to indicate that it could be used and distributed by kst, however, the 
following clause may be a problem:

"You may use the TDM DLL in your product in order for the product to access (i.e., read and write) 
TDM and/or TDMS files.  If your application reads TDM files using the TDM DLL, you must support 
writing TDM files as well."

Also from what I can work out the source code must be compiled with MSCV as the dll was built with 
this compiler (not sure if this is a problem or not).

There is a TDMS file viewer available for download from here 
http://www.dmcinfo.com/Services/Test-and-Measurement-Automation/LabVIEW-Development-and-Programming/TDMS-File-Viewer.aspx. 
This would help during the development of a kst datasource.

Alternatively the datasource could be written from scratch using the information provided here 
http://zone.ni.com/devzone/cda/tut/p/id/5696. An example of this is a plugin for Matlab to read TDMS 
files available from here http://www.mathworks.com/matlabcentral/fileexchange/28771-converttdms-v9.

I have been looking into this for quite sometime now.  I have been teaching myself C++ with the 
eventual aim of writing a TDMS datasource for kst.  But, at this point, it is still beyond me.  
Should I submit a wish request for this also?

Cheers, Ben

On 9/12/2011 8:18 AM, Nicolas Brisset wrote:
> https://bugs.kde.org/show_bug.cgi?id=288472
>
>
>
>
>
> --- Comment #1 from Nicolas Brisset<nicolas brisset eurocopter com>   2011-12-08 21:18:11 ---
> Regarding proper TDMS support, there is apparently a detailed definition of the
> file format available here : http://zone.ni.com/devzone/cda/tut/p/id/5696 so I
> wouldn't be surprised if some people have already written a library to read
> and/or write this format even though so far I have found only a python
> open-source implementation (http://sourceforge.net/projects/pytdms/).
> If we have such a library, adding support for kst would be very simple.
>



More information about the Kst mailing list