DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

DDC_GetNumDataValues in DIAdem Connectivity Library

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

0 Kudos
Message 1 of 3
(5,611 Views)

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 😞

0 Kudos
Message 2 of 3
(5,590 Views)

Hi Andreas,

 

I am trying to find a way to open it in matlab but also waiting for the new library.

 

Thanks, Kadir

0 Kudos
Message 3 of 3
(5,561 Views)