TDMS file opener error message

조회 수: 5 (최근 30일)
Jae wook Oh
Jae wook Oh 2022년 1월 26일
답변: ag 2024년 1월 10일
Hi,
I'm trying to open the TDMS file with the source code from TDMS Reader - File Exchange - MATLAB Central (mathworks.com).
I was able to open some files but weren't able to open files saved using DAQmx assist block.
The error I'm getting is as in the picture below.
The code I use is
routeV = 'I:\Temp';
A = 1;
B = 4;
for a = 1:A
[P,~] = TDMS_readTDMSFile([routeV,'_',num2str(a.','%04d'),'.tdms']);
% for b = 1:B
% DB(:,a,b) = P.data{1,b+2}';
% end
end
and the files I'm trying to open are in the attached file.
Thank you in advance.
  댓글 수: 2
Geoff Hayes
Geoff Hayes 2022년 1월 26일
@Jae wook Oh - please attach the image with the error (or copy and paste the error to this question).
Jae wook Oh
Jae wook Oh 2022년 1월 27일
편집: Jae wook Oh 2022년 1월 27일

댓글을 달려면 로그인하십시오.

답변 (1개)

ag
ag 2024년 1월 10일
Hi Jae,
I found out that your question has already been addressed on the discussion forum of "TDMS" File exchange page.
I am quoting the reply from the discussion forum here, for better reach,
"Reading raw DaqMX data is not supported as it is a proprietary format. You may also wish to look at TDMS_getStruct() as it is generally easier to use".
Best Regards,
Aryan Gupta

카테고리

Help CenterFile Exchange에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by