02-23-2017 07:09 AM
Hi all,
I'm working on an embedded C application that will have logging capabilities.
Having worked with TDM files in the past I might like to use that rather than text/csv or a proprietary binary format.
Does a library of TDM functions exist in source form?
I've seen there's a DLL C API for Visual Studio but this isn't compatible for my embedded C application.
Thanks,
Craig
PS Feel free to move this topic to a more appropriate board but this seem most fitting
02-23-2017 08:55 AM
What does embedded mean in your case?
02-23-2017 09:01 AM
Hi AndreasK,
Thanks for the reply.
In my case I mean a microcontroller which is performing some closed loop control function.
I wish to collect data from it's inputs onto an sdcard for later analysis.
Regards,
Craig
02-23-2017 03:09 PM
Hi UKCraig,
You could just write an interleaved (set of) binary file(s) with your embedded program, then create a matching TDM header file beforehand and/or afterwards with a Windows program. We have TDM header file writing functions in DLL form.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
02-24-2017 04:38 AM
Thanks Brad, that seems like a reasonable way forward, if no C library source exists.
I can find plenty of documentation for TDMS, but very little for TDM. Is there something like the TDMS File Format Internal Structure whitepaper for TDM?
Can you point me towards an example of pre/post TDM header writing?
Thanks,
Craig
02-24-2017 07:42 AM
Hi Craig,
Shoot me an email. I can send you an unsupported C++ library that will create TDM Header files.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
brad.turpin@ni.com