<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://clonwiki0.jlab.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=129.57.88.55</id>
	<title>CLONWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://clonwiki0.jlab.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=129.57.88.55"/>
	<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=Special:Contributions/129.57.88.55"/>
	<updated>2026-04-13T09:21:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://clonwiki0.jlab.org/wiki/index.php?title=JLAB_Discriminators&amp;diff=5570</id>
		<title>JLAB Discriminators</title>
		<link rel="alternate" type="text/html" href="https://clonwiki0.jlab.org/wiki/index.php?title=JLAB_Discriminators&amp;diff=5570"/>
		<updated>2011-10-19T21:14:26Z</updated>

		<summary type="html">&lt;p&gt;129.57.88.55: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Manual for 16-Channel Discriminator/Scaler VME Module (by J.Proffit), 20-Nov-2002, in &lt;br /&gt;
[https://clonwiki.jlab.org/wiki/clondocs/Docs/JLAB_VME_DiscrManual2002.pdf (pdf)]&lt;br /&gt;
&lt;br /&gt;
Manual for New 16-Channel Discriminator/Scaler VME Module (draft by Ben Raydo), 6-Mar-2009, in &lt;br /&gt;
[https://clonwiki.jlab.org/wiki/clondocs/Docs/JLAB_VME_DSC2_Manual.pdf (pdf)]&lt;br /&gt;
&lt;br /&gt;
Manual for New 16-Channel Discriminator/Scaler VME Module (rev.B by Ben Raydo), 28-May-2010, in &lt;br /&gt;
[https://clonwiki.jlab.org/wiki/clondocs/Docs/VME16Chan_DiscScaler_Manual_RevB.pdf (pdf)]&lt;br /&gt;
&lt;br /&gt;
Manual for New 16-Channel Discriminator/Scaler VME Module (rev.C by Ben Raydo), 11-Feb-2011, in &lt;br /&gt;
[https://clonwiki.jlab.org/wiki/clondocs/Docs/VME16Chan_DiscScaler_Manual_RevC.pdf (pdf)]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Firmware update ==&lt;br /&gt;
&lt;br /&gt;
 dscInit(0xd10000,0x10000,2) - initialize 2 boards&lt;br /&gt;
 dscUpdateFirmwareAll(&amp;quot;/usr/clas/devel/coda/src/rol/code.s/vmeDSC_firmware_v1_8.bin&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Current firmware: &#039;&#039;vmeDSC_firmware_v1_8.bin&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Development history ==&lt;br /&gt;
&lt;br /&gt;
First version was developed by James Proffitt and is used in tagger system. It was tested by Sergey Pozdnyakov. Results of tests are presented on the next few slides:&lt;br /&gt;
&lt;br /&gt;
* Width distribution ( [https://clonwiki.jlab.org/wiki/clondocs/Docs/JLabDiscr_width_vs_dac.eps eps] [https://clonwiki.jlab.org/wiki/clondocs/Docs/JLabDiscr_width_vs_dac.pdf pdf])&lt;br /&gt;
&lt;br /&gt;
* Threshold distribution ( [https://clonwiki.jlab.org/wiki/clondocs/Docs/JLabDiscr_thresh_vs_dac.eps eps] [https://clonwiki.jlab.org/wiki/clondocs/Docs/JLabDiscr_thresh_vs_dac.pdf pdf])&lt;br /&gt;
&lt;br /&gt;
* Resolution of Leading Edge for JLab Discr. ( [https://clonwiki.jlab.org/wiki/clondocs/Docs/Res_JLabDiscr_Leading_Edge.pdf pdf] [https://clonwiki.jlab.org/wiki/clondocs/Docs/Res_JLabDiscr_Leading_Edge.eps eps])&lt;br /&gt;
&lt;br /&gt;
* Resolution of Leading Edge for LeCroy 2313 Discr. (for compare) ( [https://clonwiki.jlab.org/wiki/clondocs/Docs/Res_2313_Leading_Edge.pdf pdf] [https://clonwiki.jlab.org/wiki/clondocs/Docs/Res_2313_Leading_Edge.eps eps])&lt;br /&gt;
&lt;br /&gt;
* Resolution of Trailing Edge for JLab Discr. ( [https://clonwiki.jlab.org/wiki/clondocs/Docs/Res_JLabDiscr_Trailing_Edge.pdf pdf] [https://clonwiki.jlab.org/wiki/clondocs/Docs/Res_JLabDiscr_Trailing_Edge.eps eps])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Following changes were recommended to make that board suitable for CLAS12:&lt;br /&gt;
&lt;br /&gt;
* remove preamplifiers (at least reduce gain): can be done by not-installing some components; different amplifiers can be installed&lt;br /&gt;
&lt;br /&gt;
* mask outputs&lt;br /&gt;
&lt;br /&gt;
* add test input: directly to digital side&lt;br /&gt;
&lt;br /&gt;
* individual channel thresholds, min 10 mV - real&lt;br /&gt;
&lt;br /&gt;
* add second output connector (or high dense connector ?): yes&lt;br /&gt;
&lt;br /&gt;
* different thresholds for output 1 and output 2 (optional; maybe sacrofise individual threshold, maybe groups of 4 etc)&lt;br /&gt;
&lt;br /&gt;
* individual programmable width step: 8ns -&amp;gt; 4ns, the less the better; max=100ns; non-updating mode&lt;br /&gt;
&lt;br /&gt;
* channel-based output delays for trigger output connector - optional, 500ns max&lt;br /&gt;
&lt;br /&gt;
* 32-channel: will try (backplane board ?)&lt;br /&gt;
&lt;br /&gt;
* fast enough: min 150MHz&lt;br /&gt;
&lt;br /&gt;
* internal delay (20 ns is Ok)&lt;br /&gt;
&lt;br /&gt;
* thermodrift - to be studied&lt;br /&gt;
&lt;br /&gt;
* remove monitor&lt;br /&gt;
&lt;br /&gt;
* not-stop scaler readout - optional&lt;br /&gt;
&lt;br /&gt;
* keep gate/veto (2 inputs)&lt;br /&gt;
&lt;br /&gt;
* OR for trigger output (NIM)&lt;br /&gt;
&lt;br /&gt;
* VME readout: write/read all registers, A32/D64 with DMA&lt;br /&gt;
&lt;br /&gt;
As on October 11, 2007 the possibility of board redesign was discussed with Volker, Chris and Stan Majewski, and we are waiting for Stan&#039;s final word.&lt;br /&gt;
&lt;br /&gt;
Nov 16, 2007 James responded, asking for details. Sergey responded to Volker and James.&lt;br /&gt;
&lt;br /&gt;
Apr 16, 2008: waiting for management to find money to pay James to do a job.&lt;br /&gt;
&lt;br /&gt;
June 4, 2008: meeting with James and two Sergey&#039;s, first discussion on new design and work schedule.&lt;br /&gt;
&lt;br /&gt;
January 28, 2009: CLON meeting with Chris, decided to refresh the project&lt;br /&gt;
&lt;br /&gt;
June 3, 2009: Ben presented first results with 2-channel populated prototype [https://clonwiki.jlab.org/wiki/clondocs/Docs/Discriminator_Prototype_Measurements.pdf (pdf)]. Next step will be to give prototype to Sergey P. for testing, sometime in the end of June.&lt;br /&gt;
&lt;br /&gt;
Sep 30, 2009: Sergey Pozdnyakov completed first tests, pictures:&lt;br /&gt;
[https://clonwiki.jlab.org/wiki/clondocs/Docs/dsc2_res_TDC_00_07.pdf TDC output resolution ch0-7],&lt;br /&gt;
[https://clonwiki.jlab.org/wiki/clondocs/Docs/dsc2_res_TDC_08_15.pdf TDC output resolution ch8-15], [https://clonwiki.jlab.org/wiki/clondocs/Docs/dsc2_res_TRG_00_07.pdf TRG output resolution ch0-7], [https://clonwiki.jlab.org/wiki/clondocs/Docs/dsc2_res_TRG_08_15.pdf TRG output resolution ch8-15].&lt;br /&gt;
&lt;br /&gt;
== Example Program ==&lt;br /&gt;
&lt;br /&gt;
 #include &amp;quot;dsc2.h&amp;quot;&lt;br /&gt;
 int main(){&lt;br /&gt;
  vmeOpenDefaultWindows(); /* Map the VME bus memory (For Linux only.). */&lt;br /&gt;
  dsc2Init(0xe00000,0,1);  /* Base memory: Only last 2 HW switches are relevant, &lt;br /&gt;
                              the rest are lost due to shift of address. */&lt;br /&gt;
                           /* Memory size per board. */&lt;br /&gt;
                           /* Number of boards. */&lt;br /&gt;
  dsc2Status(0,0);         /* Board number and flag which is not used. */&lt;br /&gt;
  dsc2PrintScalers(0,0xff);/* Board number and printing option */&lt;br /&gt;
  return(0);&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>129.57.88.55</name></author>
	</entry>
</feed>