DIAdem Help

Object: Status <Analysis Automation>

  • Updated2024-09-12
  • 1 minute(s) read

Object: Status <Analysis Automation>

The Status <Analysis Automation> object provides the information on whether the events On_Initialize and On_Run_AnalysisProcedure were successful. The event On_Finalize is always called, even if the events  On_Initialize and On_Run_AnalysisProcedure were not successful.

The following example checks whether the procedures On_Initialize and On_Run_AnalysisProcedure were successful:

VBScriptPython

 

Sub On_Finalize(oContext)
    Call oContext.LogResult("Init ok: " & oContext.Status.On_Initialize_Success)
    Call oContext.LogResult("Analysis ok: " & oContext.Status.On_Run_AnalysisProcedure_Success)
End Sub