mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-03-13 03:57:43 +01:00
Setonline (#42)
* setonline and setreceiveronline removed from command line * removed multi shm rxr online flag * setonine and setreceiveronline not needed in gui
This commit is contained in:
committed by
Erik Fröjdh
parent
c8d9503d5f
commit
fb2c015c5c
@@ -328,7 +328,6 @@ void multiSlsDetector::initializeDetectorStructure() {
|
||||
}
|
||||
|
||||
multi_shm()->acquiringFlag = false;
|
||||
multi_shm()->receiverOnlineFlag = OFFLINE_FLAG;
|
||||
multi_shm()->receiver_upstream = false;
|
||||
}
|
||||
|
||||
@@ -2986,11 +2985,8 @@ int multiSlsDetector::setReceiverOnline(int value, int detPos) {
|
||||
}
|
||||
|
||||
// multi
|
||||
if (value != GET_ONLINE_FLAG) {
|
||||
auto r = parallelCall(&slsDetector::setReceiverOnline, value);
|
||||
multi_shm()->receiverOnlineFlag = sls::minusOneIfDifferent(r);
|
||||
}
|
||||
return multi_shm()->receiverOnlineFlag;
|
||||
auto r = parallelCall(&slsDetector::setReceiverOnline, value);
|
||||
return sls::minusOneIfDifferent(r);
|
||||
}
|
||||
|
||||
int multiSlsDetector::getReceiverOnlineFlag(int detPos) {
|
||||
|
||||
Reference in New Issue
Block a user