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?
1.4m articles
1.4m replys
5 comments
57.0k users