ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read and create TDM Files in a Java Application?

Hi,

 

I want to read and write TDM-Files in a Java-Application.

I found the TDMHeaderWriter for Java, that can write TDM-Files, but the reading part is still missing.

Perhaps anyone knows an equivalent in Java to the TDM C DLL and the TDM C Header DLL?

 

Thanks Verena

0 Kudos
Message 1 of 6
(5,944 Views)

Hi Verena,

 

the TDM Header Writer is also available for Java:

TDM Header Writer Java API

 

Unfortunately there is no Java equivalent for the TDM C DLL

 

Stefan

0 Kudos
Message 2 of 6
(5,940 Views)

Hi Stefan,

 

thanks, I already tried the TDM header Writer Java API.

Unfortunatelly it is only half the battle, because I've also to read TDM files.

 

Verena

 

0 Kudos
Message 3 of 6
(5,922 Views)

Hello Verena!

 

With a thin C layer it should be no problem to connect the TDM C DLL to Java via JNI. The main part could be done in a few hours but isn't a out-of-the-box solution.

 

Matthias

Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 4 of 6
(5,919 Views)

Hi Matthias,

 

that's exactly the solution I'm working on now. :smileywink:

 

Thanks,

Verena
0 Kudos
Message 5 of 6
(5,914 Views)

Cool Smiley Happy

 

Can you please give me feedback on this project if you have finished it?

 

Matthias

 

 

Matthias Alleweldt
Project Engineer / Projektingenieur
Twigeater?  
0 Kudos
Message 6 of 6
(5,903 Views)