02-08-2008 09:26 AM
02-11-2008 10:55 PM - edited 02-11-2008 10:56 PM
If you want to try the program with the measurement files II used, I've attached them as well. They both simulate a sine wave with 10 points.
Let me know if this works for you.
02-21-2008 07:48 PM
Hello Jervin,
Thanks for your help. I was able to proceed further. Now I am at a point where I need detailed information about the data. I am trying to obtain the sample increment (for sample rate calculation), offset and date & time. I would appreciate your help in this regard.
Bads19
02-24-2008 11:11 PM
Hi bads19,
The TDM C dll comes with a help file that lists all the functions that you can access from the dll. The help file also describes each of these functions, what they do and what arguments they expect. I believe that would get you up and running. The help file can be accessed under the doc folder in the zip file.
The functions are listed under:
DIAdem Connectivity Library»DIAdem Connectivity Library Functions
Some of the functions that will probably be useful are:
DDC_GetDataValues
DDC_GetChannelProperty
If you need help with something more specific, let me know and I'll do my best to help you out.
02-25-2008 01:29 PM
Hello Jervin,
Thanks for your reply. I was able to read the basic stuff like "name", "description", "unit_string", "minimum", "maximum" (documented in the DLL header). I am trying to get the sample increment with this code. The DDC_CHANNEL_INCREMENT is defined as "wf_increment".
nullChk (property = malloc (sizeof(double*)));
ddcChk (DDC_GetChannelProperty (channels[i], DDC_CHANNEL_INCREMENT,
property, sizeof(double*)));
printf("\n DDC_CHANNEL_INCREMENT %lf", property);
DDC_FreeMemory(property);
This code returns only 0.0. Is there anything wrong with the code. Would you ablso be able to let me know the text that I have to pass for getting the START_OFFSET. I would appreciate your help.
Badri
(309) 578-6709
02-26-2008 11:03 PM
02-27-2008 08:54 AM
Hello Jervin,
Here is the file you had asked for. Right now the test file that I have is a TDM file and I assume the internal header information between the TDM and TDMS are the same. If it is ok with you, you could contact me on my phone number (309) 578-6709 and help me resolve the problem faster. Thanks for your help.
Regards,
Badri
(309) 578-6709
02-28-2008 09:55 AM
<file byteOrder="littleEndian" url="Catms_1 SS [130706-162341].ssf">
02-28-2008 10:19 AM
Hello Jervin
Here is the file you had asked for. I would appreciate an early reply in this problem since I am waiting on your response to complete my project.
Thanks
Badri
(309) 578-6709
02-28-2008
11:47 AM
- last edited on
09-10-2025
11:01 AM
by
Content Cleaner