67 fNoOfErrors = noOfErrors;
71 cm_msg(MINFO,
"lemAutoRun",
"line : %d, %s", line, errorMsg.toLatin1().data());
74 cm_msg(MINFO,
"lemAutoRun", errorMsg.toLatin1().data());
78 cm_msg(MERROR,
"lemAutoRun",
"line : %d, %s", line, errorMsg.toLatin1().data());
80 cm_msg(MERROR,
"lemAutoRun",
"%s", errorMsg.toLatin1().data());
83 CheckForAlarm(errorNo, errorMsg);
84 CheckErrorNo(errorNo);
99 bool warningNeeded =
false;
132 warningNeeded =
true;
139 strncpy(str, errorMsg.toLatin1().data(),
sizeof(str));
140 al_trigger_alarm(
"lemAutoRun", str,
"Warning", str, AT_INTERNAL);
176 if (fNoOfErrors == fErrCount)
#define LAR_LOST_NETWORK_CONNECTION
lost network connection error tag
#define LAR_MIDAS_CONNECTION_FAILED
MIDAS connection failed error tag.
#define LAR_MIDAS_CANNOT_START_RUN
MIDAS cannot start run error tag.
#define LAR_FATAL
something unexpected really bad happend
#define LAR_XML_INIT_ERROR
XML init error tag.
#define LAR_MSG
message tag for the message/error handler
#define LAR_XML_ERROR
XML error tag (parsing)
#define LAR_FOM_CURRENT_NOT_REACHED
FOM current not reached.
#define LAR_BPV_CLOSED_AT_RUN_START
BPVX/Y closed at run start.
#define LAR_FIELD_NOT_REACHED
field not reached within timeout error tag
#define LAR_AUTO_RUN_DISABLED
auto run disabled tag
#define LAR_SAMPLE_HV_NOT_REACHED
sample high voltage not reached within timeout error tag
#define LAR_INPUT_FILE_READ_ERROR
file read error tag
#define LAR_LS_TEMP_NOT_STABLE
sample temperature is out of the tolerance band
#define LAR_MIDAS_READBACK_FAILURE
MIDAS readback verification timeout fired.
#define LAR_XML_EXCEPTION
XML exception error tag.
#define LAR_MIDAS_KEY_FAILURE
MIDAS key failure error tag.
#define LAR_FUG_NO_RESPONSE
FUG high voltage not responding error tag.
void CheckForAlarm(int errorNo, QString errorMsg)
#define LAR_XML_FILE_MISSING
XML file missing error tag.
#define LAR_INVALID_CMD
invalid cmd error tag
#define LAR_RA_HV_OFF_AT_RUN_START
RA HV's off at run starts.
#define LAR_BPVY_NO_RESPONSE
BPVY not responding error tag.
#define LAR_XML_OUT_OF_MEMORY
XML out of memory error tag.
#define LAR_XML_FATAL
XML fatal error tag (parsing)
#define LAR_RECIEVED_SHUTDOWN_CMD
recieved shutdown cmd tag
#define LAR_INPUT_FILE_NOT_EXISTING
file does not exist error tag
#define LAR_MIDAS_DEVICE_NOT_REMOTE
MIDAS device not remote error tag.
#define LAR_OMEGA_TEMP_NOT_STABLE
sample temperature of the oven is out of the tolerance band
void HandleErrors(int noOfErrors, int idx, int errorNo, int line, QString errorMsg)
#define LAR_XML_WARNING
XML warning tag (parsing)
#define LAR_MSG_NO_LINE_NO
message tag for the message/error handler for no line number information
#define LAR_OUT_OF_MEMORY
out of memory error tag
#define LAR_LS_INPUT_NONSENSE
sample lakshore readback doesn't make any sense
#define LAR_XML_UNEXPECTED_EXCEPTION
XML unexpected exception error tag.
void CheckErrorNo(int errorNo)
#define LAR_OUTPUT_FILE_WRITE_ERROR
output file write error tag
#define LAR_MIDAS_FE_NOT_RUNNING
MIDAS frontend not running error tag.
#define LAR_MIDAS_ODB_FAILURE
MIDAS odb failure error tag.
#define LAR_STOP_STOP_NONSENSE
run stopped and STOP command called: doesn't make any sense
#define LAR_MIDAS_NO_RUN_TRANSITION
MIDAS no run transition notification obtained within 60sec.
#define LAR_XML_MISSING_ENTRY
XML missing entry error tag.
#define LAR_FORCED_RA_OFF
forced switch off of the RA HV's