To monitor a status of a varaible in an appplicaiton this group of modules provides different possiblites. It includes
- MaxMonitor to monitor a value depending upon two MAX thresholds for warning and fault.
- MinMonitor to monitor a value depending upon two MIN thresholds for warning and fault.
- RangeMonitor to monitor a value depending upon two ranges of thresholds for warning and fault.
- ExactMonitor to monitor a value which should be exactly same as required value. Depending upon the value and condition on of the four states are reported.
- OFF, OK, WARNING, FAULT.
Checkout the status monitor example to see in detail how it works.
#include <ChimeraTK/ApplicationCore/ApplicationCore.h>
#include <ChimeraTK/ApplicationCore/EnableXMLGenerator.h>
#include <ChimeraTK/ApplicationCore/ModuleGroup.h>
#include <ChimeraTK/ApplicationCore/StatusMonitor.h>
double direction = 1;
while(true) {
direction = -1;
}
direction = 1;
}
usleep(100000);
}
}
};
dumpConnections();
}
"/TemperatureMonitor/temperatureStatus", "/TemperatureMonitor", "monitor for the simulated temperature",
} simulationGroup{this, "Simulation", ""};
};