|Download Help (Windows Only)|
Engine.NewExecution ( sequenceFileParam, sequenceNameParam, processModelParam, breakAtFirstStep, executionTypeMaskParam, [sequenceArgsParam], [editArgsParam], [InteractiveArgsParam])
Creates and returns a new Execution object.
When you call this method, the execution begins immediately.
Sequence editor and user interface programs use this method to run sequences.
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] Pass 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.
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 Variant
[In] [Optional] 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.
editArgsParam As Variant
InteractiveArgsParam As Variant
[In] [Optional] Specifies an InteractiveArgs object that indicates which steps are currently selected in the user interface and contains looping information necessary for an interactive execution. Pass this parameter only for interactive executions.