From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Expressions/Data Source

Solved!
Go to solution

Hi There,

 

A very basic question (I'm getting back into TestStand after a long break so have forgotten the basics).

 

I would like to use a VI with multiple outputs for a numeric test. The default "Data Source" is Step.Result.Numeric. I would like to use any of the outputs of the VI as part of the test.

 

(1) What code should I use in the expression window to access different outputs of the VI?

(2) Can anyone tell me where I might find a good reference document for Teststand expressions?

 

Thanks in advance.

 

0 Kudos
Message 1 of 3
(225 Views)
Solution
Accepted by topic author TestHouse

Hi TestHouse,

 

TestStand offers a Multi-numeric limit test option, it sounds like that is the one you need.

 

Multiple Numeric Limit Test.JPG

 

If your VI is returning an array of numerics you can configure the step to do an evaluation on each item individually

 

Multiple Limit Test Setup.JPG

The TestStand Expression Browser is a good start for building expressions.  It is displayed from the f(x) button..

 

Regards

 

Steve

0 Kudos
Message 2 of 3
(220 Views)

Many thanks for the fast response, that got it working.

0 Kudos
Message 3 of 3
(186 Views)