DRS4 Forum
  DRS4 Discussion Forum  Not logged in ELOG logo
Entry  Fri Mar 11 17:26:15 2022, Matias Senger, Time calibration and the C++ API 
    Reply  Sat Mar 12 10:13:24 2022, Stefan Ritt, Time calibration and the C++ API 
       Reply  Sat Mar 12 16:52:36 2022, Matias Senger, Time calibration and the C++ API 
          Reply  Mon Mar 14 08:59:51 2022, Stefan Ritt, Time calibration and the C++ API Screenshot_2022-03-14_at_9.04.07_.pngScreenshot_2022-03-14_at_9.03.47_.png
             Reply  Tue Mar 15 13:07:50 2022, Matias Senger, Time calibration and the C++ API 
Message ID: 880     Entry time: Mon Mar 14 08:59:51 2022     In reply to: 879     Reply to this: 881
Author: Stefan Ritt 
Subject: Time calibration and the C++ API 

Looks like you have the some time calibration, not sure if it's the correct one. Sample the sine wave from the calibration clock, once with and once without the timing calibration, then you will see if all points lie on a smooth line. Left: without timing calibration, right: with proper timing calibration:

 

If your points do not lie on a smooth line, you might habe a problem such as the wrong channel for calibration, an offset of 1 in the index of the time array or some other software bug. Measure the same signal with the DRSOsc application and then your code. If the results differ, you have a software problem on your side.

Stefan

 

ELOG V3.1.5-3fb85fa6