lemAutoRun
1.0
|
#include <QString>
#include <QVector>
Go to the source code of this file.
Classes | |
struct | AutoRunCmd |
struct | OdbTag |
Macros | |
#define | LAR_MAX_PARAM 64 |
maximum number of parameters for an auto run cmd More... | |
#define | LAR_SUCCESS 0 |
success operation tag More... | |
#define | LAR_MSG 1 |
message tag for the message/error handler More... | |
#define | LAR_MSG_NO_LINE_NO 2 |
message tag for the message/error handler for no line number information More... | |
#define | LAR_FATAL 3 |
something unexpected really bad happend More... | |
#define | LAR_STATE_STOPPED 0 |
auto run state stopped, i.e. idle More... | |
#define | LAR_STATE_PAUSED 1 |
auto run state paused More... | |
#define | LAR_STATE_STARTING 2 |
auto run state is: starting up More... | |
#define | LAR_STATE_RUNNING 3 |
auto run state running More... | |
#define | LAR_STATE_LOAD 4 |
tag needed to update the web-page without starting the run, process starting More... | |
#define | LAR_STATE_LOADING 5 |
tag needed to update the web-page without starting the run, process underway More... | |
#define | LAR_STATE_NEXT 6 |
tag showing that a next autrun shall be executed More... | |
#define | LAR_INPUT_FILE_NOT_EXISTING 100 |
file does not exist error tag More... | |
#define | LAR_INPUT_FILE_READ_ERROR 101 |
file read error tag More... | |
#define | LAR_OUT_OF_MEMORY 102 |
out of memory error tag More... | |
#define | LAR_LOST_NETWORK_CONNECTION 103 |
lost network connection error tag More... | |
#define | LAR_RECIEVED_SHUTDOWN_CMD 104 |
recieved shutdown cmd tag More... | |
#define | LAR_AUTO_RUN_DISABLED 105 |
auto run disabled tag More... | |
#define | LAR_INVALID_CMD 200 |
invalid cmd error tag More... | |
#define | LAR_OUTPUT_FILE_WRITE_ERROR 300 |
output file write error tag More... | |
#define | LAR_XML_INIT_ERROR 400 |
XML init error tag. More... | |
#define | LAR_XML_OUT_OF_MEMORY 401 |
XML out of memory error tag. More... | |
#define | LAR_XML_EXCEPTION 402 |
XML exception error tag. More... | |
#define | LAR_XML_UNEXPECTED_EXCEPTION 403 |
XML unexpected exception error tag. More... | |
#define | LAR_XML_WARNING 404 |
XML warning tag (parsing) More... | |
#define | LAR_XML_ERROR 405 |
XML error tag (parsing) More... | |
#define | LAR_XML_FATAL 406 |
XML fatal error tag (parsing) More... | |
#define | LAR_XML_FILE_MISSING 500 |
XML file missing error tag. More... | |
#define | LAR_XML_MISSING_ENTRY 501 |
XML missing entry error tag. More... | |
#define | LAR_MIDAS_CONNECTION_FAILED 600 |
MIDAS connection failed error tag. More... | |
#define | LAR_MIDAS_KEY_FAILURE 601 |
MIDAS key failure error tag. More... | |
#define | LAR_MIDAS_ODB_FAILURE 602 |
MIDAS odb failure error tag. More... | |
#define | LAR_MIDAS_FE_NOT_RUNNING 603 |
MIDAS frontend not running error tag. More... | |
#define | LAR_MIDAS_DEVICE_NOT_REMOTE 604 |
MIDAS device not remote error tag. More... | |
#define | LAR_MIDAS_CANNOT_START_RUN 605 |
MIDAS cannot start run error tag. More... | |
#define | LAR_MIDAS_NO_RUN_TRANSITION 606 |
MIDAS no run transition notification obtained within 60sec. More... | |
#define | LAR_MIDAS_READBACK_FAILURE 607 |
MIDAS readback verification timeout fired. More... | |
#define | LAR_SAMPLE_HV_NOT_REACHED 700 |
sample high voltage not reached within timeout error tag More... | |
#define | LAR_FIELD_NOT_REACHED 701 |
field not reached within timeout error tag More... | |
#define | LAR_BPVY_NO_RESPONSE 702 |
BPVY not responding error tag. More... | |
#define | LAR_FUG_NO_RESPONSE 703 |
FUG high voltage not responding error tag. More... | |
#define | LAR_LS_INPUT_NONSENSE 704 |
sample lakshore readback doesn't make any sense More... | |
#define | LAR_LS_TEMP_NOT_STABLE 705 |
sample temperature is out of the tolerance band More... | |
#define | LAR_OMEGA_TEMP_NOT_STABLE 706 |
sample temperature of the oven is out of the tolerance band More... | |
#define | LAR_FOM_CURRENT_NOT_REACHED 707 |
FOM current not reached. More... | |
#define | LAR_BPV_CLOSED_AT_RUN_START 708 |
BPVX/Y closed at run start. More... | |
#define | LAR_RA_HV_OFF_AT_RUN_START 709 |
RA HV's off at run starts. More... | |
#define | LAR_FORCED_RA_OFF 710 |
forced switch off of the RA HV's More... | |
#define | LAR_STOP_STOP_NONSENSE 711 |
run stopped and STOP command called: doesn't make any sense More... | |
Typedefs | |
typedef QVector< AutoRunCmd > | PAutoRunCmdVector |
typedef QVector< OdbTag > | POdbTagVector |
#define LAR_AUTO_RUN_DISABLED 105 |
auto run disabled tag
Definition at line 50 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), and PErrorHandler::HandleErrors().
#define LAR_BPV_CLOSED_AT_RUN_START 708 |
BPVX/Y closed at run start.
Definition at line 84 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckForAlarm(), and PLemAutoRun::RunStart().
#define LAR_BPVY_NO_RESPONSE 702 |
BPVY not responding error tag.
Definition at line 78 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), PLemAutoRun::SetTemp(), PLemAutoRun::SetTempOvenOmega(), and PLemAutoRun::WarmUp().
#define LAR_FATAL 3 |
something unexpected really bad happend
Definition at line 35 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PLemAutoRun::ConnectToExp(), and PLemAutoRun::ExecAutoRun().
#define LAR_FIELD_NOT_REACHED 701 |
field not reached within timeout error tag
Definition at line 77 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), PLemAutoRun::SetFieldDanfysik(), PLemAutoRun::SetFieldWEWH(), and PLemAutoRun::SetFieldWEWL().
#define LAR_FOM_CURRENT_NOT_REACHED 707 |
FOM current not reached.
Definition at line 83 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), and PLemAutoRun::SetFOM().
#define LAR_FORCED_RA_OFF 710 |
forced switch off of the RA HV's
Definition at line 86 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckForAlarm(), PLemAutoRun::SetFieldWEWH(), and PLemAutoRun::SetFieldWEWL().
#define LAR_FUG_NO_RESPONSE 703 |
FUG high voltage not responding error tag.
Definition at line 79 of file lemAutoRun.h.
Referenced by PLemAutoRun::ChangeSampleChamberHV(), PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), PLemAutoRun::GetDemandHVSampleChamber(), and PLemAutoRun::WarmUp().
#define LAR_INPUT_FILE_NOT_EXISTING 100 |
file does not exist error tag
Definition at line 45 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), and PAutoRunParser::ConvertToXML().
#define LAR_INPUT_FILE_READ_ERROR 101 |
file read error tag
Definition at line 46 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), and PAutoRunParser::ConvertToXML().
#define LAR_INVALID_CMD 200 |
invalid cmd error tag
Definition at line 52 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PAutoRunParser::ConvertField(), PAutoRunParser::ConvertFieldDanfysik(), PAutoRunParser::ConvertFieldWEWH(), PAutoRunParser::ConvertFieldWEWL(), PAutoRunParser::ConvertLoopField(), PAutoRunParser::ConvertLoopFieldDanfysik(), PAutoRunParser::ConvertLoopFieldWEWH(), PAutoRunParser::ConvertLoopFieldWEWL(), PAutoRunParser::ConvertOdbSetData(), PAutoRunParser::ConvertOdbSetDataArray(), PAutoRunParser::ConvertRA_HV(), PAutoRunParser::ConvertSpinRot(), and PAutoRunParser::ConvertToXML().
#define LAR_LOST_NETWORK_CONNECTION 103 |
lost network connection error tag
Definition at line 48 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), and PLemAutoRun::NetworkConnectionLost().
#define LAR_LS_INPUT_NONSENSE 704 |
sample lakshore readback doesn't make any sense
Definition at line 80 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), and PLemAutoRun::CheckTempStability().
#define LAR_LS_TEMP_NOT_STABLE 705 |
sample temperature is out of the tolerance band
Definition at line 81 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), PLemAutoRun::CheckTempStability(), PLemAutoRun::CheckTempStabilityOvenOmega(), PLemAutoRun::SetTemp(), and PLemAutoRun::SetTempOvenOmega().
#define LAR_MAX_PARAM 64 |
maximum number of parameters for an auto run cmd
Definition at line 30 of file lemAutoRun.h.
Referenced by PSAX2AutoRunParseHandler::ClearAutoRunCmd(), and PSAX2AutoRunParseHandler::endElement().
#define LAR_MIDAS_CANNOT_START_RUN 605 |
MIDAS cannot start run error tag.
Definition at line 72 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), PLemAutoRun::RunStart(), PLemAutoRun::RunStopCheck(), and PLemAutoRun::WarmUp().
#define LAR_MIDAS_CONNECTION_FAILED 600 |
MIDAS connection failed error tag.
Definition at line 67 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), and PErrorHandler::CheckForAlarm().
#define LAR_MIDAS_DEVICE_NOT_REMOTE 604 |
MIDAS device not remote error tag.
Definition at line 71 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), and PErrorHandler::CheckForAlarm().
#define LAR_MIDAS_FE_NOT_RUNNING 603 |
MIDAS frontend not running error tag.
Definition at line 70 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), PLemAutoRun::CheckMidasAlarms(), PLemAutoRun::DegaussDanfysik(), PLemAutoRun::DegaussSpinRot(), PLemAutoRun::DegaussWEW(), PLemAutoRun::RunStart(), PLemAutoRun::RunStop(), PLemAutoRun::RunStopCheck(), PLemAutoRun::SetFieldDanfysik(), PLemAutoRun::SetFieldWEWH(), PLemAutoRun::SetFieldWEWL(), PLemAutoRun::SetRA_HV(), PLemAutoRun::SetSampleHV(), PLemAutoRun::SetTemp(), PLemAutoRun::SetTempOvenOmega(), and PLemAutoRun::SetTfl().
#define LAR_MIDAS_KEY_FAILURE 601 |
MIDAS key failure error tag.
Definition at line 68 of file lemAutoRun.h.
Referenced by PLemAutoRun::CheckClients(), PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), PLemAutoRun::CheckForOdbSetDataCmds(), PLemAutoRun::CheckMidasAlarms(), PLemAutoRun::CheckOdbType(), PLemAutoRun::ConnectToExp(), PLemAutoRun::GetAllKeys(), PLemAutoRun::IsIdle(), PLemAutoRun::RunStopCheck(), PLemAutoRun::SetOdbData(), and PLemAutoRun::SetOdbDataArray().
#define LAR_MIDAS_NO_RUN_TRANSITION 606 |
MIDAS no run transition notification obtained within 60sec.
Definition at line 73 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), and PLemAutoRun::RunStart().
#define LAR_MIDAS_ODB_FAILURE 602 |
MIDAS odb failure error tag.
Definition at line 69 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), and PLemAutoRun::CheckForOdbSetDataCmds().
#define LAR_MIDAS_READBACK_FAILURE 607 |
MIDAS readback verification timeout fired.
Definition at line 74 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), PLemAutoRun::DegaussWEW(), PLemAutoRun::SetLSSetpoint(), and PLemAutoRun::SetOmegaSetpoint().
#define LAR_MSG 1 |
message tag for the message/error handler
Definition at line 33 of file lemAutoRun.h.
Referenced by PLemAutoRun::ConnectToExp(), PLemAutoRun::DegaussDanfysik(), PLemAutoRun::DegaussSpinRot(), PLemAutoRun::DegaussWEW(), PErrorHandler::HandleErrors(), PLemAutoRun::RunStart(), PLemAutoRun::RunStop(), PLemAutoRun::SetBPV(), PLemAutoRun::SetDump(), PLemAutoRun::SetField(), PLemAutoRun::SetFieldDanfysik(), PLemAutoRun::SetFieldWEWH(), PLemAutoRun::SetFieldWEWL(), PLemAutoRun::SetFOM(), PLemAutoRun::SetHvOff(), PLemAutoRun::SetIgnoreAlarms(), PLemAutoRun::SetIgnoreClients(), PLemAutoRun::SetLEMSetup(), PLemAutoRun::SetModInfo(), PLemAutoRun::SetOdbData(), PLemAutoRun::SetOdbDataArray(), PLemAutoRun::SetRA_HV(), PLemAutoRun::SetSampleHV(), PLemAutoRun::SetSpinRot(), PLemAutoRun::SetTemp(), PLemAutoRun::SetTempOvenOmega(), PLemAutoRun::SetTfl(), PLemAutoRun::SetTitle(), PLemAutoRun::SetTof(), PLemAutoRun::SetTransportHV(), PLemAutoRun::SetWait(), and PLemAutoRun::WarmUp().
#define LAR_MSG_NO_LINE_NO 2 |
message tag for the message/error handler for no line number information
Definition at line 34 of file lemAutoRun.h.
Referenced by PLemAutoRun::ChangeSampleChamberHV(), PLemAutoRun::CheckForTransportHvCmd(), PLemAutoRun::DegaussSpinRot(), PErrorHandler::HandleErrors(), PLemAutoRun::LoadHvSettings(), PLemAutoRun::RunStart(), PLemAutoRun::RunStop(), PLemAutoRun::RunStopCheck(), PLemAutoRun::SampleTempSetNeedleValve(), PLemAutoRun::SetHvOff(), PLemAutoRun::SetOdbData(), PLemAutoRun::SetRA_HV(), PLemAutoRun::SetSampleHV(), PLemAutoRun::SetSampleLSZoneSettings(), PLemAutoRun::SetSpinRot(), TdHvTripFlagChanged(), PLemAutoRun::UpdateWebPage(), and PLemAutoRun::WarmUp().
#define LAR_OMEGA_TEMP_NOT_STABLE 706 |
sample temperature of the oven is out of the tolerance band
Definition at line 82 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckForAlarm().
#define LAR_OUT_OF_MEMORY 102 |
out of memory error tag
Definition at line 47 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), and PErrorHandler::CheckForAlarm().
#define LAR_OUTPUT_FILE_WRITE_ERROR 300 |
output file write error tag
Definition at line 54 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), and PAutoRunParser::ConvertToXML().
#define LAR_RA_HV_OFF_AT_RUN_START 709 |
RA HV's off at run starts.
Definition at line 85 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckForAlarm(), and PLemAutoRun::RunStart().
#define LAR_RECIEVED_SHUTDOWN_CMD 104 |
recieved shutdown cmd tag
Definition at line 49 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), and PLemAutoRun::ReceivedShutdownCmd().
#define LAR_SAMPLE_HV_NOT_REACHED 700 |
sample high voltage not reached within timeout error tag
Definition at line 76 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), PLemAutoRun::DegaussSpinRot(), PLemAutoRun::SetRA_HV(), PLemAutoRun::SetSampleHV(), and PLemAutoRun::SetSpinRot().
#define LAR_STATE_LOAD 4 |
tag needed to update the web-page without starting the run, process starting
Definition at line 41 of file lemAutoRun.h.
Referenced by PLemAutoRun::ExecAutoRun().
#define LAR_STATE_LOADING 5 |
tag needed to update the web-page without starting the run, process underway
Definition at line 42 of file lemAutoRun.h.
Referenced by PLemAutoRun::ExecAutoRun().
#define LAR_STATE_NEXT 6 |
tag showing that a next autrun shall be executed
Definition at line 43 of file lemAutoRun.h.
Referenced by PLemAutoRun::DisconnectFromExp(), and PLemAutoRun::ExecAutoRun().
#define LAR_STATE_PAUSED 1 |
auto run state paused
Definition at line 38 of file lemAutoRun.h.
Referenced by PLemAutoRun::ExecAutoRun().
#define LAR_STATE_RUNNING 3 |
auto run state running
Definition at line 40 of file lemAutoRun.h.
Referenced by PLemAutoRun::CleanLiveData().
#define LAR_STATE_STARTING 2 |
auto run state is: starting up
Definition at line 39 of file lemAutoRun.h.
Referenced by PLemAutoRun::CleanLiveData().
#define LAR_STATE_STOPPED 0 |
auto run state stopped, i.e. idle
Definition at line 37 of file lemAutoRun.h.
Referenced by PLemAutoRun::DisconnectFromExp(), PLemAutoRun::ExecAutoRun(), PLemAutoRun::HandleParseError(), and PLemAutoRun::ReceivedShutdownCmd().
#define LAR_STOP_STOP_NONSENSE 711 |
run stopped and STOP command called: doesn't make any sense
Definition at line 87 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckForAlarm(), and PLemAutoRun::ExecAutoRun().
#define LAR_SUCCESS 0 |
success operation tag
Definition at line 32 of file lemAutoRun.h.
#define LAR_XML_ERROR 405 |
XML error tag (parsing)
Definition at line 61 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), and PSAX2AutoRunParseHandler::error().
#define LAR_XML_EXCEPTION 402 |
XML exception error tag.
Definition at line 58 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), and PAutoRunParser::Parse().
#define LAR_XML_FATAL 406 |
XML fatal error tag (parsing)
Definition at line 62 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), PSAX2AutoRunParseHandler::fatalError(), and PSAX2AutoRunParseHandler::internalFatalError().
#define LAR_XML_FILE_MISSING 500 |
XML file missing error tag.
Definition at line 64 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), PLemAutoRun::LoadHvSettings(), PLemAutoRun::ReadSampleCryoXML(), and PLemAutoRun::ReadStartupXML().
#define LAR_XML_INIT_ERROR 400 |
XML init error tag.
Definition at line 56 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), and PAutoRunParser::Parse().
#define LAR_XML_MISSING_ENTRY 501 |
XML missing entry error tag.
Definition at line 65 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), and PLemAutoRunXMLParser::endDocument().
#define LAR_XML_OUT_OF_MEMORY 401 |
XML out of memory error tag.
Definition at line 57 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), and PAutoRunParser::Parse().
#define LAR_XML_UNEXPECTED_EXCEPTION 403 |
XML unexpected exception error tag.
Definition at line 59 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), and PAutoRunParser::Parse().
#define LAR_XML_WARNING 404 |
XML warning tag (parsing)
Definition at line 60 of file lemAutoRun.h.
Referenced by PErrorHandler::CheckErrorNo(), and PSAX2AutoRunParseHandler::warning().
typedef QVector<AutoRunCmd> PAutoRunCmdVector |
Defines a vector object for auto run commands
Definition at line 233 of file lemAutoRun.h.
typedef QVector<OdbTag> POdbTagVector |
Defines a vector object of ODB tags.
Definition at line 249 of file lemAutoRun.h.