jungfrau fix: wait for acquisition to be done before sending stop receiver

This commit is contained in:
2020-01-23 16:41:09 +01:00
parent ffc09ed19c
commit abe63acc79
3 changed files with 2 additions and 2 deletions

View File

@ -1788,11 +1788,11 @@ enum runStatus getRunStatus(){
void readFrame(int *ret, char *mess){ void readFrame(int *ret, char *mess){
#ifdef VIRTUAL
// wait for status to be done // wait for status to be done
while(runBusy()){ while(runBusy()){
usleep(500); usleep(500);
} }
#ifdef VIRTUAL
FILE_LOG(logINFOGREEN, ("acquisition successfully finished\n")); FILE_LOG(logINFOGREEN, ("acquisition successfully finished\n"));
return; return;
#endif #endif

View File

@ -8,5 +8,5 @@
#define APIGOTTHARD 0x200122 #define APIGOTTHARD 0x200122
#define APIGOTTHARD2 0x200122 #define APIGOTTHARD2 0x200122
#define APIEIGER 0x200122 #define APIEIGER 0x200122
#define APIJUNGFRAU 0x200122
#define APIMYTHEN3 0x200122 #define APIMYTHEN3 0x200122
#define APIJUNGFRAU 0x200123