Error when using function, tdmsinfo( ) or tdmsread( ) or tdmsprop( ) in Matlab 2022a

14 visualizzazioni (ultimi 30 giorni)
Hello, I am using ver. 2022a and am receiving an error when trying to use tdmsinfo( ), tdmsread( ), or tdmsprop( ) with my .tdms files outputted by LabView 2017.
The error I receive is: "Channel Group Property name does not exist."
and the single line of code I am running for this is: data = tdmsinfo("OHLIF_Scan_pos1.tdms")
...where OHLIF_Scan_pos1.tdms (tried to attach but .tdms files are not supported on this forum apparently) is in the current working directory. I have tried this with the other functions mentioned above and I get the same error. I have also tried following the procedure detailed here by MathWorks to no avail. I have been able to use these functions without any problems recently with .tdms files outputted by LabView 2019 - I hope the version of LV being older isn't the reason. Any help on this would be greatly appreciated. Thanks!

Risposte (1)

Stephen Price
Stephen Price il 2 Mag 2022
Modificato: Stephen Price il 8 Giu 2022
I have not tried this yet for .tdms files from earlier LabView versions than 2020, but this thread could have the answer as my files do not have named channels or group names - they are just "Untitled #":
https://www.mathworks.com/matlabcentral/answers/1679334-error-using-the-tdmsinfo-function?s_tid=mlc_ans_email_view#answer_955345

Categorie

Scopri di più su TDMS Format Files in Help Center e File Exchange

Prodotti


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by