Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

NewExecution Method

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View NI TestStand Product Info

Syntax

Engine.NewExecution ( sequenceFileParam, sequenceNameParam, processModelParam, breakAtFirstStep, executionTypeMaskParam, [sequenceArgsParam], [editArgsParam], [InteractiveArgsParam])

Return Value

Execution

Purpose

Creates and returns a new Execution object.

Remarks

When you call this method, the execution begins immediately.

Sequence editor and user interface programs use this method to run sequences.

Parameters

sequenceFileParam As SequenceFile

[In] Pass 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] Pass 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 MFC.

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] Pass 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

[In] [Optional] Pass an EditArgs object that indicates which items are currently selected in the user interface. This is required only for Process Model entry points.

InteractiveArgsParam As Variant

[In] [Optional] Pass 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.


See Also

EditArgs

Execution

ExecutionTypeMask

InteractiveArgs

NewEditArgs

NewHierarchicalExecution

NewInteractiveArgs


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit