HV SYSTEM
 
1. We have two programs (the gamma.exe and the pb_v6.exe) for central
 Calorimeter’s HV (CEM, CHA, WHA and GAM).
 
        C:\pb\workstandalone – for pb_v6.exe 
        C:\Gamma\Debug       – for gamma.exe
 
2. Directory where the output files is:
 
     - The Gamma
          D:\gm\Backup (backup files)
          D:\gm\workstandalone (current output files)
    - The pb_v6
          D:\pb\Backup (backup files)
          D:\pb\pbhvout (current output files)
          D:\pb\workstandalone (current .hvr files)
 
3. The local DataBase can be opened opening the DataBase manager from the "intellution workspace". Workspace and DB manager are part of the iFIX software for monitoring.
 
4. How do the programs work?
        
    - The Gamma
 
·        Read data from crate.
·        Compare read voltage and setting voltage.
·        If difference between settings and readings voltage more than +5/-5 volts, the gamma creates output file with current voltage, and after that, we have two possibilities. If readings were Zero/Big (one or few channels were like 0.000000 or more than +3000/-3000 volts) we'll restart readout (if was working the demon).
·        We'll have warning (yellow line) for iFIX if only one (or more) channel will more than +5/-5 volts.
·        Every 5 seconds we do this loop.
·        Also, we ignore all errors for CSXNW, CSXSW, CSXNE, CSXSE (2-5 channels)
 
     - The pb_v6
 
·        Read data from crate.
·        Compare read voltage and setting voltage.
·        If difference between settings and readings voltage more than +2/-2 volts, the pb_v6 creates 2 output files with current voltage and ".hvr" file with settings format.
·        We'll have warning (yellow line) for iFIX if more than 5 channels will more than +2/-2 volts.
·        Make readings around 20 minutes, after that the pb_v6 program sleeps 2 hours.