switching off gui, and acqire should work

This commit is contained in:
Dhanya Maliakal
2016-10-07 10:21:22 +02:00
parent b1dde586e1
commit dc16d52d49
2 changed files with 6 additions and 5 deletions

View File

@ -73,7 +73,7 @@ int slsDetectorUtils::acquire(int delflag){
enableDataStreamingFromReceiver(0); //no call back but streaming enabled, then dont stream.
}
}else{
if(*threadedProcessing && (!ret)){
if(*threadedProcessing && (!ret || ret == -1)){
cout << "Enabling Data Streaming from Receiver" << endl;
enableDataStreamingFromReceiver(1); //call back exists, threaded but streaming disabled, then stream.
}