lemAutoRun  1.0
Classes | Macros | Typedefs
lemAutoRun.h File Reference
#include <QString>
#include <QVector>
Include dependency graph for lemAutoRun.h:
This graph shows which files directly or indirectly include this file:

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_LS340_INPUT_NONSENSE   704
 sample lakshore readback doesn't make any sense More...
 
#define LAR_LS340_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< AutoRunCmdPAutoRunCmdVector
 
typedef QVector< OdbTagPOdbTagVector
 

Macro Definition Documentation

#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
#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
#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
#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
#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_LS340_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_LS340_TEMP_NOT_STABLE   705
#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
#define LAR_MIDAS_CONNECTION_FAILED   600

MIDAS connection failed error tag.

Definition at line 67 of file lemAutoRun.h.

Referenced by PErrorHandler::CheckErrorNo(), PErrorHandler::CheckForAlarm(), and PLemAutoRun::ConnectToExp().

#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(), PErrorHandler::CheckForAlarm(), and PLemAutoRun::SetTemp().

#define LAR_MIDAS_FE_NOT_RUNNING   603
#define LAR_MIDAS_KEY_FAILURE   601
#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
#define LAR_MSG   1
#define LAR_MSG_NO_LINE_NO   2
#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(), PErrorHandler::CheckForAlarm(), and PLemAutoRun::ConnectToExp().

#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
#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
#define LAR_XML_FILE_MISSING   500
#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 Documentation

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.