<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi all,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">I've been trying to set up the correct timing for the signals coming from GRINCH and after many dumb tryouts I got them (dumb because EVEN I saw in the oscilloscope that the trigger was arriving very early wrt the signal,
 I though that it was correct, duh!.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">They are not very clean but this other issue. Anyhow, my question is about the window width and the lockback timing. In the readout list (ROL), these are the parameter we pass to the method:
<span>  <br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span><br>
</span></p>
<p style="margin-top:0;margin-bottom:0"><span>vetrocGSetProcMode(lookBack, windowWidth);</span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">in the ROL code I have the not:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>  //First parameter shifts data left or right in TDC time. Second parameter sets upper bound for TDC window (0-XXXX ns).<br>
<br>
  //Window must be <= Latency (lookBack)</div>
<p></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">If I set the lookback smaller than the window, when I run configure in CODA, I got the warning message:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><span>vetrocSetProcMode: ERROR: Window must be <= Latency</span></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">but the configure continues and CODA runs as normal, In fact the signal are moved to the left. You can see the attachments.
<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">run2556... has window=3000ns and lookback=3000ns</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">run2558... has window=3000ns and lookback=2000ns</p>
<div>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
Since there is no problem having lookback smaller than the window, why the warning? I guess that there is some limitations, but the restriction is not so strict. Any hint? I am willing to remove the warning which was confusing.
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thank you <br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">-Carlos<br>
</p>
</div>
</body>
</html>