From 9c66e9677072e746d0dbf04c74c04ccf2b3307dc Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Thu, 21 May 2015 11:11:17 +0200 Subject: [PATCH] receiver stop command line should not have receiver readout, acquire doesnt hacve it anymore --- slsDetectorSoftware/slsDetector/slsDetectorCommand.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsDetectorSoftware/slsDetector/slsDetectorCommand.cpp b/slsDetectorSoftware/slsDetector/slsDetectorCommand.cpp index 0c652fd5f..759fc9e51 100644 --- a/slsDetectorSoftware/slsDetector/slsDetectorCommand.cpp +++ b/slsDetectorSoftware/slsDetector/slsDetectorCommand.cpp @@ -4247,11 +4247,11 @@ string slsDetectorCommand::cmdReceiver(int narg, char *args[], int action) { myDet->startReceiver(); else if(!strcasecmp(args[1],"stop")){ myDet->startReceiverReadout(); - runStatus s = myDet->getReceiverStatus(); + /*runStatus s = myDet->getReceiverStatus(); while(s != RUN_FINISHED){ usleep(50000); s = myDet->getReceiverStatus(); - } + }*/ myDet->stopReceiver(); } else