Mercurial > hg > fxanalyse
diff FXAnalyse.c @ 113:6691728a0c58
Add option to save DDS frequencies to disk
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Tue, 02 Jul 2013 13:05:50 +0200 |
parents | 8bdd7e38715f |
children | 77b442322984 |
line wrap: on
line diff
--- a/FXAnalyse.c Tue Jul 02 12:58:34 2013 +0200 +++ b/FXAnalyse.c Tue Jul 02 13:05:50 2013 +0200 @@ -1385,6 +1385,15 @@ if (save) { writeData(DATAFOLDER, "Ex", id, timestr, utc, Math5); } + + // write DDS freqs to disk + GetCtrlVal(MainPanel, PANEL_SAVE_DDS_FREQS, &save); + if (save) { + writeData4(DATAFOLDER, "DDS", id, timestr, utc, + DDS4xAD9912.Frequency1, DDS4xAD9912.Frequency2, + DDS4xAD9912.Frequency3, DDS4xAD9912.Frequency4); + } + } break; }