SetEnvironmentPath Method

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

EngineInitializationSettings.SetEnvironmentPath ( path)

Purpose

Specify the environment configuration (.tsenv) file to use to initialize the TestStand engine. Pass an empty string to specify the global environment.

Remarks

Calling SetEnvironmentPath is unnecessary if you wish to run in the global environment. If no call to SetEnvironmentPath has been made prior to startup, the engine defaults to the global environment. You may call SetEnvironmentPath multiple times before creating the TestStand engine. Each call supersedes the prior calls.

SetEnvironmentPath throws an exception if you call it after the engine has already been created.

Parameters

path As String

[In] Specifies the absolute path of environment configuration (.tsenv) file from which to initialize the TestStand engine.

WAS THIS ARTICLE HELPFUL?

Not Helpful