[Lowq] solenoid current update

Hovanes Egiyan hovanes.egiyan at gmail.com
Wed Aug 18 11:55:48 EDT 2010


Hi ,

o I changed "trk/dc_begin_run.c" function  to use 
RUN_CONTROL->currents->solenoid
for the polarized target current value when the  current  is not set 
through Tcl variable
or through RUN_CONTROL->currents->ptm. The change is in CVS, and you can
check it out by "cvs update trk/dc_begin_run.c" from your "packages" 
directory and
rebuild your executable. 

o I also changed the values  for RUN_CONTROL->currents->solenoid  in the 
main
runindex and eg6 runindex. The values in the eg6 runindex are set to use 
the corerct
solenoid current in mA with a positive sign. If you are using a private 
runindex then you need
to copy the ranges for RUN_CONTROL->currents->solenoid from eg6 runindex 
to your private runindex:
caldb_copy_ranges.pl s=RUN_CONTROL ss=currents i=solenoid min=1 
max=200000 ris=calib_user.RunIndexeg6 rid=calib_user.privateRunIndex
where calib_user.privateRunIndex is the name of your private runindex. 
If you update
your source and the executable but not the runindex, then you may have 
crashes when using a
non-updated runindex.

Hovanes.





More information about the Lowq mailing list