The 6 control voltages for the ASDQ daughter boards are:
We use the 32-channel VMIC-4132 DAC:
A stand-alone C-routine using VISION software sets the control voltages:
Upon running setcv, the following list of commands is available:
Command list:
c --> goto command line
e [text] --> echo text
f [file] --> input script file
h --> help list
p --> command line prompt
q --> quit program
mc --> close server
mo [serv] [addr] --> open server at address (hex)
mr [addr] --> read address (hex)
mv [valu] --> verbose value (0-3)
mw [addr] [data] --> write data (hex)
dc --> close DAC
dl [func] --> DAC LED (0=off,1=on,>1=blink)
do [serv] [addr] --> open DAC, go online
dr [chan] --> read channel (1-32,0=all)
dt [chan] --> test channel (1-32,0=all)
dv [valu] --> verbose value (0-1)
dw [volt] [chan] --> write voltage (integer,mV)
atn [volt] --> attenuation (0=off,3000=on)
dth [volt] --> disc threshold
tre [volt] --> trigger ref (even)
tro [volt] --> trigger ref (odd)
qen [volt] --> charge enable (0=on,3000=off)
qdr [volt] --> drain current
ea, eb, ec, ed --> open East Quad A,B,C,D
wa, wb, wc, wd --> open West Quad A,B,C,D
def --> apply default settings
tst [nv] [nt] [fn] --> run module test procedure
co [SL] [QD] --> open COT DAC, go online
cr [CV] [SL] [QD] --> read COT DAC values
ct [CV] [SL] [QD] --> test COT DAC values
cw [CV] [volt] [SL] [QD] --> write COT DAC values
Command(): q
Only the four commands c* are relevant for COT operation, and can be run interactively (by entering setcv) or from the Unix command line by passing the commands as parameters to setcv (separating each by a -). Here, SL refers to superlayer (1-8, or 0 for all), QD to quadrant (a-d or 0 for all), and CV is the control voltage (atn, dth, tre, etc.). Voltages [volt] are entered as integer millivolts.
For example, to open all DAC modules in SL8, set the thresholds to 350 mV, and set QDR to 1000mV, use the following commands:
co 8
cw dth 350 8
cw qdr 1000 8
or equivalently from the Unix command line, enter:
setcv -co 8 -cw dth 350 8 -cw qdr 1000 8
The values of SL and QD default to 0 (or all).
Dave Ambrose, University of Pennsylvania,
ambrose@fnal.gov