increased delay to get framescaught from receiver for acquire form command line

This commit is contained in:
Dhanya Maliakal 2016-10-07 12:45:34 +02:00
parent 125c3a789a
commit d54392c6eb
2 changed files with 3 additions and 2 deletions

View File

@ -4485,7 +4485,8 @@ string slsDetectorCommand::cmdReceiver(int narg, char *args[], int action) {
if(!strcasecmp(args[1],"start"))
myDet->startReceiver();
else if(!strcasecmp(args[1],"stop")){
myDet->startReceiverReadout();
//myDet->stopReceiver();
// myDet->startReceiverReadout();
/*runStatus s = myDet->getReceiverStatus();
while(s != RUN_FINISHED){
usleep(50000);

View File

@ -494,7 +494,7 @@ void* postProcessing::processData(int delflag) {
while(true){
cout.flush();
cout<<flush;
usleep(20000); //20ms need this else connecting error to receiver (too fast)
usleep(50000); //20ms need this else connecting error to receiver (too fast)
//get progress
if(setReceiverOnline() == ONLINE_FLAG){