LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS reader does not work with the New Matlab R2007b verson

I tried to use the TDMS file reader that was posted. It only works with the R2007a version of the Matlab -- not with the R2007b version. I get the following error message:
 
 

??? There was an error loading the library "e:\NI\MatLab TDM

Example\bin\nilibddc.dll"

Error using ==> loaddefinedlibrary

The specified procedure could not be found.

 

 

 

Error in ==> loadTDM at 16

loadlibrary([examplePath '\nilibddc'], hfile);

 

Please help. thanks.

 

 

Raju Damarla

0 Kudos
Message 1 of 21
(5,029 Views)
I assume you're referring to the link I had provided in your original thread.

It seems you're not the only one with this issue. It is also not limited to the latest version of Matlab. The same thing happens with 6.5.1, which is what I have on my machine.

It looks like the problem may have to do with IE7 which has a dependency to that Vista-only DLL referenced by tytell. Do you have a machine with IE6 that you can try this on? Or, it's possible that whoever updated the DLL may have done so on a Vista machine. It was recently updated by NI on 5/30/2007.


Message Edited by smercurio_fc on 12-10-2007 03:04 PM
0 Kudos
Message 2 of 21
(5,018 Views)

I have Internet Explorer 6.0.2900. Well if you know the fix for the Matlab R2007b please let me know. Thanks.

 

 

0 Kudos
Message 3 of 21
(5,013 Views)

Hello! got the same phenomenon on matlab r2007b on XP SP 2 with IE7 installed

Any help will be appreciated; I believe,

NI should pick up the gauntlet and fix this

Raphael

 

 

0 Kudos
Message 4 of 21
(4,988 Views)
Thank you for bringing this issue to our attention.  Unfortunately, this example is not officially supported by National Instruments, and is not compatible with The MathWorks, Inc. MATLAB(R) software environment versions R2007b and later.  We currently don't have a DLL that will work with this version.  
0 Kudos
Message 5 of 21
(4,952 Views)
That makes sense. Except for the fact that I got the same error running it in Matlab 6.5.1, which is supposedly what the example is written for.
0 Kudos
Message 6 of 21
(4,947 Views)
Thanks for bringing this to our attention.  The example found in the KnowledgeBase that you are referring to, was actually written for MATLAB 6.5.  I can see where this is misleading, so I have updated the KnowledgeBase to avoid future confusion.  Thanks again!  
0 Kudos
Message 7 of 21
(4,920 Views)

FYI- i just installed Matlab 7.4 (r2007a) and the tdm reading script works for me (on XP SP2 with IE7)

the script hadn't worked on r2007b, as I stated on a previous message in this thread

Raphael

0 Kudos
Message 8 of 21
(4,906 Views)


Meghan M wrote:
Thank you for bringing this issue to our attention.  Unfortunately, this example is not officially supported by National Instruments, and is not compatible with The MathWorks, Inc. MATLAB(R) software environment versions R2007b and later.  We currently don't have a DLL that will work with this version.  


Is the compatibility problem with the DLL itself, or with the example m-file?
 
Does NI plan to address this issue, or does anyone else know of a workaround?
 
This is an extremely useful capability and I'm sure many people who use MATLAB and LabVIEW would appreciate support of this functionality.
 
On another note, I have encountered a problem (under 2007a) with random segmentation errors in MATLAB. This seems to be associated with the functions DDC_GetChannelPropertyNames, DDC_GetChannelGroupPropertyNames, and DDC_GetFilePropertyNames. It's hard to tell if this is a problem with my code, the DLL, or MATLAB itself. Does anyone have a solution to this?
 
Thanks
 
The views expressed in this site are those of the originator and do not necessarily represent the views of NPL Management Ltd. Nothing in this post shall bind NPL Management Ltd in any contract or obligation
The views expressed in this site are those of the originator and do not necessarily represent the views of NPL Management Ltd. Nothing in this post shall bind NPL Management Ltd in any contract or obligation.
0 Kudos
Message 9 of 21
(4,713 Views)

The compatibility issue between The MathWorks, Inc. MATLAB(R) software version R2007b and National Instruments software is due to the TDM-C DLL.  We are currently working on updating the TDMS reader, and other parts of LabVIEW to work with this version of The MathWorks, Inc. MATLAB(R) software.

What are the error messages that you are receiving with The MathWorks, Inc. MATLAB(R) software version R2007a?  Also, how are they related to the functions that you have listed? 

 

 

 

0 Kudos
Message 10 of 21
(4,679 Views)