mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 18:40:42 +02:00
may be changes to jungfrau detector server
This commit is contained in:
parent
2b05ceb281
commit
dc05e58a57
@ -1982,7 +1982,7 @@ int startStateMachine(){
|
||||
bus_w16(CONTROL_REG, FIFO_RESET_BIT);
|
||||
bus_w16(CONTROL_REG, 0x0);
|
||||
bus_w16(CONTROL_REG, START_ACQ_BIT | START_EXPOSURE_BIT);
|
||||
usleep(20);
|
||||
// usleep(20);
|
||||
bus_w16(CONTROL_REG, 0x0);
|
||||
//verify
|
||||
/* if(bus_r(STATUS_REG) & RUN_BUSY_BIT) */
|
||||
@ -1996,10 +1996,10 @@ int startStateMachine(){
|
||||
/* if(i!=0) */
|
||||
/* printf("tried to start state machine %d times\n",i); */
|
||||
|
||||
if(i==100){
|
||||
printf("\n***********COULD NOT START STATE MACHINE***************\n");
|
||||
return FAIL;
|
||||
}
|
||||
/* if(i==100){ */
|
||||
/* printf("\n***********COULD NOT START STATE MACHINE***************\n"); */
|
||||
/* return FAIL; */
|
||||
/* } */
|
||||
|
||||
printf("statusreg=%08x\n",bus_r(STATUS_REG));
|
||||
return OK;
|
||||
|
@ -896,8 +896,8 @@ slsDetectorDefs::sls_detector_module* slsDetector::createModule(detectorType t)
|
||||
na=1;
|
||||
break;
|
||||
case JUNGFRAUCTB:
|
||||
nch=1//32;
|
||||
nm=32;
|
||||
nch=32;//32;
|
||||
nm=1;
|
||||
nc=1;
|
||||
nd=8; // dacs+adcs
|
||||
na=1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user