Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

C/C++ library for reading TDMS files like nilibddc, but under Linux

@admins: I could not find the perfectly matching board for my question. If there is a better matching board for my question, please feel free to move it.

 

We need to develop a Linux component in C/C++ which is able to read TDMS files.

We are aware of nilibddc.dll which allows reading TDMS files under Windows.

Basically, we are searching exactly for this functionality, but running under Linux rather than Windows.

 

  • Is such a library available from NI?
  • As an alternative, is it possible to get the C source files of nilibddc, so that we can port and compile them into a Linux shared library. Can NI provide the source files (either free, or as a product)?

 

Thank you!

0 Kudos
Message 1 of 2
(254 Views)

I don't think you can get the source code from NI. NI never has honored such requests for any of their products. They had some special source code packages for some drivers that they sold for good money, but that was always a rewritten and usually heavily simplified version of their real driver for embedded system applications.

 

Your best bet would likely be projects like:

 

https://github.com/adamreeve/npTDMS  a numpy based Python library

https://github.com/rubdos/TDMSpp the cpp based port of the IO routines for above library

https://github.com/mikeobrien/TDMSReader a C# implementation of a TDMS reader library

 

And finally https://www.ni.com/en/support/documentation/supplemental/06/the-ni-tdms-file-format.html which is the canonical public description of the format from NI themselves.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 2
(50 Views)