mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 15:27:13 +02:00
bugfix rxr: checkonline prints error msg, call receiverversion instead
This commit is contained in:
@ -3230,7 +3230,7 @@ int slsDetector::getReceiverOnline() const { return shm()->rxOnlineFlag; }
|
||||
|
||||
std::string slsDetector::checkReceiverOnline() {
|
||||
try {
|
||||
auto receiver = ReceiverSocket(shm()->rxHostname, shm()->rxTCPPort);
|
||||
getReceiverSoftwareVersion();
|
||||
shm()->rxOnlineFlag = ONLINE_FLAG;
|
||||
} catch (...) {
|
||||
shm()->rxOnlineFlag = OFFLINE_FLAG;
|
||||
|
Reference in New Issue
Block a user