CanChangeAdapter Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

Step.CanChangeAdapter ( adapterName = "")

Return Value

Boolean

Returns True if the step allows changing to the specified adapter. Otherwise, returns False.

Purpose

Returns a value that indicates whether the step allows changing the adapter.

Remarks

Call CanChangeAdapter before calling the Step.ChangeAdapter method to ensure that no errors occur.

Parameters

adapterName As String

[In] Specifies an adapter key name that determines whether the step allows changing to that specific adapter. Pass the default value of the empty string to check if the step allows changing to any adapter.

This parameter has a default value of "".


See Also

AdapterKeyNames

Step.CanChangeStepType

Step.ChangeAdapter

WAS THIS ARTICLE HELPFUL?

Not Helpful