# HG changeset patch # User Daniele Nicolodi # Date 1387279589 -3600 # Node ID 24db0c2d5219772ed79c2c039a89b5043f4ea169 # Parent 8a69c40f10b28d33adc1f0965694784122e9a3e5 Add more N3 measurement debug information in the log diff -r 8a69c40f10b2 -r 24db0c2d5219 FXAnalyse.c --- a/FXAnalyse.c Mon Dec 16 19:50:20 2013 +0100 +++ b/FXAnalyse.c Tue Dec 17 12:26:29 2013 +0100 @@ -1222,7 +1222,8 @@ // compute N3 double delta_f_beat_Sr = f_beat_Sr_plus - f_beat_Sr_minus + 2.0 * Sign1 * Sign3 * N3/N1 * Ndiv * DeltakHz_3 * 1000; double delta_f_beat_Sr_expected = delta_f_rep * N3; - logmsg("delta fbeat: measured=%.12e expected=%.12e", delta_f_beat_Sr, delta_f_beat_Sr_expected); + logmsg("delta fbeat: measured=%.12e expected=%.12e difference=%.12e", + delta_f_beat_Sr, delta_f_beat_Sr_expected, delta_f_beat_Sr - delta_f_beat_Sr_expected); N_3 = delta_f_beat_Sr / delta_f_rep; logmsg("measured N3=%.3f", N_3); SetCtrlVal(CalcNPanel, CALCN_N, N_3);