Layout of main daq function calls
SIS card information
We have 2 Struck SIS3301 and 1 Struck SISXXXX digitizers
sis3300_v340.pdf
To change the number of SIS cards used in the readout
Log into nanosun
ssh -Y nanosun.kek.jp -l user1
nanosun> cd msaves/
nanosun> Edit nanoinit.m
nanosun> Edit ncards= to the number of cards installed
restart all matlab processes
To check sisdata directly in Matlab
Log into nanosun
ssh -Y nanosun.kek.jp -l user1
nanosun> cd nanorun/msaves/DATE_TIME_DIRECTORY/
nanosun> matlab_nd
matlab> load 'RUN1.mat'
matlab> plot(sisdata{evtnumber}(:,sischannelnumber))
evtnumber in number of beam extraction
sischannelnumber is the sischannel+3*cardnumber
SIS configuration
(record length)
1) Edit /home/user1/mfiles/reconfig_short.m changing the value of mystruc(icard).myvalues{2}
2) SIS database configuration (Record length). As NanoAdmin
/home/cdvxn/cmd/
SIS 1 & 2 : dbsis.cmd
SIS 3 : dbsis3.cmd
for 8000 record length
SIS 1 & 2 : dbsis_8000.cmd
SIS 3 : dbsis3_8000.cmd
for 250 record length
SIS 1 & 2 : dbsis_250.cmd
SIS 3 : dbsis3_250.cmd
copy corresponding dbsisX_XXX.cmd to dbsisX.cmd
3) reboot nanovw :
rsh nanovw
reboot (to reboot)
logout (to logout)
4) ping nanovw (192.168.0.3) to check it is alive
5) test with caget lsis1:waveform0
Clocking
Edit /home/user1/mfiles/reconfig_short.m
change follow lines
mystruc(icard).myvalues{5}=0; % 100 MHz
to
mystruc(icard).myvalues{5}=6; % External clock
To implement the clock, please exit from matlab and restart matlab_nano
These commands are in a loop over icard, depends on the number of cards implemented
and if all are externally clocked. You might find these commands in if-else
control structure
To include or exclude nanogrid data
Edit file
~/mfiles/sisacq_func.m
to remove nanogrid readout comment out line
gridrawdata(:,ievent) = mcaget(gridstruc.handle)';