From d54392c6eb63f22c76133a4fc3f631a99c12d047 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Fri, 7 Oct 2016 12:45:34 +0200 Subject: [PATCH] increased delay to get framescaught from receiver for acquire form command line --- slsDetectorSoftware/slsDetector/slsDetectorCommand.cpp | 3 ++- slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/slsDetector/slsDetectorCommand.cpp b/slsDetectorSoftware/slsDetector/slsDetectorCommand.cpp index 276207b15..41d36c186 100644 --- a/slsDetectorSoftware/slsDetector/slsDetectorCommand.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetectorCommand.cpp @@ -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); diff --git a/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp b/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp index 5229ce89f..946a9e07e 100644 --- a/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp +++ b/slsDetectorSoftware/slsDetectorAnalysis/postProcessing.cpp @@ -494,7 +494,7 @@ void* postProcessing::processData(int delflag) { while(true){ cout.flush(); cout<