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

NewExecution Method

NI TestStand™ 4.1 Help
May 2008

NI Part Number:
370052G-01

»View NI TestStand Product Info

Syntax

SequenceContext.NewExecution ( sequenceFileParam, sequenceNameParam, processModelParam, breakAtFirstStep, synchronous, executionTypeMaskParam, sequenceArgsParam = NULL)

Return Value

Execution

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

synchronous As Boolean

[In] Pass True if you want 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] 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.

This parameter has a default value of NULL.


See Also

Execution


Resources


 

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