<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Hi Bryan et al,</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Just wanted to follow up with regards to the LED controls programming.</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><span style="font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="ContentPasted0">We
 have finished the layout of the control GUI</span>.<br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Brian and I have gone over the information in the Github.</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Is there any additional documentation detailing exactly what the PVs control.</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">What is not obvious is if the pulse frequency is hard coded in the PV and exactly what
 channels are controlled by a PV.</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Is there a newer version beyond this beta version?</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">-- Aaron<br>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Bryan Moffit <moffit@jlab.org><br>
<b>Sent:</b> Monday, December 5, 2022 7:57 AM<br>
<b>To:</b> Aaron Brown <ambrown@jlab.org>; Brad Sawatzky <brads@jlab.org>; dsg-hallc_nps@jlab.org <dsg-hallc_nps@jlab.org><br>
<b>Cc:</b> Brian Eng <beng@jlab.org>; William Gu <jgu@jlab.org>; Chris Cuevas <cuevas@jlab.org>; Robert Michaels <rom@jlab.org><br>
<b>Subject:</b> Re: [EXTERNAL] NPS LED/VLD controller specs/information/summary</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">I've pushed a 'beta' version of the vld-epics driver to github:<br>
<br>
    <a href="https://github.com/JeffersonLab/vld-epics">https://github.com/JeffersonLab/vld-epics</a><br>
<br>
It has read/write support to the VLD parameters, but does not yet <br>
include 'automated' specific procedure support (bleaching, calibration <br>
pulse).<br>
<br>
I'm starting to code up that procedure support into the vld library <br>
(which has also been updated).  We ought to talk about specifics for the <br>
bleaching / calibration pulse functionality and driver hooks to your UI.<br>
<br>
On 22-Nov-22 5:36 PM, Aaron Brown wrote:<br>
> Hi Brad,<br>
> <br>
> Brian will be on vacation from 11/24/2022 until 01/03/2023.<br>
> He will begin working on the control scripts that utilize the existing <br>
> Linux drivers and is confident that this can be completed by early <br>
> January 2023.<br>
> With regards to the "Beta quality GUI", the EPICS drivers would need to <br>
> be completed before we could finish this.<br>
> The layout of the GUI is done, we just need the PVs before we can move <br>
> to the testing/debugging phase.<br>
> for the EPICS drivers, it would be a good idea to see if someone from <br>
> the FE/DAQ group could complete the task.<br>
> <br>
> Happy Thanksgiving!<br>
> <br>
> -- Aaron<br>
> ------------------------------------------------------------------------<br>
> *From:* Brad Sawatzky <brads@jlab.org><br>
> *Sent:* Monday, November 21, 2022 6:42 PM<br>
> *To:* Bryan Moffit <moffit@jlab.org>; dsg-hallc_nps@jlab.org <br>
> <dsg-hallc_nps@jlab.org><br>
> *Cc:* Brian Eng <beng@jlab.org>; Aaron Brown <ambrown@jlab.org>; William <br>
> Gu <jgu@jlab.org>; Chris Cuevas <cuevas@jlab.org>; Robert Michaels <br>
> <rom@jlab.org><br>
> *Subject:* [EXTERNAL] NPS LED/VLD controller specs/information/summary<br>
> After recent discussions with Bryan and William, I volunteered to send<br>
> out a status/summary on the NPS LED/VLD needs for the near (Dec/Jan)<br>
> and medium term (Feb/Mar).<br>
> <br>
> <br>
> - Operational specs for the LED pulser are in William's directories.<br>
>    - His software libraries and test code can be found here:<br>
>         /group/da/distribution/coda/Hardwaremanual/VLD/<br>
>      or from the CODA web page.  The test software can be accessed from<br>
>         /daqfs/home/jgu/Triggersoftware/trigger.c, VLDtestN functions.<br>
>    There are docx files in the /group directory with specs and technical<br>
>    details.  Ideally we would be running the software under linux (intel<br>
>    vme computer), so any vxworks specific code should be updated to<br>
>    compile in that environment.<br>
>    - I am attaching what I think is the most recent spec document for<br>
>      easy access:  'VLD.docx'<br>
> <br>
> - A Control/GUI requirements summary is attached as a text file.<br>
>    - See: 'LED-GUI-summary-21Nov2022.txt'<br>
> <br>
> - Here is a link to some (intel controller) development code from Bryan<br>
>    Moffit: <br>
> <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_vld&d=DwIDAw&c=CJqEzB1piLOyyvZjb8YUQw&r=TkJUDpm1-rWCci4nhe47n5XMOLWvRg1TNSqSgPyxyhs&m=1N3fMPIfm78FoxmXp_mXreXU8E0U2i30VAPa6A-PqDvhIBy5Wm1U9gzMBHv6iWyH&s=B6Fs97LKHZhH97IC2bajCCDXfhExhHaLYIvGerKATkM&e=">
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_vld&d=DwIDAw&c=CJqEzB1piLOyyvZjb8YUQw&r=TkJUDpm1-rWCci4nhe47n5XMOLWvRg1TNSqSgPyxyhs&m=1N3fMPIfm78FoxmXp_mXreXU8E0U2i30VAPa6A-PqDvhIBy5Wm1U9gzMBHv6iWyH&s=B6Fs97LKHZhH97IC2bajCCDXfhExhHaLYIvGerKATkM&e=</a>
 <<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_vld&d=DwIDAw&c=CJqEzB1piLOyyvZjb8YUQw&r=TkJUDpm1-rWCci4nhe47n5XMOLWvRg1TNSqSgPyxyhs&m=1N3fMPIfm78FoxmXp_mXreXU8E0U2i30VAPa6A-PqDvhIBy5Wm1U9gzMBHv6iWyH&s=B6Fs97LKHZhH97IC2bajCCDXfhExhHaLYIvGerKATkM&e=">https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_JeffersonLab_vld&d=DwIDAw&c=CJqEzB1piLOyyvZjb8YUQw&r=TkJUDpm1-rWCci4nhe47n5XMOLWvRg1TNSqSgPyxyhs&m=1N3fMPIfm78FoxmXp_mXreXU8E0U2i30VAPa6A-PqDvhIBy5Wm1U9gzMBHv6iWyH&s=B6Fs97LKHZhH97IC2bajCCDXfhExhHaLYIvGerKATkM&e=</a>><br>
