CanCreateStep Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Engine.CanCreateStep ( adapterKeyNameVal, stepTypeName)

Return Value

Boolean

Purpose

Determines whether you can create a new step of the specified type.

Remarks

The Engine.NewStep method reports an error if this method returns False.

Parameters

adapterKeyNameVal As String

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

stepTypeName As String

[In] Specifies the name of the step type with which to create the step. The step type must already be in memory. Refer to Engine.GetTypeNames for a list of names for the built-in step types and other types.


See Also

AdapterKeyNames

Engine.DefaultAdapter

Engine.GetTypeNames

Engine.NewStep

WAS THIS ARTICLE HELPFUL?

Not Helpful