08/01/2006

Read the current of Layer 39/42

Run HV without the beam. The measured current for Layer 39/42 are:

Channel Current
5.1.16 8.10 uA
5.1.17 8.15 uA
5.1.18 8.18 uA
5.1.19 8.07 uA
5.1.20 8.18 uA

Screenshot is here

Send email to Dan Peterson, CC to Dan Hertz and Runman.

08/17/2006

Constants for layer 29 to 33

Message from Hubert

I'd like to ask you to take care of the following two issues:
1. Dan Peterson jumpered layer 29 to 33 today. Please update the constants.
2. The HV channel map in
   http://www.lns.cornell.edu/restricted/CLEO/RunMgmt/detectors/hv/HVDetectorMap.html
   needs to be updated. Please do that. I can help you replace the old
   version with the update.

Check the current version for Detector Map

constants is version 21

Download to local and ready to change

HVDetectorMap_21_Normal.txt

08/21/2006

Change the detector map

Layer 29 to 33

HVDetectorMap.py -a 3

Save as: HVDetectorMap_HVNormal_29_by_33.txt

Upload the constants

HVNormal version 23

08/22/2006

Change the board

Hardware E-log

Xin Shi and I pulled the module in HVPitEast Slot 5, which had been
causing problems in layer 39/42 with high currents. The new module is
not causing the problem now.  While down there I switched the jumpers
that dpp had put on layer 29/33 last week because those jumpers had
been very short and I felt they were putting some strain on wires. The
jumpers I switched them to are longer.

Take pictures about the relay

toolbox.py -a replace_content

jpeg Version

Next Steps:

08/25/2006

Create HVChannelProperties constants for layer 29

1. DV 0 2. CE 0 3. Both Channel and Bulk 4. Script to update the tags

Fix the problem with layer 29/33 Sector 7,8,9

Dan Peterson , Steve Stroiney and I went down the pit. We found there was a pin from layer 29/ Sector (7,8,9) pushed back in the panel. That caused the loose connection of the layers. We used another jumper wire and plugged in to the other slot on that section in layer 29. Problem fixed now.

We can fix the bad pin next week during the access time.

e-log

08/28/2006

Create HVChannelProperties constants for layer 29

1. DV 0 2. CE 0 3. Both Channel and Bulk 4. Script to update the tags

As we jumpered all the wires from layer 29 to layer 33, which from the channel layout and bulk layout,we know that :

Input info: HVPitWest, S4S0.1, DV,CE, 0

HVChannelProperties.py -a 4

Writing out to /home/xs32/work/CLEO/service/hv/dat/HVChannelProperties_204_new_HVNormal_FILL.txt Done.

08/29/2006

Check the Layer 17/18 high current issue

During the shut down period, I rumped the HV to fill/run and recorded several channels' current on layer 17 and 18. Also compared with other channels without issues.

Dan Hertz and I decided to free another module and replace this one next week. At the same time, I'm going to look at the module we took last time (HV#8) and try to fix it.

e-log

Input entry to the HV Hardware history both on the notebook and on the website

Module History

Update the spareboard page

Spare Board

Correct the order of the HV pictures on the website

It's correct.

Force the server to reload the constants

In the terminal window, delete the current version file :

del version.xxx

Then restart the server will do the job.

Upload the new constants for the HVChannelProperties

Message from Hubert:

I wrote a little tool for you that can grab a constants
ascii file for HVDetectorMap, HVBoxConnection, HVStateSettings, or
HVChannelProperties, and write that into the database.

This writes a new version, but will not modify any existing tag or
create a new tag:

HVConstantsWrite -type HVBoxConnection -infile HVBoxConnection12.asc
-creator hubert

Specify your own name for the -creator parameter, of course, and make
sure the type specifies matches the ascii file format.

This writes a new version, and in addition creates a new tag or
modifies an existing unranged tag:

HVConstantsWrite -type HVBoxConnection -infile HVBoxConnection12.asc
-creator hubert -tagUnranged testHubert

The tag in this example is "testHubert". You will specify "HVNormal"
or so.

You can find the code in HV/src/programs/HVConstantsTools, and a
compiled solaris executable is in /nfs/online/cleo31/run/tools.  You
have to run this in the Online system, to talk to the online
server. You can do this by running this environment setup on a solaris
machine:

  unsetenv MACHNAME
  source /nfs/cleo3/groups/SlowControl/scripts/dlibsetup
  setenv OSAGENT_PORT 10580
  setenv OSAGENT_ADDR solon2

Now, since this writes into the real online database, you really need
to know what you are doing, because you might screw up data taking if
something goes wrong. So, you might want to do this with me for the
first time, if you want to try it.



You can use the CleoConstantsReader tool to download an ascii file
from the database:

/nfs/online/cleo31/Common/rel/clib/admin/sparc-sun-solaris2.8_r/CleoConstantsReader

/cdat/solon2/disk3/DataBases/Constants -type HVDetectorMap -outfile
HVDetectorMap_HVNormal.asc -getTagged -tag HVNormal

with the same environment I described in my previous email.
That works with any type and tag.

Check out the source files

cd ~/work/CLEO/service/hv/src/HV/src/programs/HVConstantsTools
cleo3cvs co -d HVConstantsTools HV/src/programs/HVConstantsTools

08/30/2006

Get Constants form Server by scripts

solon
sethv
HVConstants.py -a get_latest -o HVDetectorMap
HVConstants.py -a get_latest -o HVChannelProperties

Saved as:
HVDetectorMap_23_HVNormal.asc
HVChannelProperties_182_HVNormal.asc

