mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 16:27:13 +02:00
Merge branch 'developer' into gui
This commit is contained in:
@ -3220,7 +3220,7 @@ int slsDetector::getReceiverOnlineFlag() 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