mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00
a check in gotthard server to ensure that it is really gotthard and not moench module
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@528 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
671c30f30a
commit
fb47f3d4fc
Binary file not shown.
@ -78,12 +78,12 @@ int init_detector( int b) {
|
||||
setPhaseShiftOnce();
|
||||
prepareADC();
|
||||
setADC(-1); //already does setdaqreg and clean fifo
|
||||
printf("in chip of interest reg:0x%x\n",bus_r(CHIP_OF_INTRST_REG));
|
||||
printf("Chip of interest:0x%x\n",bus_r(CHIP_OF_INTRST_REG));
|
||||
int reg = (NCHAN*NCHIP)<<CHANNEL_OFFSET;
|
||||
reg&=CHANNEL_MASK;
|
||||
reg|=ACTIVE_ADC_MASK;
|
||||
bus_w(CHIP_OF_INTRST_REG,reg);
|
||||
printf("in chip of interest reg:0x%x\n",bus_r(CHIP_OF_INTRST_REG));
|
||||
printf("Chip of interest:0x%x\n",bus_r(CHIP_OF_INTRST_REG));
|
||||
setSettings(GET_SETTINGS,-1);
|
||||
//Initialization
|
||||
setFrames(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user