Why am I unable to import TDMS files using MATLAB Data Acquisition Toolbox R2023a?
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 26 Mar 2024
Modifié(e) : MathWorks Support Team
le 27 Mar 2024
I am attempting to import a TDMS file but following error appears:
>> data = tdmsread('MyFile.tdms')
Channel Group Property name does not exist.
What steps can I take to avoid this error?
Réponse acceptée
MathWorks Support Team
le 27 Mar 2024
This is a known issue with releases of the Data Acquisition Toolbox prior to R2024a, which may not be able to read some TDMS files generated with third-party tools, such as NI LabView and NI FlexLogger.
As of R2024a, calling "tdmsread" on a file like this should prompt you to use "tdmsconvert" to generate a TDMS v2.0 file that contains the same information.
You should be able to call "tdmsread" (and other functions, such as "tdmsinfo") on the TDMS v2.0 file without encountering an error.
Here is the documentation page for "tdmsconvert", which was introduced in the R2024a release of the Data Acquisition Toolbox:
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Communications Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!