How to convert XRD results in .txt format to .dat or others?

AI Thread Summary
XRD results received in .txt format contain 2θ and intensity data, but QualX software cannot read this format. Users suggest checking the import function, as it may accept ASCII text files. If that fails, changing the file extension to a compatible format could solve the issue. Additionally, using free software like PowDLL can help convert XRD files to Excel. Simple conversion methods can effectively address format compatibility challenges.
Baho Ilok
Messages
45
Reaction score
5
I had some precipitate samples analyzed for XRD and the operator sent me the results in .txt format containing the 2θ and intensity data. I want to plug the data to QualX software but apparently it cannot read data in that format. Is there any way to convert the data to compatible formats (e.g., .dat, .xy)?

Thanks!
 
Engineering news on Phys.org
I haven't got a specific answer to your question but on many occasions I have written short pieces of computer code to convert data from one format to another .

If you have the two relevant data formats available it is not usually difficult to devise a conversion algorithm .
 
Baho Ilok said:
I had some precipitate samples analyzed for XRD and the operator sent me the results in .txt format containing the 2θ and intensity data. I want to plug the data to QualX software but apparently it cannot read data in that format. Is there any way to convert the data to compatible formats (e.g., .dat, .xy)?

Thanks!
Are you sure it can't? It looks to me like you can just use the "import" function and that it looks for ASCII format, which is what text files are.
 
Nidum said:
I haven't got a specific answer to your question but on many occasions I have written short pieces of computer code to convert data from one format to another .

If you have the two relevant data formats available it is not usually difficult to devise a conversion algorithm .
Sadly, I am not as skilled in programming as I would like to be. But thank you for your suggestion!
 
russ_watters said:
Are you sure it can't? It looks to me like you can just use the "import" function and that it looks for ASCII format, which is what text files are.
Yes I have tried it already. It still can't see the .txt files in the folder I put them. By the way, I am using the QualX version 2.17.
 
Baho Ilok said:
Yes I have tried it already. It still can't see the .txt files in the folder I put them. By the way, I am using the QualX version 2.17.
Try just changing the file extension to one it accepts.
 
  • Like
Likes Baho Ilok
russ_watters said:
Try just changing the file extension to one it accepts.
Wow. Simple as that. Thank you so much!
 
  • Like
Likes russ_watters
you can see the how to convert XRD file to excel using PowDLL a free software
 
Back
Top