<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html;
      charset=windows-1252">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Tyler, <br>
    </p>
    <p><br>
    </p>
    <p>Nick added an array of booleans for the status of solenoid MPS.
      It translates into two <br>
    </p>
    <p>mbbiDirect EPICS records . <br>
    </p>
    <p><br>
    </p>
    <pre>HDOPS gluon02:~> caget -0b 'SOL:i:MPS_Status_Read_BOOL;0'
SOL:i:MPS_Status_Read_BOOL;0   1111000001
HDOPS gluon02:~> caget -0b 'SOL:i:MPS_Status_Read_BOOL;1'
SOL:i:MPS_Status_Read_BOOL;1   10101000
HDOPS gluon02:~> 

</pre>
    <p>The first one (";0") keep the lower 16 bits, the second one
      (";1") keep the higher bits. <br>
    </p>
    <p>EDM should be able to display these with byte monitor widget.</p>
    <p> <br>
    </p>
    <p>Hovanes <br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 7/25/19 11:47 AM, Tyler Lemon wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CH2PR09MB39762A2B3F4EEACBEDF2C0AEBAC10@CH2PR09MB3976.namprd09.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        Hello Hovanes,</div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt; color: rgb(0, 0, 0);">
        For the Solenoid Power supply screen, the PV "<span>SOL:a:MPS_Status_Read_DINT</span>"
        is the one being parsed in CSS for the status bits.<br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt">
        <span><br>
        </span></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt">
        <span style="font-family: calibri, arial, helvetica, sans-serif;
          font-size: 12pt; line-height: normal; color: rgb(0, 0, 0);
          background-color: rgba(0, 0, 0, 0);">When caget is used you
          get:</span><span style="font-family: calibri, arial,
          helvetica, sans-serif; font-size: 12pt; line-height: normal;
          color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
          "SOL:a:MPS_Status_Read_DINT 24 1 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0
          0 0 0 1 0 1 0 1"</span><span><br>
        </span><span></span></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt">
        <span style="font-family: calibri, arial, helvetica, sans-serif;
          font-size: 12pt; line-height: normal; color: rgb(0, 0, 0);
          background-color: rgba(0, 0, 0, 0);">EDM has a byte monitor
          that can handle up to 16 bits. The array parsed in CSS is 24
          elements, it would need to be split up into multiple PVs. On
          the Solenoid interlocks screen, the "MPS Interlock Sum" status
          is also pulled out of this array using a script. Since CSS is
          using scripts to get individual status bits on multiple
          screens, it may be best to make 24 new, individual Boolean PVs
          for each status bit.</span></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt">
        <span style="font-family: calibri, arial, helvetica, sans-serif;
          font-size: 12pt; line-height: normal; color: rgb(0, 0, 0);
          background-color: rgba(0, 0, 0, 0);">Also, on the Solenoid
          Voltages screen, the summed coil voltages below each coil
          graphic are obtained from a rule in CSS and cannot be
          displayed in EDM either. Four PVs will also need to be added
          to an IOC for the voltage sums.</span></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt">
        <span style="font-family: calibri, arial, helvetica, sans-serif;
          font-size: 12pt; line-height: normal; color: rgb(0, 0, 0);
          background-color: rgba(0, 0, 0, 0);">For the FDC chiller
          screen, the EDM byte monitor may be able to use the existing
          PVs. I'll look at this this afternoon and let you know if
          anything needs to be added to an IOC.</span><br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt">
        <br>
      </div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt">
        <span style="font-family: calibri, arial, helvetica, sans-serif;
          font-size: 12pt; line-height: normal; color: rgb(0, 0, 0);
          background-color: rgba(0, 0, 0, 0);">Best regards,</span></div>
      <div style="font-family: Calibri, Arial, Helvetica, sans-serif;
        font-size: 12pt">
        <span style="font-family: calibri, arial, helvetica, sans-serif;
          font-size: 12pt; line-height: normal; color: rgb(0, 0, 0);
          background-color: rgba(0, 0, 0, 0);">Tyler</span><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Dsg-halld_plc mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dsg-halld_plc@jlab.org">Dsg-halld_plc@jlab.org</a>
<a class="moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/dsg-halld_plc">https://mailman.jlab.org/mailman/listinfo/dsg-halld_plc</a>
</pre>
    </blockquote>
  </body>
</html>