> <br>
> <br>
> ---------------------------------------------<br>
> Near Term Requirements (ie. late-Dec/early-January)<br>
> ---------------------------------------------<br>
> - We don't need a full working GUI, but we do need a clear, student-<br>
>    accessible way to run specific tests.<br>
>    * I am imagining a set of pre-compiled, special-case binaries or<br>
>      script(s) that are run from a command-line running on the VME<br>
>      contoller(s)<br>
> <br>
> - The scripts should be able to do the following:<br>
>    A.  Turn all LED on in bleach mode<br>
>      * This should also set the Trg_out NIM ouput logic HI *first*<br>
>        and that needs to be tied into the HV interlock circuit.<br>
> <br>
>    B.  Pulse one or more specified LEDs when a pulse is seen on the VLD<br>
>        Trg/Clk input.<br>
>        - The list of LEDs to be activated, pulse characteristics, etc can<br>
>          either be hardcoded, or read-in via a config file.  Doesn't have<br>
>          to be perfect, just needs to work.  We can fine-tune later.<br>
> <br>
> <br>
> ---------------------------------------------<br>
> 'Beta' quality GUI (Feb, early-March)<br>
> ---------------------------------------------<br>
> - NPS installation begins this spring -- that will come very soon!<br>
> <br>
> * We will need at least a 'beta' quality (ie. feature complete, but may<br>
>    be buggy) GUI by Feb/early-March so we can test and fix bugs before<br>
>    the systems is disassembled and moved to the Hall.  It will be a while<br>
>    before it is working again in the Hall and we definitely do not want<br>
>    to leave testing this critical system to the summer.<br>
> <br>
> -- Brad<br>
> <br>
> -- <br>
> Brad Sawatzky (he/him), PhD <brads@jlab.org> -<>- Jefferson Lab/SciComp/F272<br>
> Ph: 757-269-5947  -<>-  Fax: 757-269-5235  -<>- Pager: brads-page@jlab.org<br>
> The most exciting phrase to hear in science, the one that heralds new<br>
>    discoveries, is not "Eureka!" but "That's funny..."   -- Isaac Asimov<br>
</div>
</span></font></div>
</body>
</html>