01-25-2010 06:02 AM
I want to use the TDMS files to store data and do offline analysis in Matlab, version 2009b (either on Mac OS10.6 or Windows XP).
To test the data import in Matlab I tried the example from http://digital.ni.com/public.nsf/allkb/0EEADA99DC7D00A4862572E30037C3A2 , but without success.
I tried either with and without the path definition (as explained on the page I referred to before) at the start, and got back the following errors:
with:
??? Error using ==> loadlibrary>deltempfiles at 559
nilibddc_m.i.
Error in ==> loadlibrary at 452
deltempfiles(delfiles);
Error in ==> Read_TDMData at 7
loadlibrary([examplePath '\nilibddc'], hfile);
without:
??? Error using ==> loadlibrary>deltempfiles at 559
nilibddc_m.i.
Error in ==> loadlibrary at 452
deltempfiles(delfiles);
Error in ==> Read_TDMData at 36
loadlibrary(NI_TDM_DLL_Path,NI_TDM_H_Path);
I found a few messages on the issue, dating from 2006 and 2007, that didn't lead to a satisfying solution and was hoping that, by now, there would be a solution to my problem.
Thanks a lot
Remco
Solved! Go to Solution.
01-25-2010 06:53 AM
01-25-2010 09:31 AM
Hi Musk,
Thanks for your answer.
Unfortunately it didn't help as my problem is not discussed there. I have a problem with this line:
loadlibrary(NI_TDM_DLL_Path,NI_TDM_H_Path);
I said before that I was using 2009b, but I was mistaken, I have R2008a, but the 'loadlibrary' is opened in a 2008b editor (no idea why). On the Mac I have 2009b installed.
Thanks
Remco
01-25-2010 09:55 AM
Did you copy the nilibddc.dll to some other place?
If yes, did you copy all the content of the dev/bin folder? Including sub-folders?
01-26-2010 01:04 AM
Thanks! Using the files in the original folder and manually deleting the nilibdcc_m.h file, that was created in the \...\temp directory, solved the problem.
01-26-2010 01:12 AM
Sorry, it was the nilibdcc_m.i file I had to delete.
And I need to keep doing this before every run to have the code working.
Cheers
Remco