LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get tdms Channel names in matlab

Hello again,

the failed execution of the script under r2007b generated a log file with the message:

fatal error (80) :Data model "http://www.ni.com/DataModels/USI/TDM/1_0" not found!

Hope it helps.

Regards,

0 Kudos
Message 41 of 47
(2,008 Views)
Hello Chris,

I will stick to r2007b for the time being. A bit to your questions: The example worked only the first time i ran it. Also, it complained then that it could not find the file usiEx.dll although it was in the same folder as nilibddc.dll. As output, I got two figures with various sine waves. However, since then i am only getting error 6210 when i try to open the file.

I am working with a fresh copy of the example files so that nothing is altered.
0 Kudos
Message 42 of 47
(2,004 Views)
Forgot to answer one of your questions:

the error code is being returned by DDC_OpenFileEx. Just out of curiosity I also tried the obsolete version DDC_OpenFile but same old story.
0 Kudos
Message 43 of 47
(1,999 Views)
Hello Chris,

I have found out what was going wrong with r2007b. Like i mentioned in one of my  messages, during the first and only run of the script, it complained about the file usiEx.dll being missing. As a result, i copied all the dlls that came with the example into the default matlab folder for binaries. This somehow caused the error while opening the tdm files. After deleting the files from the bin folder, the example works flawlessly.

I am able to modify the example to work with other tdm files and extract bits and pieces of data at will.

I still haven't had much success with previous versions of Matlab though. I hope you will be able to help me out on that.

Thanks for all the help.

Cheers,
0 Kudos
Message 44 of 47
(1,960 Views)

SVJ,

That's great to hear that you have it working with R2007b.  We've only tested the DLL and written the current examples to work with R2007a, R2007b, and R2008a, so I cannot guarantee that it will work with earlier versions.  However, I will see what can be done to the examples to get them working with R14 SP3, and I will keep you posted.

Chris M



Message Edited by CMal on 05-30-2008 09:22 AM
0 Kudos
Message 45 of 47
(1,948 Views)
Hello Chris,

I have convinced people around me to stick to newer versions of Matlab so we wont be needing a working version for R14. No pressure on you from me hence.

Many thanks for all your help.

Cheers,
0 Kudos
Message 46 of 47
(1,930 Views)
I think to get rid of the "Warning: The library class 'nilibddc' already exists." error you have to erase the .tdms_index file that is created. I also have received this error message and have fixed the problem doing so. A new .tdms_index file is created but that one does not seem to interfere.
Alfredo
0 Kudos
Message 47 of 47
(1,494 Views)