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

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!

Antworten (1)

Stephen Price
Stephen Price am 2 Mai 2022
Bearbeitet: Stephen Price am 8 Jun. 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

Kategorien

Produkte

Version

R2022a

Gefragt:

am 29 Apr. 2022

Kommentiert:

am 26 Mär. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by