hi Frank,
the Analyze module (www.indilib.org/forum/general/7597-new-k...e-analyze.html#58946) already writes all those data to a log file. Moreover it allows to load the log and analyze the session afterwards.

Else, there's a python script i wrote some times ago that reads data from fits headers and writes to a SQLite database: github.com/fenriques/AstroDomIt's not a .txt file but you can easily adapt the script 

Ferrante
 

Read More...