mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-17 16:43:45 +01:00
gotthard and jungfrau servers do not need to send whole module for sending settings anymore
This commit is contained in:
@@ -4652,7 +4652,10 @@ string slsDetectorCommand::cmdSettings(int narg, char *args[], int action) {
|
||||
if (cmd=="settings") {
|
||||
detectorSettings sett = GET_SETTINGS;
|
||||
if (action==PUT_ACTION) {
|
||||
sett = myDet->setSettings(myDet->getDetectorSettings(string(args[1])));
|
||||
sett = myDet->getDetectorSettings(string(args[1]));
|
||||
if (sett == -1)
|
||||
return string ("unknown settings scanned " + string(args[1]));
|
||||
sett = myDet->setSettings(sett);
|
||||
if (myDet->getDetectorsType() == EIGER) {
|
||||
return myDet->getDetectorSettings(sett);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user