SequenceContext.NewExecution
- Updated2025-07-21
- 1 minute(s) read
SequenceContext.NewExecution
Syntax
SequenceContext.NewExecution( sequenceFileParam, sequenceNameParam, processModelParam, breakAtFirstStep, synchronous, executionTypeMaskParam, sequenceArgsParam = NULL)
Return Value
The execution created by this method.
Purpose
Creates and returns a new Execution object.
Remarks
When you call this method, the execution begins immediately. This method behaves similar to a Sequence Call step that you configure to run in a new execution
Parameters
sequenceFileParam As SequenceFile
[In] Specifies the SequenceFile object that contains the sequence to execute. If the execution uses a process model, pass the client SequenceFile object.
sequenceNameParam As String
[In] Specifies the name of the sequence or Process Model entry point to execute.
processModelParam As SequenceFile
[In] Specifies the process model SequenceFile object if you want to execute a Process Model entry point. Otherwise, a NULL object reference in LabVIEW, 0 in LabWindows/CVI, or the Nothing keyword in Visual Basic, pass a NULL dispatch pointer in Microsoft Foundation Classes.
breakAtFirstStep As Boolean
[In] Pass True to suspend execution before executing the first step.
synchronous As Boolean
[In] Pass True to force this method to wait until the execution completes.
executionTypeMaskParam As Long
[In] Pass 0 for the default behavior or pass one or more ExecutionTypeMask constants. Use the bitwise-OR operator to pass multiple constants.
sequenceArgsParam As PropertyObject
[In] Specifies a PropertyObject object that contains the arguments to the sequence you want to execute. Each subproperty of the PropertyObject object represents a parameter to the sequence. The subproperties must appear in the same order as the sequence parameters.
This parameter has a default value of NULL .