Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
475 views
in Technique[技术] by (71.8m points)

labview - Trying to read a TDMS file using python but I get a "check whether the tdm_index matches the file" error

When I run this code:

from nptdms import TdmsFile as tf 
file = tf('myfile.tdms')

I get the following error:

"Check that the tdms_index file matches the tdms data file.")

ValueError: Attempted to read data segment at position 123 but did not find segment start header. Check that the tdms_index file matches the tdms data file.

What am I doing wrong and what do I need to change?

question from:https://stackoverflow.com/questions/66050662/trying-to-read-a-tdms-file-using-python-but-i-get-a-check-whether-the-tdm-index

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...