11-19-2012 04:35 AM - edited 11-19-2012 04:37 AM
Hi,
this is not really a DASYLab-question, but i don't know where to post this:
I want to read a TDM-file using the TDM C-DLL provided on this NI-page: http://digital.ni.com/public.nsf/allkb/A3663DE39D6A2C5A86257204005C11CA
The sample data file was created with DASYLab 12 (see attachments).
The (attached) code is compiled without any errors in Visual Studio 2010.
When i start the executable an error is displayed (see attached image).
What is the problem?!
Solved! Go to Solution.
11-19-2012 07:12 AM
Try Diadem...
11-19-2012 07:23 AM - edited 11-19-2012 07:23 AM
Reading the TDM file in Diadem works flawless, but this insight does not help me: I am researching ways to use TDM data as input for DASYLab. So, i need to understand why the NI provided source and dll is unable to read a data file, that was created by an NI software... 😉
11-19-2012 09:00 AM
Haven't had time to run your code, but maybe the first group having no channels might cause the problem.
11-20-2012 02:03 AM
Yes the reason for the error is the first group having no channel.
I have modified the example to read your tdm file without errors. Please have a look to the attached file.
11-20-2012 09:53 AM
Danke! Works like a charm.