NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling object reference properties from an expression

Is it possible to create an object reference variable and instantiate it as a .Net object in one step then call that object's properties and/or methods in an expression of another step (for example in a pre-expression or a precondition)?
0 Kudos
Message 1 of 2
(2,808 Views)

Skeptical -

You cannot call properties and methods of a .NET object stored in an object reference variable or property from within a TestStand expression. You must do this with another step that uses the .NET adapter or within the .NET assembly that the step calls. Our TestStand expression language can call only built-in functions and use the TestStand Engine and Adapter API.

Scott Richardson
0 Kudos
Message 2 of 2
(2,792 Views)