<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" dir="ltr" style="font-size: 14pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p>Dear friends,</p>
<p><br>
</p>
<p>in my DAQ, I have three modules that are defined in main.cfg as follows:</p>
<p><br>
</p>
<p></p>
<div><span style="font-size:10pt"> # ADCs</span><br>
<span style="font-size: 10pt;"></span><span style="font-size:10pt"> CAEN_V785(0x11110000) {</span><br>
<span style="font-size: 10pt;"></span><span style="font-size:10pt"> threshold = (0 {32})</span><br>
<span style="font-size: 10pt;"></span><span style="font-size:10pt"> }</span><br>
<span style="font-size: 10pt;"></span><span style="font-size:10pt"> CAEN_V785(0x44440000) {</span><br>
<span style="font-size: 10pt;"></span><span style="font-size:10pt"> threshold = (0 {32})</span><br>
<span style="font-size: 10pt;"></span><span style="font-size:10pt"> }</span><br>
<span style="font-size: 10pt;"> # TDC</span><br>
<span style="font-size: 10pt;"> BARRIER</span><br>
<span style="font-size: 10pt;"> CAEN_V1190(0x22220000) {</span><br>
<span style="font-size: 10pt;"> blt_mode = noblt</span><br>
<span style="font-size: 10pt;"> edge = leading</span><br>
<span style="font-size: 10pt;"> resolution = 100 ps</span><br>
<span style="font-size: 10pt;"> deadtime = 5 ns</span><br>
<span style="font-size: 10pt;"> # with 100 ps resolution, max window size: 50 us</span><br>
<span style="font-size: 10pt;"> GATE {</span><br>
<span style="font-size: 10pt;"> time_after_trigger = -1us</span><br>
<span style="font-size: 10pt;"> width = 2us</span><br>
<span style="font-size: 10pt;"> }</span><br>
<span style="font-size: 10pt;"> }</span></div>
<div><span style="font-size:10pt"><br>
</span></div>
<p></p>
<p>In the corresponding *.spec file, the data is matched via this commands:</p>
<p><br>
</p>
<p></p>
<div><span style="font-size: 10pt;"></span>
<div><span style="font-size: 10pt;"> adc[0] = VME_CAEN_V785(geom=1, crate=0);</span><br>
<span style="font-size: 10pt;"> adc[1] = VME_CAEN_V785(geom=2, crate=0);</span><br>
<span style="font-size: 10pt;"> b2 = BARRIER();</span><br>
<span style="font-size: 10pt;"> tdc = VME_CAEN_V1190(geom=3);</span></div>
<span style="font-size: 10pt;"></span></div>
<div><br>
</div>
<div>My question is now, where is the GEOM number coming from? How do the modules 'know' that they should have GEOM numbers 1 to 3?</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thank you very much!</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Best greetings</div>
<div>Günter<br>
</div>
<br>
<p></p>
<br>
</div>
</body>
</html>