mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 23:37:14 +02:00
connected command to execute command in receiver pc
This commit is contained in:
@ -2724,6 +2724,18 @@ int multiSlsDetector::exitReceiver(int detPos) {
|
||||
}
|
||||
|
||||
|
||||
int multiSlsDetector::execReceiverCommand(std::string cmd, int detPos) {
|
||||
// single
|
||||
if (detPos >= 0) {
|
||||
return detectors[detPos]->execReceiverCommand(cmd);
|
||||
}
|
||||
|
||||
// multi
|
||||
auto r = parallelCall(&slsDetector::execReceiverCommand, cmd);
|
||||
return sls::allEqualTo(r, static_cast<int>(OK)) ? OK : FAIL;
|
||||
}
|
||||
|
||||
|
||||
std::string multiSlsDetector::getFilePath(int detPos) {
|
||||
// single
|
||||
if (detPos >= 0) {
|
||||
|
Reference in New Issue
Block a user