comparison 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
comparison
equal deleted inserted replaced
112:e501896c0e7c 113:6691728a0c58
1383 // write ExtraMath (Math5) to disk 1383 // write ExtraMath (Math5) to disk
1384 GetCtrlVal(MainPanel, PANEL_CHECKBOX_MATH5SAVE, &save); 1384 GetCtrlVal(MainPanel, PANEL_CHECKBOX_MATH5SAVE, &save);
1385 if (save) { 1385 if (save) {
1386 writeData(DATAFOLDER, "Ex", id, timestr, utc, Math5); 1386 writeData(DATAFOLDER, "Ex", id, timestr, utc, Math5);
1387 } 1387 }
1388
1389 // write DDS freqs to disk
1390 GetCtrlVal(MainPanel, PANEL_SAVE_DDS_FREQS, &save);
1391 if (save) {
1392 writeData4(DATAFOLDER, "DDS", id, timestr, utc,
1393 DDS4xAD9912.Frequency1, DDS4xAD9912.Frequency2,
1394 DDS4xAD9912.Frequency3, DDS4xAD9912.Frequency4);
1395 }
1396
1388 } 1397 }
1389 break; 1398 break;
1390 } 1399 }
1391 } 1400 }
1392 1401