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

NewStep Method

NI TestStand™ 4.0 Help
April 2007

NI Part Number:
370052F-01

»View NI TestStand Product Info

Syntax

Engine.NewStep ( adapterKeyNameVal, stepTypeName)

Return Value

Step

Purpose

Creates and returns a new Step object.

Remarks

Release your reference to this object when you finish using it.

Pass the new Step object to the Sequence.InsertStep method to add a step to a sequence.

Parameters

adapterKeyNameVal As String

[In] Pass the key name of the module Adapter object to use to create the step. Pass an empty string to use the adapter designated by the step type or, if the step has no designated adapter, to use the adapter specified by the DefaultAdapter property.

stepTypeName As String

[In] Pass the name of the step type with which to create the step. The step type must already be in memory. The TestStand Sequence Editor and custom user interfaces load step types into memory when calling the LoadTypePaletteFilesEx method or when loading a sequence file from disk. To create a new step type, use the NewStepType method. For a list of names for the built-in step types, refer to StepTypes.


See Also

AdapterKeyNames

DefaultAdapter

Engine.LoadTypePaletteFilesEx

Engine.NewStepType

Sequence.InsertStep

Sequence.RemoveStep

Step

Step.CreateNewUniqueStepId

StepTypes


Resources


 

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