ensure receiver is updated when detector timer values are updated (force_update)

This commit is contained in:
Dhanya Maliakal
2016-08-12 17:44:28 +02:00
parent 332b0d221b
commit 1f9dc775f6
6 changed files with 10 additions and 9 deletions

View File

@ -1367,7 +1367,7 @@ unsigned int Feb_Control_GetNExposures(){return Feb_Control_nimages;}
int Feb_Control_SetExposureTime(double the_exposure_time_in_sec){
Feb_Control_exposure_time_in_sec = the_exposure_time_in_sec;
printf("Exposure time set to: %f\n",Feb_Control_exposure_time_in_sec);
printf("Exposure time set to: %fs\n",Feb_Control_exposure_time_in_sec);
return 1;
}
double Feb_Control_GetExposureTime(){return Feb_Control_exposure_time_in_sec;}

View File

@ -896,7 +896,8 @@ int64_t setTimer(enum timerIndex ind, int64_t val){
if(val >= 0){
printf(" Setting acq period: %fs\n",val/(1E9));
Feb_Control_SetExposurePeriod(val/(1E9));
}return (Feb_Control_GetExposurePeriod()*(1E9));
}
return (Feb_Control_GetExposurePeriod()*(1E9));
/* case DELAY_AFTER_TRIGGER:
if(val >= 0)
EigerSetNumberOfExposures((unsigned int)val);