reverting multiSlsDetectorClient to previous version otherwise the index of the detector does not work with default multidetector index. Use sls_detector_get 1-acquire for acquiring with multiple multi-detectors

This commit is contained in:
bergamaschi 2015-08-28 12:58:26 +02:00
parent b073ecacb9
commit d19b051860

View File

@ -53,7 +53,7 @@ class multiSlsDetectorClient {
}; \
if (myDetector==NULL) { \
iv=sscanf(argv[0],"%d-%s",&id, cmd); \
if (id>=0) { \
if (iv==2 && id>=0) { \
myDetector=new multiSlsDetector(id); \
argv[0]=cmd; \
cout << id << "-" ; \