mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
acquire works properly now
This commit is contained in:
parent
7e44648da9
commit
477b2fb467
Binary file not shown.
@ -537,8 +537,6 @@ int startStateMachine(){
|
||||
|
||||
while(getRunStatus() == IDLE);
|
||||
printf("*****Acquiring...\n");
|
||||
|
||||
|
||||
}
|
||||
/*else usleep(1000000);
|
||||
printf("****Returning\n");*/
|
||||
@ -598,10 +596,13 @@ enum runStatus getRunStatus(){
|
||||
|
||||
|
||||
char *readFrame(int *ret, char *mess){
|
||||
if(!Feb_Control_WaitForFinishedFlag(5000))
|
||||
printf("error in waiting for finished flag\n");
|
||||
printf("Acquisition finished\n");
|
||||
|
||||
//if(master){
|
||||
if(!Feb_Control_WaitForFinishedFlag(5000))
|
||||
printf("error in waiting for finished flag\n");
|
||||
printf("Acquisition finished\n");
|
||||
usleep(0);
|
||||
printf("*****Done Waiting...\n");
|
||||
//}
|
||||
*ret = (int)FINISHED;
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user