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:
l_maliakal_d 2013-04-26 09:10:46 +00:00
parent 671c30f30a
commit fb47f3d4fc
2 changed files with 2 additions and 2 deletions

View File

@ -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);