01-09-2025 03:07 AM - edited 01-09-2025 03:10 AM
Hi everyone,
I am facing an issue with a TDMS file that I am generating dynamically via Python. I am using the nptdms
library to read, modify, and write TDMS files in my script.
Here’s the process I’m following. I am working with a Digital Pattern Instrument (PXIe-6571) for testing.
TdmsWriter
.However, when I try to open the newly created TDMS file (which I write as a copy of the original file), it seems to be corrupted and can’t be opened using the Digital Pattern Editor (DPE).
When I check both the original and updated TDMS files in Python, the root, group, and channel properties are identical between the two, based on the printed output.
I attached the copy of the code and the output.
Has anyone encountered a similar issue where a dynamically created TDMS file is not opening in DPE? I downloaded a TDMS viewer and I can open it with similar contents as the original tdms file.
Any help would be appreciated. Thanks.