Engine.RegisterSequenceToExecuteOnCrash
- Updated2025-07-21
- 1 minute(s) read
Engine.RegisterSequenceToExecuteOnCrash
Syntax
Engine.RegisterSequenceToExecuteOnCrash( seqFilePath, seqName, options, reserved)
Return Value
Returns the registration id for Engine.UnregisterSequenceToExecuteOnCrash .
Purpose
Registers the sequence to execute on TestStand application crash.
Remarks
The sequence is executed in an external application on TestStand application crash. Default parameter values are used when calling the registered sequence. If run time error option is set to Show dialog , the setting is ignored (no dialogs are shown from external application) and cleanup will be executed.
Parameters
seqFilePath As String
[In] Specifies the pathname of the sequence file. If the pathname is relative, this method tries to find it using Engine.FindFileEx method.
seqName As String
[In] Specifies the name of the sequence to execute on TestStand application crash.
options As Long
[In] Specifies whether to load the sequence file in the external application after TestStand application crash or when sequence is registered. Pass 0 to specify the default behavior, or pass one or more CrashCallbackOptions . Use the bitwise-OR operator to specify multiple options.
reserved As Variant
[In] This parameter is reserved.