included datastream command earlier but not working yet

This commit is contained in:
Dhanya Maliakal
2016-11-08 15:21:56 +01:00
parent 8aea36b4ef
commit dec82ab850
2 changed files with 1 additions and 1 deletions

View File

@ -5639,6 +5639,7 @@ int multiSlsDetector::enableDataStreamingFromReceiver(int enable){
}
}else enable = threadStarted;
int ret=-100, ret1;
for (int idet=0; idet<thisMultiDetector->numberOfDetectors; idet++) {
if (detectors[idet]) {

View File

@ -1382,7 +1382,6 @@ string slsDetectorCommand::cmdDataStream(int narg, char *args[], int action) {
if (action==PUT_ACTION) {
if (!sscanf(args[1],"%d",&ival))
return string ("cannot scan datastream mode");
myDet->enableDataStreamingFromReceiver(ival);
}
sprintf(ans,"%d",myDet->enableDataStreamingFromReceiver());