From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Feedback on NI Community

cancel
Showing results for 
Search instead for 
Did you mean: 

File Conversion to TDMS

We are university students trying to manually convert .csv files to .tdms files using python for our mini project. Does anyone has any information regarding the code required to perform this function. 

0 Kudos
Message 1 of 2
(3,614 Views)

First of all, you posted in the wrong forum board. This board is dedicated to general questions/requests about the NI webpages and how the forum works, etc...

 

Secondly, your question should be raised in a Python forum, do not you think? Since you want to use Python and not LabVIEW to make the conversion. Why do not use simply LabVIEW to convert csv files to TDMS files? Just straightforward and easy!

 

Anyway, if you must use Python for this conversion, you should check out these websites:

https://github.com/adamreeve/npTDMS

http://nptdms.readthedocs.io/en/latest/

 

And here about how TDMS files structured, plus ideas about plugin usage:

http://www.ni.com/white-paper/3727/en/

0 Kudos
Message 2 of 2
(3,579 Views)