title: Reading TDM (Diadem) files from script
body: <p>My customer is sending TDM/TDX files captured in National Instruments Diadem, which I haven't got. I'm looking for a way to convert the files into .CSV, XLS or .MAT files for analysis in Matlab (without using Diadem or Diadem DLLs!)</p>
  
  <p>The format consists of a well structured XML file (.TDM) and a binary (.TDX), with the .TDM defining how fields are packed as bits in the binary TDX. I'd like to read the files (for use in Matlab and other environments). Does anyone have a general purpose tool or conversion script in for instance Python or Perl (not using the NI DLL's) or directly in Matlab?</p>
  
  <p>I've looked into buying the tool, but didn't like it for anything other than one-time conversion to a compatible file format.</p>
  
  <p>Thanks!</p>