NEXT
Make New Entry,
Make Followup Entry
User name silwal
Log entry time 03:54:20 on September 06, 2009
Entry number 288237
keyword=adc18 gains preset in the boot files for counting house, left and right arm crates
boot folder:/adaqfs/home/apar/vxworks
The following lines have been added to the respective boot files:
Right arm: happex7.boot
#
#set adc18 gains
# Set integrator gain factor.
# note: a gain of '3' is minimum, '0' is max (in terms of result per volt)
adc18_intgain(0,3);
adc18_intgain(1,3);
adc18_intgain(2,3);
adc18_intgain(3,3);
adc18_intgain(4,3);
# Set V-to-C conversion. The gain is linear in 'conv'
adc18_setconv(0,0);
adc18_setconv(1,0);
adc18_setconv(2,0);
adc18_setconv(3,0);
adc18_setconv(4,0);
#
#
Left arm: hallavme14.boot
#
#set adc18 gains
# Set integrator gain factor.
# note: a gain of '3' is minimum, '0' is max (in terms of result per volt)
adc18_intgain(0,3);
# Set V-to-C conversion. The gain is linear in 'conv'
adc18_setconv(0,0);
#
#
Counting House: halladaq6.boot
#set adc18 gains
# Set integrator gain factor.
# note: a gain of '3' is minimum, '0' is max (in terms of result per volt)
adc18_intgain(0,2);
# Set V-to-C conversion. The gain is linear in 'conv'
adc18_setconv(0,0);
#
#
This is not a very good way of presetting the adc gains, but it does the
job. It sets the adc gains to appropriate levels, so that we are not at
the mercy of shift workers' capacity to set the gains properly every time
the crates are rebooted. If the adc18s are added or removed from the
crates, then one needs to modify the gain parameters in the respective
boot files. This is only meant to be a temporary solution until we come
up with a better one.
A copy of this log entry has been emailed to: dalton@jlab.org, paschke@jlab.org, mercado@jlab.org, rom@jlab.org