Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure root and group objects required are written #306

Merged
merged 1 commit into from
Jun 19, 2023
Merged

Conversation

adamreeve
Copy link
Owner

As discussed in #303, we should ensure TDMS files are written with a root/file object and all groups used by channels have an associated object. From the TDMS format docs:

In order for all TDMS client applications to work properly, every TDMS file must contain a file object. A file object must contain a group object for each group name used in a channel path.

I've also made sure that the root and group objects are ordered first in the object metadata, although I'm not sure that's really necessary.

All TDMS files should have a root/file object, and all
groups containing channels should have an associated group object.
@adamreeve adamreeve merged commit e98b9eb into master Jun 19, 2023
@adamreeve adamreeve deleted the write_groups branch June 19, 2023 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant