Does anyone know of a way to read and write the National Instruments binary file type (TDMS) in python under linux? I know that NI has a C DLL available, but I don’t know how to access that through python, or if I even can do so under linux.
Advertisement
Answer
It looks like TDMS isn’t directly supported under Linux (see here).
Your options currently are to use the G-based functions directly in LabVIEW (It’s possible that you can wrap them in a .so file), calling LabVIEW from Python, or building your own file parser from the TDMS spec.
Sorry, no really easy options.
Edit: It looks like there may be an open source project to try to do this at http://sourceforge.net/projects/pytdms/. Worth a try, at least.