TOFp System Procedure:
TOFp High Voltage Monitoring


   Description:
This is the procedure to start the software that monitors the High Voltage System for the TOFp tray. The tray HV is provided by the "HVSys" System, which is a custom system for TOFp and hence uses custom software for control and monitoring. This software intermittently scans the cells on the HVSys bus and performs checks against reference values. It saves this information to files including time stamps, and it alerts TOFp Control via e-mail directly if a problem is seen.
   Related Documentation:
  1. TOFp Glossary
  2. HVSys Users Manual
   Requirements:
  1. Access to STAR Control Room.
  2. STAR Shift Crew Training.
  3. Approval of Shift Leader.
   Procedure:
  1. If you have not yet done so, read Section 3, "Monitoring Loop," in the HVSys Users Manual.
  2. Sit in front of the TOFp Control PC, and open a terminal window. Then ssh to the machine tofpdaq.star (the password is posted at the TOFp Station in the control room.
  3. Go to the slow controls terminal and click on TOF->TOFpHV->P (see slowcontrols.jpg)
    ... or ...
    open a unix terminal on sc3.starp as user "sysuser" and start the TOF alarm handler "tof_top" (see tof_top.jpg) and click on "TOFp Monitor" (see tofphv.jpg)
    ... or ...
    you can check the monitoring daemon on tofpdaq.starp. Make sure the monitoring software is running by typing
    hvmon status
    . If the output is "HVMON is not running" then to start it, enter
    hvmon start
    Then wait ~45sec and type
    hvmon status
    . This will dump the latest monitoring cycle on the screen, which should look like this:
    
    [tofp@tofpdaq ~/hvsys]% hvmon status
    tofhv-Monitor (pid 15170) is running...
    monitor          : preparing readout          
    testHV           : Short circuit test on HV ... passed
    testHV           : power lines <0>:199.6V  <1>:3.2V  <2>:3V  <3>:3V
    displayPage      : Branch <0> status (page 0)
     [ 2]: 1798/1799V  [ 4]!:1399/1718V  [ 5]: 1819/1808V
     [ 7]: 1814/1808V  [ 8]: 1629/1619V  [ 9]: 1732/1749V
     [12]: 1526/1551V  [13]: 1637/1637V  [14]: 1808/1821V
     [15]: 1698/1700V  [16]!:2474/1361V  [17]: 1761/1763V
     [18]: 1951/1930V  [21]?:2513/1591V  [22]!:2471/1637V
     [23]: 1539/1537V  [24]: 1716/1731V  [25]: 1690/1704V
     [26]!:2030/1713V  [27]: 1674/1691V  [28]: 1711/1709V
     [29]: 1758/1754V  [31]: 1793/1790V  [32]: 1650/1655V
     [33]: 1642/1664V  [34]: 1510/1515V  [36]: 1671/1695V
     [38]?:2463/1573V  [40]: 1650/1655V  [41]: 1790/1812V
     [42]: 1830/1840V  [43]: 1917/1934V  [44]: 1719/1745V
     [45]: 1925/1934V  [47]: 1790/1790V  [49]: 1629/1650V
     [50]: 1668/1664V  [52]: 1666/1655V  [53]: 1740/1736V
     [54]: 1626/1641V  [56]: 1666/1650V
    
    The exclamation (!) marks indicate a possible problem but may be the result of a random readback problem. Typically these should disappear in subsequent readouts. If, for a particular cell, they do not change for a long period (>1hr) contact TOFp Detector Experts (tofp@physics.rice.edu). The question mark (?) indicates identified readback problems and can safely be ignored.
   Testing:
   Completion:
  1. Contact TOFp Control with any end-of-procedure comments that are necessary. Was this procedure successful? Is this documentation understandable and complete?