/home/gam/acct/gs/user/mtm
# set pretrigger high to stop data activity dbpf "ge_pre_mult","100" # and stop the master readout module timeout task ts mrmto # initialize branch and crate branchinit 0 crateinit 0,2 # set inhibit camwrt 2,30,9,26,0 camrd 2,30,9,26 # set status word (VSN + ECL enable + ped sub --- etc) # 1000|0111|xxxx|xxxx where x..x is the VSN # 2, n,0,9,0 clears, 2, n,0,16,0x07xx writes and # 2, n,0,0 reads back. camwrt 2, 9,0,9,0; camwrt 2, 9,0,16,0x8730; camrd 2, 9,0,0 camwrt 2,10,0,9,0; camwrt 2,10,0,16,0x8740; camrd 2,10,0,0 camwrt 2,11,0,9,0; camwrt 2,11,0,16,0x8750; camrd 2,11,0,0 camwrt 2,12,0,9,0; camwrt 2,12,0,16,0x8760; camrd 2,12,0,0 # set pedestals on fera in slot 9 camwrt 2, 9, 0,17, 10; camrd 2, 9, 0,1 camwrt 2, 9, 1,17, 10; camrd 2, 9, 1,1 camwrt 2, 9, 2,17, 10; camrd 2, 9, 2,1 camwrt 2, 9, 3,17, 10; camrd 2, 9, 3,1 camwrt 2, 9, 4,17, 10; camrd 2, 9, 4,1 camwrt 2, 9, 5,17, 10; camrd 2, 9, 5,1 camwrt 2, 9, 6,17, 10; camrd 2, 9, 6,1 camwrt 2, 9, 7,17, 10; camrd 2, 9, 7,1 camwrt 2, 9, 8,17, 10; camrd 2, 9, 8,1 camwrt 2, 9, 9,17, 10; camrd 2, 9, 9,1 camwrt 2, 9,10,17, 10; camrd 2, 9,10,1 camwrt 2, 9,11,17, 10; camrd 2, 9,11,1 camwrt 2, 9,12,17, 10; camrd 2, 9,12,1 camwrt 2, 9,13,17, 10; camrd 2, 9,13,1 camwrt 2, 9,14,17, 10; camrd 2, 9,14,1 camwrt 2, 9,15,17, 10; camrd 2, 9,15,1 # set pedestals on fera in slot 10 camwrt 2, 9, 0,17, 10; camrd 2,10, 0,1 . . . camwrt 2,12,10,17, 10; camrd 2,12,10,1 camwrt 2,12,11,17, 10; camrd 2,12,11,1 camwrt 2,12,12,17, 10; camrd 2,12,12,1 camwrt 2,12,13,17, 10; camrd 2,12,13,1 camwrt 2,12,14,17, 10; camrd 2,12,14,1 camwrt 2,12,15,17, 10; camrd 2,12,15,1 # uninhibit the crate again camwrt 2,30,9,24,0 camrd 2,30,9,24 # reset pretrigger multiplicity dbpf "ge_pre_mult","10" # and resume the master module timeout task tr mrmtoAs you can see, the usual cnaf command is simply replaced by camwrt and camrd commands.
< /home/gam/acct/gs/user/mtm/neu.camin the console window of gamvxi07, the resource manager in the master trigger/readout VXI crate, which has the CBD 8210 CAMAC branch driver. This module does the cnaf commands via daisy-chained A2 crate controllers in the Camac crates.
< /home/gam/acct/gs/user/mtm/uball_pedsup < /home/gam/acct/gs/user/mtm/pedestals_jan97 < /home/gam/acct/gs/user/mtm/neu.cam #--------------------------------------------- dbpf "ge_main_sum.HOPR","8" dbpf "ge_late_sum.HOPR","8" #I.e., it loads all the pedestals, etc that are appropriate so that when the gamvxi07 crate is rebooted all modules will come up correctly.
version:
$Header: /dk/WWW/gammasphere/doc/RCS/camac_load.html,v 1.1 1997/08/15 18:50:18 tl Exp tl $