10-16-2013 06:22 AM
Hi,
I want to import a TDMS file (attached) into MATLAB using the sample script "ReadFile.m" by NI. The number of values in the channels are more than 1000. Nevertheless, I get the output only for first 1000 values. I looked into the script and found the variable "numvals" that gets the value 1000 when I run the script. This is the result of the DIAdem Connectivity Library function "DDC_GetNumDataValues". Something must be wrong with this function. Is there a way to see the function itself, otherwise how can I cope with this problem?
Thanks in advance, Kadir
10-17-2013 03:48 AM
Hello Kadir,
we could reproduce the issue with your file.
There will be a new release of the ddc lib that would show up this year and will contain an fix for this behavior.
Would this be O.K. for you to wait till ddc lib ships?
Greetings
Andreas
P.S.: The only workaround that I currently think of is load/saveas the file with NI DIAdem to make it work with this DDC standalone version.
P.P.S.: The file would load with NI CVI DDC but the standalone version of ddc lib has this behavior 😞
10-21-2013 04:23 AM
Hi Andreas,
I am trying to find a way to open it in matlab but also waiting for the new library.
Thanks, Kadir