08/31/2006

Upload the HV Channel Porperties with layer 29 off

HVConstants.py -a get_latest -o HVChannelProperties,HVNormal_OFF
HVConstants.py -a get_latest -o HVChannelProperties,HVNormal_FILL
HVConstants.py -a get_latest -o HVChannelProperties,HVNormal_RUN

Saved as :
HVChannelProperties_192_HVNormal_OFF.asc
HVChannelProperties_204_HVNormal_FILL.asc
HVChannelProperties_200_HVNormal_RUN.asc
HVConstants.py -a turn_off_layer_29 -o 192,HVNormal,OFF
HVConstants.py -a turn_off_layer_29 -o 204,HVNormal,FILL
HVConstants.py -a turn_off_layer_29 -o 200,HVNormal,RUN

Saved as:
/home/xs32/work/CLEO/service/hv/dat/HVChannelProperties_192_New_HVNormal_OFF.asc
/home/xs32/work/CLEO/service/hv/dat/HVChannelProperties_204_New_HVNormal_FILL.asc
/home/xs32/work/CLEO/service/hv/dat/HVChannelProperties_200_New_HVNormal_RUN.asc
HVConstants.py -a upload -o 192,HVNormal,OFF
/nfs/online/cleo31/run/tools/HVConstantsWrite -type  HVChannelProperties -infile  /home/xs32/work/CLEO/service/hv/dat/HVChannelProperties_204_New_HVNormal_FILL.asc -creator xs32 -tagUnranged HVNormal_FILL
xitman registers signal handlers.
No tag specified.
Read from file /home/xs32/work/CLEO/service/hv/dat/HVChannelProperties_204_New_HVNormal_FILL.asc
Successfully wrote new DBHVChannelProperties version 205 to db.
EDT: 08/31/2006 10:59:58.259143 | xitman.cxx:281: info: (C) xitman starts cleaning...
EDT: 08/31/2006 10:59:58.262613 | runtime.cxx:138: info: (C) BDT checks out...
EDT: 08/31/2006 10:59:58.265573 | runtime.cxx:143: info: (C) Removed basics::theDict.
EDT: 08/31/2006 10:59:58.268407 | xitman.cxx:291: info: (C) xitman done!

Use the 30 mins time to do the change and test

/nfs/online/cleo31/run/tools/HVConstantsWrite -type  HVChannelProperties -infile  /home/xs32/work/CLEO/service/hv/dat/HVChannelProperties_200_New_HVNormal_RUN.asc -creator xs32 -tagUnranged HVNormal_RUN

Output:

xitman registers signal handlers.
Read from file /home/xs32/work/CLEO/service/hv/dat/HVChannelProperties_200_New_HVNormal_RUN.asc
Successfully wrote new DBHVChannelProperties version 206 with unranged tag HVNormal_RUN to db.
EDT: 08/31/2006 12:40:40.419274 | xitman.cxx:281: info: (C) xitman starts cleaning...
EDT: 08/31/2006 12:40:40.422916 | runtime.cxx:138: info: (C) BDT checks out...
EDT: 08/31/2006 12:40:40.425879 | runtime.cxx:143: info: (C) Removed basics::theDict.
EDT: 08/31/2006 12:40:40.428577 | xitman.cxx:291: info: (C) xitman done!

StateSettings

FILL : 205 RUN : 206

version : 113

E-Log

09/01/2006

Measuring the current and voltage

Bulk 1:

Target Voltage (V) Measured Voltage (V) Bulk Current (uA) Channel Current (uA)
100 99.5 1.9 0.20
200 199.9 3.3 0.40
300 300.2 4.9 0.60
400 400.5 6.7 0.80
500 499.8 7.5 1.00
600 600.1 9.1 1.21
800 800.6 13.2 1.61
1000 1000.1 14.4 2.02
1200 1200.5 19.0 2.42
1400 1399.9 23.1 2.83
1600 1600.2 26.2 3.24
1800 1799.5 28.8 3.68
1900 1900.5 31.3 3.85
1950 1950.0 32.5 4.02
1980 1978.0 32.5 4.13
***Error Shutdown***
Error# 221  WatchDog ->
WatchDog Update Timeout
 Start: 04/13/00 10:29:07
   End: 04/13/00 10:33:28

Connection closed by foreign host

Avoid rumping to 1900V.

Testing Bulk 2 (has issue)

Target Voltage (V) Voltage (V) Bulk Current (uA) Channel Current (uA)
100 99.1 2.0 0.43
200 198.3 2.0 0.80
300 298.4 5.2 1.16
400 399.3 7.0 1.52
500 498.5 8.3 1.90
600 598.5 9.7 2.25
800 798.5 13.8 3.01
1000 999.5 16.1 3.72
1200 1199.4 19.6 4.48
1400 1398.5 23.6 5.21
1600 1599.3 26.0 5.97
1700 1699.3 28.2 6.33
1750 1749.2 29.2 6.50
1780 1779.2 29.2 6.59
1790 1789.2 29.2 6.63
1800 1799.2 29.2 6.66
1850 1849.2 30.5 6.88
1880 1880.0 30.5 6.96
1890 1890.0 31.7 7.01
1900 1900.0 31.7 7.03
1950 1949.1 31.7 7.24
1980 1979.4 32.9 7.31
2000 2000.0 32.9 7.38
2100 2099.9 34.3 7.90

It seems that the Bulk current can't exceed 33 uA. Although the Trip current is 2550 uA.

Plot the Current vs. Voltage for bulk 1 and bulk 2

eps file

Read the manual

Create table with all the needed columns