python - 尝试使用 python 读取 TDMS 文件,但出现“检查 tdm_index 是否与文件匹配”错误
问题描述
当我运行此代码时:
from nptdms import TdmsFile as tf
file = tf('myfile.tdms')
我收到以下错误:
“检查 tdms_index 文件是否与 tdms 数据文件匹配。”)
ValueError:试图读取位置 123 处的数据段,但未找到段起始标头。检查 tdms_index 文件是否与 tdms 数据文件匹配。
我做错了什么,我需要改变什么?
解决方案
推荐阅读
- c - 排序程序 C 中的分段错误
- kubernetes - Kubernetes POD 自动化 - 根据旧部署的成功完成安排新部署
- python - Django 管理命令参数
- function - f#上二叉树的前序遍历
- java - Java中基于优先级的文件数据更新和多线程
- c# - 如果它们相同,我如何比较 Transforms 数据,然后检查它们是否为空?
- arduino - 比较来自 AdafruitIO_Data 对象的字符串
- java - 通过 Native Query 组合多个参数进行搜索
- java - PagingAndSortingRepository findByattributename 问题
- google-apps-script - 尝试创建一个脚本,如果工作表中的特定单元格/范围为空白,则发送电子邮件