NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get a computer name in teststand step ?

how to get a computer name in teststand step ?
0 Kudos
Message 1 of 4
(5,931 Views)
Hi,
 
Use TS API Engine.ComputerName() this returns a string.
 
Regards
Ray Farmer
Regards
Ray Farmer
Message 2 of 4
(5,928 Views)
but I can't found the API engine in my teststand.
0 Kudos
Message 3 of 4
(5,927 Views)

Hi,

Use an ActiveX Automation Adapter with the following settings,

ActiveX Reference : RunState.Engine

Automation Server: TestStand API (depends on your version)

Object Class: Engine (IEngine)

Action: Get Property

Property: ComputerName

Then set your Parameters: to pickup the String ComputerName.

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(5,923 Views)