Table of Contents

Class ExecInterposeClass

Namespace
CsraTestMethods
Assembly
CsraTestMethods.dll

This class contains empty Exec Interpose functions.

[TestClass]
public class ExecInterposeClass : TestCodeBase
Inheritance
TestCodeBase
ExecInterposeClass
Inherited Members
TestCodeBase.AbortTest()
TestCodeBase.DebugBreak()
TestCodeBase.TheExec
TestCodeBase.TheHdw
TestCodeBase.TheProgram
TestCodeBase.FlowDomains
TestCodeBase.ShouldRunPreBody
TestCodeBase.ShouldRunBody
TestCodeBase.ShouldRunPostBody

Remarks

They are here for convenience and are completely optional.

It is not necessary to delete them if they are not being used, nor is it necessary that they exist in the program.

Methods

OnAlarmOccurred(string)

Immediately after an alarm is detected, before it is reported.

[ExecInterpose_OnAlarmOccurred(255)]
public static void OnAlarmOccurred(string alarmList)

Parameters

alarmList string

A tab-delimited string of alarm error messages.

OnFlowEnded()

Immediately after the flow has ended, before binning.

[ExecInterpose_OnFlowEnded(255)]
public static void OnFlowEnded()

OnPostShutDownSite()

Immediately after a site is disconnected.

[ExecInterpose_OnPostShutDownSite(255)]
public static void OnPostShutDownSite()

Remarks

Use TheExec.Sites.SiteNumber to determine which site is being disconnected.

OnPreShutDownSite()

Immediately after a site binning has been determined, before it is disconnected.

[ExecInterpose_OnPreShutDownSite(255)]
public static void OnPreShutDownSite()

Remarks

Use TheExec.Sites.SiteNumber to determine which site is being disconnected.

OnProgramEnded()

Immediately after the test program has completed, before "post-job reset".

[ExecInterpose_OnProgramEnded(255)]
public static void OnProgramEnded()

Remarks

Note that any actions taken here with respect to modification of binning will affect the binning sent to the Operator Interface, but will not affect the binning reported in Datalog.

OnProgramFailedValidation()

Immediately at the conclusion of the validation process. Called only if validation fails.

[ExecInterpose_OnProgramFailedValidation(255)]
public static void OnProgramFailedValidation()

OnProgramLoaded()

Immediately after the test program has been loaded successfully.

[ExecInterpose_OnProgramLoaded(255)]
public static void OnProgramLoaded()

OnProgramStarted()

Immediately after "pre-job reset" before each run of the test program starts.

[ExecInterpose_OnProgramStarted(255)]
public static void OnProgramStarted()

Remarks

Note that "first run" actions can be enclosed in:

if (TheExec.ExecutionCount == 0) ...

OnProgramValidated()

Immediately at the conclusion of the validation process. Called only if validation succeeds.

[ExecInterpose_OnProgramValidated(255)]
public static void OnProgramValidated()

OnValidationStart()

Immediately at the beginning of the validation process.

[ExecInterpose_OnValidationStart(255)]
public static void OnValidationStart()