lemAutoRun  1.0
PLemAutoRun.h
Go to the documentation of this file.
1 /********************************************************************************************
2 
3  PLemAutoRun.h
4 
5 *********************************************************************************************
6 
7  begin : Andreas Suter, 2006/03/14
8  modfied: :
9  copyright : (C) 2006 by
10  email : andreas.suter@psi.ch
11 
12 ********************************************************************************************/
13 
14 /***************************************************************************
15  * *
16  * This program is free software; you can redistribute it and/or modify *
17  * it under the terms of the GNU General Public License as published by *
18  * the Free Software Foundation; either version 2 of the License, or *
19  * (at your option) any later version. *
20  * *
21  ***************************************************************************/
22 
23 #ifndef _PLEMAUTORUN_H_
24 #define _PLEMAUTORUN_H_
25 
26 #include <QObject>
27 #include <QString>
28 #include <QDateTime>
29 #include <QTimer>
30 #include <QVector>
31 #include <QMap>
32 #include <QtXml/QXmlDefaultHandler>
33 
34 #include "PGlobals.h"
35 #include "PPwd.h"
36 #include "PExperiment.h"
37 #include "PKey.h"
38 
39 #include "lemAutoRun.h"
40 
41 #define SAMPLE_CRYO_INPUT 21
42 #define SAMPLE_CRYO_OUTPUT 14
43 #define SAMPLE_OVEN_OMEGA_INPUT 10
44 #define SAMPLE_OVEN_OMEGA_OUTPUT 4
45 #define SAMPLE_TEMP_HISTO_MAX 10
46 
47 #define NO_ENERGY_LOSS_PARAM 4
48 
49 void TdHvTripFlagChanged(HNDLE, HNDLE, void*);
50 
51 class PLemAutoRun;
52 
53 //----------------------------------------------------------------------------
57 typedef struct {
58  double datetime;
59  float demand_T;
60  float measured_T;
61  float heater;
62  float flow;
63  float pressure;
65 
66 //----------------------------------------------------------------------------
70 typedef struct {
71  int state;
73  int run_number;
77  char start_time[NAME_LENGTH];
79  char stop_time[NAME_LENGTH];
81 } RunInfo;
82 
83 //----------------------------------------------------------------------------
88 {
89  public:
119 
122 
123  bool startDocument();
124  bool startElement(const QString&, const QString&, const QString& ,
125  const QXmlAttributes& qAttr);
126  bool endElement( const QString&, const QString&, const QString& );
127 
128  bool characters(const QString&);
129  bool endDocument();
130 
131  private:
134 
135  void setAttribute(const QString key, const QXmlAttributes& qAttr);
136 };
137 
138 //----------------------------------------------------------------------------
143 {
144  public:
161 
164 
165  bool startDocument();
166  bool startElement( const QString&, const QString&, const QString& ,
167  const QXmlAttributes& );
168  bool endElement( const QString&, const QString&, const QString& );
169 
170  bool characters(const QString&);
171  bool endDocument();
172 
173  private:
176 };
177 
178 //----------------------------------------------------------------------------
183 {
184  public:
186 
189 
190  bool startDocument();
191  bool startElement( const QString&, const QString&, const QString& ,
192  const QXmlAttributes& );
193  bool endElement( const QString&, const QString&, const QString& );
194 
195  bool characters(const QString&);
196  bool endDocument();
197 
198  bool isValid(QString &errMsg) { errMsg = fErrorMsg; return fValid; }
199 
200  QVector<int> *GetChNo() { return &fHvChNo; }
201  QVector<float> *GetHvDemands() { return &fHvDemand; }
202  QVector<float> *GetCurrentLimits() { return &fCurrentLimit; }
203 
204  private:
205  bool fValid;
206  QString fErrorMsg;
207  QString fHvDeviceName;
208  QVector<int> fHvChNo;
209  QVector<QString> fHvChName;
210  QVector<float> fHvDemand;
211  QVector<float> fCurrentLimit;
212 
214 };
215 
216 //----------------------------------------------------------------------------
220 class PLemAutoRun : public QObject
221 {
222  Q_OBJECT
223 
224  public:
225  PLemAutoRun(QString &host, QString &exp);
226  ~PLemAutoRun();
227 
228  void ReadStartupXML();
229  void ReadSampleCryoXML();
230  void ConnectToExp();
231  void DisconnectFromExp();
232  bool IsIdle();
233  void FeedMidasWatchdog() { fExp->FeedMidasWatchdog(); }
234 
235  QString *GetHostName() { return &fHostName; }
236  QString *GetExpName() { return &fExpName; }
237  QString GetUserAutoRunSeqFln();
238  QString *GetXMLSchemaFln() { return &fXMLSchemaFln; }
239  QString *GetXMLAutoRunFln() { return &fXMLAutoRunFln; }
241 
244  void FeedLiveDataAutoRun();
245  void ExecAutoRun();
246 
247  public slots:
248  void HandleParseError(int noOfErrors, int idx, int errorNo, int line, QString errorMsg);
249  void DisconnectAndQuit();
250 
251  signals:
252  void ErrorMsg(int noOfErrors, int idx, int errorNo, int line, QString errorMsg);
253  void StatusMsg(const QString statusMsg);
254 
255  private:
258  int fGotoLine;
262 
263  bool fEnableAll;
264  QMap<QString, bool> fEnabled;
265  bool fDebug;
268  bool fFugHvCheck;
271 
272  QString fHostName;
273  QString fExpName;
274  QString fXMLSchemaFln;
275  QString fXMLAutoRunFln;
277  QString fXMLAutoRunHTML;
278  QString fAutoRunPath;
279  QString fFieldPwrSupply;
280 
281  // operation and boundary related variables
286  float fHVTimeout;
287  float fHVAccuracy;
290  float fBHMaxFlow;
291  float fBHMinFlow;
294  float fBHFlowDHeat;
295  float fBHFlowTemp;
298  float fDSetRatio;
302  float fHeaterMax;
303  float fHeaterMin;
305  float fFlowFactor;
311  float fDFlowDp0;
312  float fDFlowDp1;
313  float fDFlowDpExp;
314  bool fLargeFlow;
315 
316  // heat capacity related coefficients
317  float fHeatCapCof1;
318  float fHeatCapCof2;
320 
321  // Coefficients for preferred needle valve settings
333 
334  // temperature and temp-history related variables
349 
350  // magnet power supply limits and calibration parameters
353  float fMagParamWew[2];
355  float fMagParamBpar[2];
356 
357  // critical current for the WEW. For larger currents, the RA HV's should be switched off due to the Penning trap problem
359 
360  // FOM related variables
362 
363  // HV settings path
365 
366  // raw voltage dump related variables
367  bool fDumpInUse;
369  QString fDumpFileName;
370  QFile fDumpFile;
371 
372  // warmup related variables
374  bool fWarmUpVent;
375  QDateTime fWarmUpDateTime;
376 
377  // hotlinked variables
382 
383  // setup related variables
387 
388  // odb path names
389  QString fRunInfoPath;
392  QString fAlarmsPath;
394  QString fRunCommentPath;
395  QString fTofMinPath;
396  QString fTofMaxPath;
397  QString fModNamePath;
398  QString fModDatePath;
399  QString fLemSetupPath;
400  QString fSampleNamePath;
403  QString fSampleCryoPath;
405  QString fClientsPath;
406  QString fHVDemandPath;
407  QString fHVMeasuredPath;
408  QString fHVCurrentPath;
415  QString fWEWInputPath;
416  QString fWEWOutputPath;
417  QString fMagFieldPath;
418  QString fTflInputPath;
419  QString fTflOutputPath;
432  QString fFOMInputPath;
433  QString fFOMOutputPath;
440 
443 
444  QString fAnalyzerName;
445  QString fFrontendName;
446  QString fTflFeName;
447  QString fSampleFeName;
449  QString fWEWFeName;
450  QString fDanfysikFeName;
451  QString fHVFeName;
452  QString fLemvacFeName;
462 
463  friend class PLemAutoRunXMLParser;
465 
468  PAutoRunCmdVector::Iterator fAutoRunCurrentIter;
471 
472  // run related variables
473  bool fRunStopped;
477  QTime fRunStarted;
478  float fRunTimeout;
479 
480 
481  // MIDAS experiment and keys
482  PExperiment *fExp;
484  PKey *fAlarmsKey;
486  PKey *fRunInfoKey;
488  PKey *fTofMinKey;
489  PKey *fTofMaxKey;
490  PKey *fModNameKey;
491  PKey *fModDateKey;
492  PKey *fLemSetupKey;
498  PKey *fClientsKey;
499  PKey *fHVDemandKey;
508  PKey *fWEWInputKey;
510  PKey *fMagFieldKey;
511  PKey *fTflInputKey;
525  PKey *fFOMInputKey;
533 
534  void InitEnabled();
535  void SetEnabled(const QString key, bool val);
536 
537  bool GetAllKeys();
538 
539  float GetEnergyLoss(float mod_hv);
540 
541  void CheckClients();
542  void CheckMidasAlarms(PAutoRunCmdVector::Iterator iter);
543 
544  // temperature stability and handling related functions
545  void CheckTempStability();
547  double LakeShoreTime(char *str);
548  void SampleTempTrend();
549  void SampleTempAdjustFlow();
550  float SampleTempPrefHeaterOutput(float heaterRange);
551  bool SampleTempStable();
552  void SampleTempConsiderFlow();
554  void SampleTempSetNeedleValve(float value);
556  float EmpiricalFlow(float Tset, float rampSpeed);
557  float NeedleValve(float Tset);
558  float SetDemandTempRamping(QString rampParam);
559  void SetFlowAndNeedleValve(QString flowParam, float &rampSpeed, float newDemandTemp, float deltaT, float flowScale); // for Konti's
560  void SetFlow(QString flowParam); // for LowTemp
561  void SetLS340Mode(AutoRunCmd *arc);
564  void SetLS340Setpoint(float setpoint, float rampSpeed);
565  void SetOmegaSetpoint(float setpoint);
566  void SetFlowTweak(float flow);
567 
568  int CheckFieldCmd(QString &errMsg);
569  void DegaussWEW(AutoRunCmd *arc);
570  void DegaussDanfysik(AutoRunCmd *arc);
571  void Degauss(AutoRunCmd *arc);
572  void DegaussSpinRot(AutoRunCmd *arc);
573  void ExecNext();
574  void RunStart(AutoRunCmd *arc);
575  void RunStop(AutoRunCmd *arc);
576  bool RunStopCheck();
577  void SetIgnoreAlarms(AutoRunCmd *arc);
578  void SetIgnoreClients(AutoRunCmd *arc);
579  void SetDump(AutoRunCmd *arc);
580  void SetFieldWEWL(AutoRunCmd *arc);
581  void SetFieldWEWH(AutoRunCmd *arc);
582  void SetFieldDanfysik(AutoRunCmd *arc);
583  void SetField(AutoRunCmd *arc);
584  void SetSpinRot(AutoRunCmd *arc);
585  void SetFOM(AutoRunCmd *arc);
586  void SetLEMSetup(AutoRunCmd *arc);
587  void SetModInfo(AutoRunCmd *arc);
588  bool CheckOdbType(INT type, AutoRunCmd *arc);
589  void CheckForOdbSetDataCmds();
590  void SetOdbData(AutoRunCmd *arc);
591  void SetOdbDataArray(AutoRunCmd *arc);
592  void SetSampleHV(AutoRunCmd *arc);
593  void SetRA_HV(AutoRunCmd *arc);
594  void SetTransportHV(AutoRunCmd *arc);
595  bool CheckForTransportHvCmd();
596  bool LoadHvSettings(PAutoRunCmdVector::Iterator currentIter, QString fln, int lineNo, bool simulated=false);
597  void SetHvOff(AutoRunCmd *arc);
598  void SetTfl(AutoRunCmd *arc);
599  void SetTemp(AutoRunCmd *arc);
600  void SetTempOvenOmega(AutoRunCmd *arc);
601  void SetTitle(AutoRunCmd *arc);
602  void HandleOdbTitleTags(QString &title);
603  void SetTof(AutoRunCmd *arc);
604  void SetWait(AutoRunCmd *arc);
605  void SetBPV(AutoRunCmd *arc);
606  bool SetBPV(int valve, int cmd);
607  bool GetBPV();
609  void ChangeSampleChamberHV(bool down);
610  void RawVoltageDump();
611  void CheckForWarmUpCmd();
612  void WarmUp(PAutoRunCmdVector::Iterator iter);
613  void GotoLine(PAutoRunCmdVector::Iterator &iter, int max);
614 
615  QString GetAutoRunSequence();
616  bool ShowComments();
617  int GetGotoLine();
618  void SetGotoLine(const int line);
619  int GetRunState();
620  void UpdateRunState(const int state);
621  void UpdateWebPage(PAutoRunCmdVector::Iterator currentIter, int tag, int lineNo = 0, QString errMsg = "");
622  void CleanLiveData();
623  void FeedLiveDataErrors(int noOfErrors, int idx, int /*errorNo*/, int line, QString errorMsg);
624 
625  void Wait(int timeout);
626 
627  friend void TdHvTripFlagChanged(HNDLE, HNDLE, void*);
628 
629  private slots:
630  void NetworkConnectionLost();
631  void ReceivedShutdownCmd();
632  void UpdateStatusMsg(const QString statusMsg);
633 };
634 
635 #endif // _PLEMAUTORUN_H_
QString fDanfysikOutputPath
ODB path to the danfysik output variables.
Definition: PLemAutoRun.h:414
QVector< QString > fHvChName
Definition: PLemAutoRun.h:209
QString * GetXMLAutoRunFln()
Definition: PLemAutoRun.h:239
QString fModDatePath
ODB path to the moderator growing date.
Definition: PLemAutoRun.h:398
float fPrefNeedleValveAbsStep
absolute change in SampleTempConsiderNeedleValve
Definition: PLemAutoRun.h:332
PKey * fTofMaxKey
pointer to the ODB key: TOF max
Definition: PLemAutoRun.h:489
ELemAutoRunKeyWords fKey
key tag for the parsing process
Definition: PLemAutoRun.h:133
void SampleTempConsiderFlow()
void SetOdbData(AutoRunCmd *arc)
QString fSetupBparEnabledPath
ODB path to the Bpar enabled flag.
Definition: PLemAutoRun.h:439
void NetworkConnectionLost()
slot executed if the network connection is lost
PKey * fAlarmsKey
pointer to the ODB key: alarms
Definition: PLemAutoRun.h:484
QString fDanfysikFeName
name of the danfysik scfe in the ODB
Definition: PLemAutoRun.h:450
PKey * fFOMOutputKey
pointer to the ODB key: FOM output values
Definition: PLemAutoRun.h:526
QString fWEWInputPath
ODB path to the WEW input variable.
Definition: PLemAutoRun.h:415
void setAttribute(const QString key, const QXmlAttributes &qAttr)
PLemAutoRunXMLParser::setAttribute.
int online_mode
specifies the expected acquisition mode
Definition: PLemAutoRun.h:72
void RunStart(AutoRunCmd *arc)
void SetFieldWEWL(AutoRunCmd *arc)
int fAutoRunState
autorun run state as defined under /AutoRun/Run State
Definition: PLemAutoRun.h:261
#define SAMPLE_OVEN_OMEGA_INPUT
Definition: PLemAutoRun.h:43
void UpdateWebPage(PAutoRunCmdVector::Iterator currentIter, int tag, int lineNo=0, QString errMsg="")
float demand_T
setpoint to be reached
Definition: PLemAutoRun.h:59
float fDFlowDp1
DFDP_0 + DFDP_1 * exp( DFDP_EXP * Temp )
Definition: PLemAutoRun.h:312
QVector< float > * GetCurrentLimits()
Definition: PLemAutoRun.h:202
void SetSampleHV(AutoRunCmd *arc)
DWORD stop_time_binary
binary format of the stop time
Definition: PLemAutoRun.h:80
bool fWarmUpVent
warmup with vent flag, false=no vent, true=vent
Definition: PLemAutoRun.h:374
void SetGotoLine(const int line)
PLemAutoRun::SetGotoLine.
bool fNeedleValveInUse
Tag for use of electric needle valve.
Definition: PLemAutoRun.h:322
QString fTflFeName
Definition: PLemAutoRun.h:446
QString GetUserAutoRunSeqFln()
PLemAutoRun::GetUserAutoRunSeqFln.
ELemHvSettingsKeyWords fKey
key tag for the parsing process
Definition: PLemAutoRun.h:213
bool fSetupBparEnabled
true if the Bpar magnet is in use. This is fed with the Danfysik power supply.
Definition: PLemAutoRun.h:386
QString fHVDetectorDemandPath
ODB path to the HV Detectors demand variables.
Definition: PLemAutoRun.h:409
void ChangeSampleChamberHV(bool down)
bool fSampleFeRunning
flag indicating if the sample_scfe is running (LS340, BH)
Definition: PLemAutoRun.h:456
float fBHFlowOffset
variable needed to calculate the flow if non is explicitly given (see SetTemp())
Definition: PLemAutoRun.h:297
float fHeatCapCof1
heat Capacity of cryo =
Definition: PLemAutoRun.h:317
QString fSampleNamePath
ODB path to the sample name.
Definition: PLemAutoRun.h:400
void SetRA_HV(AutoRunCmd *arc)
PKey * fTflInputKey
pointer to the ODB key: tfl input values
Definition: PLemAutoRun.h:511
PKey * fSetupWewEnabledKey
pointer to the ODB key: WEW enabled flag
Definition: PLemAutoRun.h:531
QString fSampleOvenOmegaFeName
name of the oven omega scfe in the ODB
Definition: PLemAutoRun.h:448
float GetEnergyLoss(float mod_hv)
void SampleTempTrend()
void HandleOdbTitleTags(QString &title)
PLemAutoRun::HandleOdbTitleTags.
PKey * fClientsKey
pointer to the ODB key: running clients
Definition: PLemAutoRun.h:498
bool fTflFeRunning
flag indicating if the tfl_scfe is running
Definition: PLemAutoRun.h:455
PKey * fSetupSampleEnabledKey
pointer to the ODB key: Sample enabled flag
Definition: PLemAutoRun.h:530
float fPrefNeedleValveCof_4_0
NV setting = _1_0 * _1_1 * T for 15&lt;T.
Definition: PLemAutoRun.h:329
QString GetAutoRunSequence()
PLemAutoRun::GetAutoRunSequence.
void SetTemp(AutoRunCmd *arc)
QVector< float > * GetHvDemands()
Definition: PLemAutoRun.h:201
PKey * fModNameKey
pointer to the ODB key: moderator info
Definition: PLemAutoRun.h:490
void SetFieldWEWH(AutoRunCmd *arc)
QString fTflInputPath
ODB path to the tfl input variables.
Definition: PLemAutoRun.h:418
float fFlowMaxRelFlowDiffToConsider
maximum rel flow error to consider
Definition: PLemAutoRun.h:310
float fBHMinFlow
min. allowed flow for the bronkhorst flow meter
Definition: PLemAutoRun.h:291
bool fSetupWewEnabled
true if the WEW magnet is in use. This is fed with the WEWL/H power supplies.
Definition: PLemAutoRun.h:385
void ReadSampleCryoXML()
bool fSetupSampleEnabled
true if the sample frontend is enabled (normal operation), otherwise MCP2 setup.
Definition: PLemAutoRun.h:384
QString fLemvacOutputPath
ODB path to the lemvac output variables.
Definition: PLemAutoRun.h:431
PAutoRunCmdVector::Iterator fAutoRunCurrentIter
current autorun cmd
Definition: PLemAutoRun.h:468
PKey * fDanfysikInputKey
pointer to the ODB key: danfysik input variables
Definition: PLemAutoRun.h:506
bool fHVFeRunning
flag indicating if the hv_fug_scfe is running
Definition: PLemAutoRun.h:460
bool fAnalyzerRunning
flag indicating if the analyzer is running
Definition: PLemAutoRun.h:453
void SetFlowAndNeedleValve(QString flowParam, float &rampSpeed, float newDemandTemp, float deltaT, float flowScale)
QString fSpinRotAnglePath
ODB path to the spin rotation angle.
Definition: PLemAutoRun.h:402
QString fMagFieldPath
ODB path to the magnetic field value.
Definition: PLemAutoRun.h:417
QString fLemSetupPath
ODB path to the LEM setup info.
Definition: PLemAutoRun.h:399
PKey * fDanfysikOutputKey
pointer to the ODB key: danfysik output variables
Definition: PLemAutoRun.h:507
float fPrefNeedleValveCof_3_1
Definition: PLemAutoRun.h:328
bool fRunCheckEvents
if true check number of events, otherwise check time
Definition: PLemAutoRun.h:475
float fBHFlowPHeat0
see SampleTempAdjustFlow()
Definition: PLemAutoRun.h:292
double datetime
time as obtained from the LS340
Definition: PLemAutoRun.h:58
QVector< int > fHvChNo
Definition: PLemAutoRun.h:208
float fDanfysikMaxCurrent
maximal allowed current for the danfysik power supply
Definition: PLemAutoRun.h:354
int fCurrentAutoRunCmd
number of the current autorun cmd
Definition: PLemAutoRun.h:470
QString fFieldPwrSupply
name of the power supply to generate the magnetic field (WEWL, WEWH, danfysik)
Definition: PLemAutoRun.h:279
void SetFOM(AutoRunCmd *arc)
bool fDumpInUse
flag telling if a raw data dump is going on
Definition: PLemAutoRun.h:367
QString fXMLAutoRunValidateFln
path-file name of the generated XML-autorun sequence for validation
Definition: PLemAutoRun.h:276
void CheckMidasAlarms(PAutoRunCmdVector::Iterator iter)
void SetTfl(AutoRunCmd *arc)
PLemAutoRun::SetTfl.
SampleTempInfo fSampleTempHisto[SAMPLE_TEMP_HISTO_MAX]
array holding the sample temperature history
Definition: PLemAutoRun.h:344
QString fFOMOutputPath
ODB path to the FOM output variables.
Definition: PLemAutoRun.h:433
void StatusMsg(const QString statusMsg)
float fAbsMaxTempDiff
absolute temperature deviation allowed in stability test
Definition: PLemAutoRun.h:299
float fHeaterMin
min. acceptable heater value
Definition: PLemAutoRun.h:303
#define NO_ENERGY_LOSS_PARAM
Definition: PLemAutoRun.h:47
float flow
helium flow (read back)
Definition: PLemAutoRun.h:62
float fWEWHMaxCurrent
maximal allowed current for the WEWH power supply
Definition: PLemAutoRun.h:352
QString fLemvacFeName
name of the lemvac_scfe in the ODB
Definition: PLemAutoRun.h:452
float fHVDemandSampleChamber[5]
demand HV of the sample chamber
Definition: PLemAutoRun.h:288
QString fAutoRunSequence
autorun sequence file name as found under /AutoRun/Auto Run Sequence
Definition: PLemAutoRun.h:256
void GetDemandHVSampleChamber()
void RawVoltageDump()
void SetFieldDanfysik(AutoRunCmd *arc)
void SetOmegaSetpoint(float setpoint)
int requested_transition
see MIDAS manual 1.9.5 or later
Definition: PLemAutoRun.h:76
void ErrorMsg(int noOfErrors, int idx, int errorNo, int line, QString errorMsg)
QString fSampleOvenOmegaInputPath
ODB path to the sample oven omega: input variables.
Definition: PLemAutoRun.h:428
void SetLEMSetup(AutoRunCmd *arc)
QString fAlarmsPath
ODB path to the alarms.
Definition: PLemAutoRun.h:392
bool RunStopCheck()
QString * GetExpName()
Definition: PLemAutoRun.h:236
QString * GetHostName()
Definition: PLemAutoRun.h:235
float fBHFlowTemp
variable needed to calculate the flow if non is explicitly given (see SetTemp())
Definition: PLemAutoRun.h:295
QString fMagParamBparPath
ODB path to the Bpar parameters (A -&gt; G)
Definition: PLemAutoRun.h:436
PKey * fSampleSensorTypeKey
pointer to the ODB key: sample cryo LS340 sensor type assignement
Definition: PLemAutoRun.h:515
QString fAutoRunPath
path to the autorun sequence directory
Definition: PLemAutoRun.h:278
QString fXMLAutoRunHTML
path-file name of the HTML autorun status page
Definition: PLemAutoRun.h:277
QString fBeamlineDemandPath
ODB path to the beamline demand variables.
Definition: PLemAutoRun.h:434
float fDSetRatio
ratio at which the PID-D has to be switched back (for temperature increase)
Definition: PLemAutoRun.h:298
void ExecNext()
void CheckClients()
int fGotoLine
address to jump to within a running autorun. Defined under /AutoRun/GotoLine
Definition: PLemAutoRun.h:258
float fPrefNeedleValveCof_1_1
Definition: PLemAutoRun.h:324
QString fRunInfoPath
ODB path to the run info.
Definition: PLemAutoRun.h:389
PKey * fSpinRotMagOutputKey
pointer to the ODB key: danfysik spin rotator output variables
Definition: PLemAutoRun.h:505
int state
1 = stopped, 2 = paused, 3 = running
Definition: PLemAutoRun.h:71
void DegaussDanfysik(AutoRunCmd *arc)
QString fAlarmTdHvTripPath
ODB path to the TD HV trip alarm/warning.
Definition: PLemAutoRun.h:393
void FeedLiveDataAutoRun()
PLemAutoRun::FeedLiveDataAutoRun.
QString fNextAutoRunSequence
next autorun sequence file name as found under /AutoRun/Next
Definition: PLemAutoRun.h:259
QString fSampleFeName
name of the tfl_scfe in the ODB
Definition: PLemAutoRun.h:447
#define SAMPLE_CRYO_OUTPUT
Definition: PLemAutoRun.h:42
PKey * fSampleDatetimeKey
pointer to the ODB key: sample cryo date and time
Definition: PLemAutoRun.h:518
void Wait(int timeout)
float fDFlowDp0
calculates d(flow)/dP from d(flow)/dP =
Definition: PLemAutoRun.h:311
double fSampleHistoTime
time stamp of the current reading in seconds since 1-1-2000
Definition: PLemAutoRun.h:340
float fHeatCapCof3
Definition: PLemAutoRun.h:319
PLemAutoRun * fLar
pointer to the calling class
Definition: PLemAutoRun.h:174
PKey * fHVDetectorMeasuredKey
pointer to the ODB key: HV Detector measured values
Definition: PLemAutoRun.h:503
PKey * fSampleChannelKey
pointer to the ODB key: sample cryo LS340 channel assignement
Definition: PLemAutoRun.h:514
bool fEnableAll
flag telling if all watched clients and equipments will be enabled/disabled by default.
Definition: PLemAutoRun.h:263
float SetDemandTempRamping(QString rampParam)
void SetAutoRunSeq(PAutoRunCmdVector *arcv)
Definition: PLemAutoRun.h:243
QFile fDumpFile
file for dumping raw_voltage
Definition: PLemAutoRun.h:370
bool ShowComments()
PLemAutoRun::ShowComments.
float fFlowTimeoutReduction
timeout between gradual flow reduction while cooling
Definition: PLemAutoRun.h:308
float fFieldTimeout
time in which the field ramping must be accomplished (in (sec))
Definition: PLemAutoRun.h:284
void UpdateRunState(const int state)
UpdateRunState.
PKey * fSpinRotAngleKey
pointer to the ODB key: spin rotation angle
Definition: PLemAutoRun.h:495
float fMaxTempIncrease
maximal temperature increase without shuting down the HV
Definition: PLemAutoRun.h:283
float fBHMaxFlow
max. allowed flow for the bronkhorst flow meter
Definition: PLemAutoRun.h:290
int CheckFieldCmd(QString &errMsg)
PLemAutoRun(QString &host, QString &exp)
QVector< AutoRunCmd > PAutoRunCmdVector
Definition: lemAutoRun.h:233
SampleTempInfo fSampleTempTrend
1st derivative of the quadratic model of the temperature control parameters
Definition: PLemAutoRun.h:346
QString fHVMeasuredPath
ODB path to the FUG HV measured variables.
Definition: PLemAutoRun.h:407
int fHvTripFlag
flag: set if the TD HV trip alarm fired
Definition: PLemAutoRun.h:270
QString fTofMaxPath
ODB path to the TOF max.
Definition: PLemAutoRun.h:396
bool CheckForTransportHvCmd()
bool fFrontendRunning
flag indicating if the frontend is running
Definition: PLemAutoRun.h:454
float fFOMCurrentAccuracy
current accuracy needed before going on (in (mA))
Definition: PLemAutoRun.h:361
QString fHvSettingsPath
Definition: PLemAutoRun.h:364
bool characters(const QString &)
void ConnectToExp()
PKey * fLemvacInputKey
pointer to the ODB key: lemvac input values
Definition: PLemAutoRun.h:523
void SetSampleLS340ZoneSettings()
QString fModNamePath
ODB path to the moderator info.
Definition: PLemAutoRun.h:397
float fHeatCapCof2
HC_1 * T + HC_2 * T² + HC_3 * T³
Definition: PLemAutoRun.h:318
bool fWEWFeRunning
flag indicating if the wew_scfe is running
Definition: PLemAutoRun.h:457
float fSampleOvenOmegaInput[SAMPLE_OVEN_OMEGA_INPUT]
Definition: PLemAutoRun.h:380
QString fSampleCtrlChPath
ODB path to the sample cryo LS340 control channel.
Definition: PLemAutoRun.h:420
void SetBPV(AutoRunCmd *arc)
bool fWarmUpWished
warmup command present
Definition: PLemAutoRun.h:373
#define SAMPLE_OVEN_OMEGA_OUTPUT
Definition: PLemAutoRun.h:44
bool fRAPulsingEnabled
flag: if true, the RA pulsing is enabled and hence WEW can take any field values. ...
Definition: PLemAutoRun.h:269
POdbTagVector * fOdbTagVector
pointer to the ODB tag list
Definition: PLemAutoRun.h:466
PKey * fEnergyLossParamKey
pointer to the ODB key: energy loss parameters
Definition: PLemAutoRun.h:497
QString fTriggerEventsPath
ODB path to the trigger events.
Definition: PLemAutoRun.h:390
float fRunTimeout
time in sec after which the run shall be stopped.
Definition: PLemAutoRun.h:478
int transition_in_progress
tag indicating that a transition is in progress, i.e. state is not well defined
Definition: PLemAutoRun.h:74
void GotoLine(PAutoRunCmdVector::Iterator &iter, int max)
PKey * fSampleOvenOmegaOutputKey
pointer to the ODB key: sample oven omega output values
Definition: PLemAutoRun.h:522
float fPrefNeedleValveCof_4_1
Definition: PLemAutoRun.h:330
float fFlowSetAbsolute
absolute flow deviation allowed in stability test
Definition: PLemAutoRun.h:307
float fFlowSetRatio
relative flow deviation allowed in stability test
Definition: PLemAutoRun.h:306
QString fSampleOvenOmegaOutputPath
ODB path to the sample oven omega: output variables.
Definition: PLemAutoRun.h:429
float fMaxTempTrend
max. acceptable temperature trend
Definition: PLemAutoRun.h:301
QString fMagParamWewPath
ODB path to the WEW parameters (A -&gt; G)
Definition: PLemAutoRun.h:435
bool fDanfysikFeRunning
flag indicating if the danfysik_scfe is running
Definition: PLemAutoRun.h:458
bool startElement(const QString &, const QString &, const QString &, const QXmlAttributes &qAttr)
QString fClientsPath
ODB path to the running clients.
Definition: PLemAutoRun.h:405
QString fSampleSensorTypePath
ODB path to the sample cryo LS340 sensor type assignement.
Definition: PLemAutoRun.h:422
bool characters(const QString &)
PKey * fSpinRotEnabledKey
pointer to the ODB key: spin rotation enabled flag
Definition: PLemAutoRun.h:494
int start_abort
Definition: PLemAutoRun.h:75
void SetTitle(AutoRunCmd *arc)
void SampleTempSetNeedleValve(float value)
int run_number
run number
Definition: PLemAutoRun.h:73
PKey * fHVDetectorDemandKey
pointer to the ODB key: HV Detector demand values
Definition: PLemAutoRun.h:502
void Degauss(AutoRunCmd *arc)
float SampleTempPrefHeaterOutput(float heaterRange)
PKey * fBeamlineDemandKey
pointer to the ODB key: Beamline demand values
Definition: PLemAutoRun.h:527
PKey * fTofMinKey
pointer to the ODB key: TOF min
Definition: PLemAutoRun.h:488
double fSampleHistoLastTime
time stamp of the previous reading in seconds since 1-1-2000
Definition: PLemAutoRun.h:341
float fHVTimeout
time in which the HV ramping must be accomplished (in (sec))
Definition: PLemAutoRun.h:286
bool SampleTempStable()
bool fSampleTempUnstable
flag: true if the temperature is out of bound
Definition: PLemAutoRun.h:339
PKey * fTflOutputKey
pointer to the ODB key: tfl output values
Definition: PLemAutoRun.h:512
PKey * fHVDemandKey
pointer to the ODB key: FUG HV demand values
Definition: PLemAutoRun.h:499
float fTimeoutFlowSet
timeout before the flow can be changed next time (see SetTemp())
Definition: PLemAutoRun.h:304
QString fSpinRotEnabledPath
ODB path to the spin rotation enabled flag.
Definition: PLemAutoRun.h:401
void SetOdbTagVec(POdbTagVector *otv)
Definition: PLemAutoRun.h:242
PLemAutoRunXMLParser(PLemAutoRun *lar)
QString fAnalyzerName
name of the analyzer in the ODB
Definition: PLemAutoRun.h:444
PKey * fMagParamWewKey
pointer to the ODB key: WEW magnet parameters (A -&gt; G)
Definition: PLemAutoRun.h:528
void SetIgnoreClients(AutoRunCmd *arc)
QString fDumpFileName
file name of the raw voltage dump. It will be RawVoltageOutput-&lt;cryo&gt;-&lt;datatime&gt;.dat, e.g. RawVoltageOutput-Konti4-220316-1235.dat
Definition: PLemAutoRun.h:369
float fRelMaxTempDiff
relative temperature deviation allowed in stability test
Definition: PLemAutoRun.h:300
float fBHFlowDHeat
see SampleTempAdjustFlow()
Definition: PLemAutoRun.h:294
PKey * fMagFieldKey
pointer to the ODB key: magnetic field value
Definition: PLemAutoRun.h:510
PKey * fSampleOvenOmegaInputKey
pointer to the ODB key: sample oven omega input values
Definition: PLemAutoRun.h:521
float fBHFlowTempOffset
variable needed to calculate the flow if non is explicitly given (see SetTemp())
Definition: PLemAutoRun.h:296
QString fDanfysikInputPath
ODB path to the danfysik input variables.
Definition: PLemAutoRun.h:413
QString fHVCurrentPath
ODB path to the FUG HV measured current variables.
Definition: PLemAutoRun.h:408
void SetFlow(QString flowParam)
QString fTofMinPath
ODB path to the TOF min.
Definition: PLemAutoRun.h:395
void WaitUntilSampleLS340Ready()
float measured_T
measured temperature of the sample
Definition: PLemAutoRun.h:60
bool CheckOdbType(INT type, AutoRunCmd *arc)
bool fLemvacFeRunning
flag indicating if the lemvac_scfe is running
Definition: PLemAutoRun.h:461
void SetLS340Setpoint(float setpoint, float rampSpeed)
float fFlowFactor
constant used in SampleTempConsiderFlow()
Definition: PLemAutoRun.h:305
bool GetAllKeys()
QVector< float > fHvDemand
Definition: PLemAutoRun.h:210
QString fXMLSchemaFln
path-file name of the XML-schema for the parsing process
Definition: PLemAutoRun.h:274
QString fEnergyLossParamPath
ODB path to the energy loss parameters.
Definition: PLemAutoRun.h:404
SampleTempInfo fSampleTempAverage
average temperature control parameters
Definition: PLemAutoRun.h:345
float heater
sample heater
Definition: PLemAutoRun.h:61
QString * GetXMLAutoRunValidateFln()
Definition: PLemAutoRun.h:240
void SetModInfo(AutoRunCmd *arc)
QString fExpName
experiment name
Definition: PLemAutoRun.h:273
void SetTempOvenOmega(AutoRunCmd *arc)
int fDumpCounter
counter of raw voltage dumps
Definition: PLemAutoRun.h:368
PKey * fSampleCryoKey
pointer to the ODB key: sample cryo name
Definition: PLemAutoRun.h:496
float fPrefNeedleValveCof_2_1
Definition: PLemAutoRun.h:326
float fMagParamBpar[2]
calibration array for the Bpar
Definition: PLemAutoRun.h:355
void FeedLiveDataErrors(int noOfErrors, int idx, int, int line, QString errorMsg)
int fSampleBhOdbOffsetInput
ODB offset of the bronkhorst within the ODB (input variables)
Definition: PLemAutoRun.h:441
QString fXMLAutoRunFln
path-file name of the generated XML-autorun sequence
Definition: PLemAutoRun.h:275
void SetLS340HeaterRangeAndPIDs(AutoRunCmd *arc)
int fSampleHistoNoEntries
number of entries in the history
Definition: PLemAutoRun.h:342
float fDFlowDpExp
Definition: PLemAutoRun.h:313
#define SAMPLE_CRYO_INPUT
Definition: PLemAutoRun.h:41
void UpdateStatusMsg(const QString statusMsg)
void SetTof(AutoRunCmd *arc)
void SetIgnoreAlarms(AutoRunCmd *arc)
bool endElement(const QString &, const QString &, const QString &)
void DisconnectAndQuit()
void SetOdbDataArray(AutoRunCmd *arc)
void RunStop(AutoRunCmd *arc)
int fSampleHistoPos
index of the start of the ring buffer
Definition: PLemAutoRun.h:343
void SetHvOff(AutoRunCmd *arc)
void WarmUp(PAutoRunCmdVector::Iterator iter)
PKey * fLemSetupKey
pointer to the ODB key: LEM setup info
Definition: PLemAutoRun.h:492
int fSampleBhOdbOffsetOutput
ODB offset of the bronkhorst within the ODB (output variables.
Definition: PLemAutoRun.h:442
void CheckForOdbSetDataCmds()
QString fSampleChannelPath
ODB path to the sample cryo LS340 channel assignement.
Definition: PLemAutoRun.h:421
float NeedleValve(float Tset)
void SetSpinRot(AutoRunCmd *arc)
bool fSampleTempRegulation
flag: if true temperature regulation algorithm is active, otherwise not
Definition: PLemAutoRun.h:338
PKey * fSetupBparEnabledKey
pointer to the ODB key: Bpar enabled flag
Definition: PLemAutoRun.h:532
int fSampleCtrlCh
index of channel A or B
Definition: PLemAutoRun.h:335
friend void TdHvTripFlagChanged(HNDLE, HNDLE, void *)
float fPrefNeedleValveRelStep
relative change in SampleTempConsiderNeedleValve
Definition: PLemAutoRun.h:331
QMap< QString, bool > fEnabled
map holding the enable/disable info of all the clients and equipments
Definition: PLemAutoRun.h:264
bool fSampleOvenOmegaFeRunning
flag indicating if the omega_scfe is running
Definition: PLemAutoRun.h:459
void SetTransportHV(AutoRunCmd *arc)
bool fRunStopped
flag telling if a run is stopped
Definition: PLemAutoRun.h:473
DWORD start_time_binary
binary format of the start time
Definition: PLemAutoRun.h:78
void DegaussWEW(AutoRunCmd *arc)
QDateTime fWarmUpDateTime
when the warmup shall take place
Definition: PLemAutoRun.h:375
void SetFlowTweak(float flow)
ELemSampleCryoKeyWords fKey
key tag for the parsing process
Definition: PLemAutoRun.h:175
PKey * fTriggerEventsKey
pointer to the ODB key: trigger event
Definition: PLemAutoRun.h:483
PKey * fSampleInputKey
pointer to the ODB key: sample cryo input values
Definition: PLemAutoRun.h:516
bool startElement(const QString &, const QString &, const QString &, const QXmlAttributes &)
float pressure
helium pressure at cryo outlet
Definition: PLemAutoRun.h:63
float fMagParamWew[2]
calibration array for the WEW
Definition: PLemAutoRun.h:353
PKey * fModDateKey
pointer to the ODB key: moderator growing date
Definition: PLemAutoRun.h:491
void CheckForWarmUpCmd()
QString fTflOutputPath
ODB path to the tfl output variables.
Definition: PLemAutoRun.h:419
QTime fRunStarted
time stamp, when a run started
Definition: PLemAutoRun.h:477
QString fHVDemandPath
ODB path to the FUG HV demand variables.
Definition: PLemAutoRun.h:406
SampleTempInfo fSampleTempSecond
2nd derivative of the quadratic model of the temperature control parameters
Definition: PLemAutoRun.h:347
bool LoadHvSettings(PAutoRunCmdVector::Iterator currentIter, QString fln, int lineNo, bool simulated=false)
void HandleParseError(int noOfErrors, int idx, int errorNo, int line, QString errorMsg)
QString fSetupWewEnabledPath
ODB path to the WEW enabled flag.
Definition: PLemAutoRun.h:438
PKey * fWEWInputKey
pointer to the ODB key: WEW input values
Definition: PLemAutoRun.h:508
PKey * fAlarmTdHvTripKey
pointer to the ODB key: TD HV trip trigger flag
Definition: PLemAutoRun.h:485
bool characters(const QString &)
bool fIgnoreClients
flag: if true checking of clients will not performed: only for testing!!
Definition: PLemAutoRun.h:266
void ReceivedShutdownCmd()
slot executed if a shutdown command has been received
float EmpiricalFlow(float Tset, float rampSpeed)
QString fSampleInputPath
ODB path to the sample cryo (LS340, bronkhorst) input variables.
Definition: PLemAutoRun.h:423
int GetRunState()
PLemAutoRun::GetRunState.
PKey * fSampleNameKey
pointer to the ODB key: Sample Name
Definition: PLemAutoRun.h:493
QString fSampleOutputPath
ODB path to the sample cryo (LS340, bronkhorst) output variables.
Definition: PLemAutoRun.h:424
PKey * fSampleOutputKey
pointer to the ODB key: sample cryo output values
Definition: PLemAutoRun.h:517
PKey * fHVMeasuredKey
pointer to the ODB key: FUG HV measured values
Definition: PLemAutoRun.h:500
QVector< float > fCurrentLimit
Definition: PLemAutoRun.h:211
QVector< OdbTag > POdbTagVector
Definition: lemAutoRun.h:249
QString fSampleNoConnectionPath
ODB path to the sample cryo (LS340, bronkhorst) DD &#39;no connection&#39; flag.
Definition: PLemAutoRun.h:427
QString fWEWOutputPath
ODB path to the WEW output variable.
Definition: PLemAutoRun.h:416
void FeedMidasWatchdog()
Definition: PLemAutoRun.h:233
#define SAMPLE_TEMP_HISTO_MAX
Definition: PLemAutoRun.h:45
PKey * fSampleNoConnectionKey
pointer to the ODB key: sample cryo no connection
Definition: PLemAutoRun.h:520
QString fFOMInputPath
ODB path to the FOM input variables.
Definition: PLemAutoRun.h:432
QString fHVDetectorMeasuredPath
ODB path to the HV Detectors measured variables.
Definition: PLemAutoRun.h:410
int GetGotoLine()
PLemAutoRun::GetGotoLine.
QString * GetXMLSchemaFln()
Definition: PLemAutoRun.h:238
float fSampleOutput[SAMPLE_CRYO_OUTPUT]
Definition: PLemAutoRun.h:379
float fSampleOvenOmegaOutput[SAMPLE_OVEN_OMEGA_OUTPUT]
Definition: PLemAutoRun.h:381
float fFlowLowestFlowToConsider
lowest demand flow to consider
Definition: PLemAutoRun.h:309
float fSampleInput[SAMPLE_CRYO_INPUT]
Definition: PLemAutoRun.h:378
double LakeShoreTime(char *str)
float fWEWCriticalCurrentRA
critical current for the WEW. For larger currents, the RA HV&#39;s should be switched off due to the Penn...
Definition: PLemAutoRun.h:358
PKey * fRunCommentKey
pointer to the ODB key: run comment
Definition: PLemAutoRun.h:487
float fWEWLMaxCurrent
maximal allowed current for the WEWL power supply
Definition: PLemAutoRun.h:351
float fEnergyLossParam[NO_ENERGY_LOSS_PARAM]
energy loss parameters
Definition: PLemAutoRun.h:282
void SetLS340Mode(AutoRunCmd *arc)
bool endElement(const QString &, const QString &, const QString &)
bool endElement(const QString &, const QString &, const QString &)
int fSampleCryoInUse
-1 = no cryo in use, 0 = Konti-Cryo in use, 1 = LowTemp-Cryo, 2 = Oven in use
Definition: PLemAutoRun.h:336
QString fAutoRunStatusMsg
autorun status message as defined under /AutoRun/Status
Definition: PLemAutoRun.h:260
void CheckTempStabilityOvenOmega()
bool fDebug
flag: if true additional messages will be sent to the stdin
Definition: PLemAutoRun.h:265
bool fShowComments
flag indicating if comments shall be suppressed. Defined under /AutoRun/Shows Comments ...
Definition: PLemAutoRun.h:257
int fNoOfAutoRunCmds
number of autorun cmd&#39;s
Definition: PLemAutoRun.h:469
PKey * fSampleRawVoltageKey[10]
pointer to the ODB key: sample cryo raw voltage
Definition: PLemAutoRun.h:519
bool fLargeFlow
signaling extra large flow during cool down
Definition: PLemAutoRun.h:314
void CleanLiveData()
void SampleTempAdjustFlow()
void ReadStartupXML()
void SampleTempConsiderNeedleValve()
void DegaussSpinRot(AutoRunCmd *arc)
QString fHVFeName
name of the hv_fug_scfe in the ODB
Definition: PLemAutoRun.h:451
PAutoRunCmdVector * fAutoRunCmdVector
pointer to the autorun cmd list
Definition: PLemAutoRun.h:467
float fHVAccuracy
HV accuracy needed before going on (in (kV))
Definition: PLemAutoRun.h:287
void InitEnabled()
PLemAutoRun::InitEnabled.
QString fSpinRotMagInputPath
ODB path to the danfysik spin rotator magnet power supply input variables.
Definition: PLemAutoRun.h:411
QString fLemvacInputPath
ODB path to the lemvac input variables.
Definition: PLemAutoRun.h:430
void TdHvTripFlagChanged(HNDLE, HNDLE, void *)
PKey * fHVCurrentKey
pointer to the ODB key: FUG HV measured current values
Definition: PLemAutoRun.h:501
PLemAutoRun * fLar
pointer to the calling class
Definition: PLemAutoRun.h:132
PLemSampleCryoXMLParser(PLemAutoRun *lar)
QVector< int > * GetChNo()
Definition: PLemAutoRun.h:200
float fPrefNeedleValveCof_3_0
NV setting = _1_0 * _1_1 * T for 10&lt;T&lt;15.
Definition: PLemAutoRun.h:327
PKey * fWEWOutputKey
pointer to the ODB key: WEW output values
Definition: PLemAutoRun.h:509
QString fSampleDatetimePath
ODB path to the sample cryo (LS340, bronkhorst) DD date and time variable.
Definition: PLemAutoRun.h:425
PKey * fMagParamBparKey
pointer to the ODB key: Bpar magnet parameters (A -&gt; G)
Definition: PLemAutoRun.h:529
PKey * fLemvacOutputKey
pointer to the ODB key: lemvac output values
Definition: PLemAutoRun.h:524
float fFieldAccuracy
field accuracy needed before going on (in (A))
Definition: PLemAutoRun.h:285
float fPrefNeedleValveCof_2_0
NV setting = _1_0 * _1_1 * T for 8&lt;T&lt;10.
Definition: PLemAutoRun.h:325
float fBHFlowPHeat1
see SampleTempAdjustFlow()
Definition: PLemAutoRun.h:293
void SetDump(AutoRunCmd *arc)
QString fSpinRotMagOutputPath
ODB path to the danfysik spin rotator magnet power supply output variables.
Definition: PLemAutoRun.h:412
PKey * fFOMInputKey
pointer to the ODB key: FOM input values
Definition: PLemAutoRun.h:525
void SetField(AutoRunCmd *arc)
QString fWEWFeName
name of the WEW scfe in the ODB
Definition: PLemAutoRun.h:449
QString fFrontendName
name of the frontend in the ODB
Definition: PLemAutoRun.h:445
bool isValid(QString &errMsg)
Definition: PLemAutoRun.h:198
PExperiment * fExp
pointer to the midas experiment
Definition: PLemAutoRun.h:482
void SetWait(AutoRunCmd *arc)
bool fFugHvCheck
flag: if true demand==measured checks for the FUG HV devices will be performed, otherwise not...
Definition: PLemAutoRun.h:268
float fLemVacValveInitialState[2]
states of BPVX, BPVY before set temperature
Definition: PLemAutoRun.h:289
void CheckTempStability()
bool fIgnoreAlarms
flag: if true checking for any alarms will not performed: only for testing!!
Definition: PLemAutoRun.h:267
QString fHostName
host name on which the experiment is running
Definition: PLemAutoRun.h:272
RunInfo fRunInfo
run info structure (mirror of the ODB /Runinfo)
Definition: PLemAutoRun.h:474
SampleTempInfo fSampleTempRmsqd
RMS of the quadratic model of the temperature control parameters.
Definition: PLemAutoRun.h:348
float fPrefNeedleValveCof_1_0
NV setting = _1_0 * _1_1 * T for T&lt;8.
Definition: PLemAutoRun.h:323
float fHeaterMax
max. acceptable heater value
Definition: PLemAutoRun.h:302
PKey * fRunInfoKey
pointer to the ODB key: run info
Definition: PLemAutoRun.h:486
QString fEnableOnOffModePath
ODB path to the enable On/Off mode, e.g. red/green, pulsing RA.
Definition: PLemAutoRun.h:391
int fRunNoEventsNeeded
number of events needed to complete a run
Definition: PLemAutoRun.h:476
bool startElement(const QString &, const QString &, const QString &, const QXmlAttributes &)
QString fSetupSampleEnabledPath
ODB path to the sample enabled flag.
Definition: PLemAutoRun.h:437
QString fSampleRawVoltagePath
ODB path to the LS340 Raw Voltage.
Definition: PLemAutoRun.h:426
void ExecAutoRun()
QString fSampleCryoPath
ODB path to the sample cryo name used.
Definition: PLemAutoRun.h:403
QString fRunCommentPath
ODB path to the run comment.
Definition: PLemAutoRun.h:394
void SetEnabled(const QString key, bool val)
PLemAutoRun::SetEnabled.
void DisconnectFromExp()
float fSampleTempAccuracy
temperature tolerance
Definition: PLemAutoRun.h:337
PKey * fSpinRotMagInputKey
pointer to the ODB key: danfysik spin rotator input variables
Definition: PLemAutoRun.h:504
PKey * fSampleCtrlChKey
pointer to the ODB key: sample cryo LS340 control channel
Definition: PLemAutoRun.h:513