From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-04-2009 05:31 PM
Hello there, has anyone developed an interface in Java that can read TDM and TDMS files? From all the googling and poking around on NI's site, my gut feeling is no, but I just wanted to ask anyway just to be sure. I see there is a Java Header Writer (http://zone.ni.com/devzone/cda/epd/p/id/6280), existing questions about external interfaces (http://digital.ni.com/public.nsf/allkb/A3663DE39D6A2C5A86257204005C11CA), and pre-existing C and Excel readers, but I can't see any mention of a Java API for reading these files.
If there isn't, I'm just looking for a confirmation that there isn't, and whether or not one might be developed in the future. If there isn't, how are other people solving this problem? Using JNI with the C library to get TDM(S) data into Java apps?
Thank you kindly for your support.
Derek
PS: I didn't know where to post this as I did not see a separate TDM category. Thanks.
Solved! Go to Solution.
12-06-2009 07:50 PM - edited 12-06-2009 07:55 PM
Here is a post of "TDM Header Writer Java API":
http://zone.ni.com/devzone/cda/epd/p/id/6280
If there's no available API for reading, then it seems you have to make your own API based on the file formats, for TDMS, the file format structure is here:
http://zone.ni.com/devzone/cda/tut/p/id/5696
12-07-2009 09:41 AM
Hello Derek,
You should be able to call the TDMS C DLL in your Java application.
See here
http://www.nag.co.uk/industryArticles/CallingCLibraryRoutinesfromJava.pdf
12-07-2009 01:15 PM - edited 12-07-2009 01:17 PM
09-04-2018 10:42 AM
Hi,
Is the situation still same in 2018 ?. We still have no Java API/library to read .TDMS file.
I am looking for a library which can read the .TDMS file for automating the test results.