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.
"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?
2.1m questions
2.1m answers
60 comments
57.0k users