I am using Get waveform components to read dt abd then I want to write it in a file. The problem I have is that I get dt=0 since I am using large (100M or so) sample speeds.
That would depend on what you are using to write the file and what exactly you want to change. The Write to Measurement File and Export Waveforms to Spreadsheet File seem to write the header just fine with high sample rates. Write to Spreadsheet File has a format input that you can specify how you want to numbers converted.