NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Specify a module

When I insert a numeric limit test in TS 3.0 using LV Adapter and specify a module I don't get the test data out and the error cluster. Why ?
0 Kudos
Message 1 of 6
(3,535 Views)
Starting with TestStand 3.0, values and parameters are passed through the vi connector pane rather than through the clusters as in previous versions. In my opinion, this is a great feature in that now the vi can run stand alone for debugging without depending upon TestStand. You will see an extra section in the TestStand window when specifying a vi that allows you to specify which TestStand variable to associate with each connector pane terminal in the vi. Use TestStand variable Step.Result.Error to associate with Labview Error In and Error Out connector terminals. Use whatever local variables you create to associate with the other connector pane terminals. For a numeric limit test, you can connect the vi's numeric output to a connector pane terminal, and associa
te that with TestStand's Step.Result.Numeric. This is the value that TestStand will use to compare against the limits. If this is not clear, let me know and I will try to post an example.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 6
(3,535 Views)
tbob,
Thanks ! You've been a wealth of information. Its been so long since I've done TS I had forgotten I had to select TS's Step.Result.Numeric.to pass the LV variable to. For some reason I thought TS 3.x took care of that for you. It did when I brought out the error cluster. I had to navigate to the Step.Result.Numeric and insert it. I've included a word doc to show what I meant. What happens if you pass multiple ( array) data ? Thanks again.
0 Kudos
Message 3 of 6
(3,535 Views)
There is a new test step called multiple numeric limits. It will allow passing of multiple numeric results and tests the limits on each result. You can specify different limits for each result. If just passing an array, TestStand has the array data type. Use it just as you would any other variable type. You should check out TestStand 3.1, it is awesome.
- tbob

Inventor of the WORM Global
0 Kudos
Message 4 of 6
(3,535 Views)
Hi,

TestStand will take care of this for you when you create the VI from the Adapter Screen. Otherwise, it can't guarantee what you want that numeric value to be. Since the error cluster really only serves one purpose, it recognizes this and takes the information and fills it in for you.

You ask what would happen if you pass multiple data. If you are passing an array, you would still have to specify what to do with this array. You could store it in a local variable, or you could select a particular element from the array and uset hat for your Result.Numeric. There isn't a way to compare more than one point unless you created a custom step type.

If you have more than one output, you can choose which one is the Step.Result.Numeric, and you ca
n store the rest in variables if you need the outputs. You can even use a post-expression to use several different outputs to set Step.Result.Numeric if you wish.

Allen P.
National Instruments
0 Kudos
Message 5 of 6
(3,535 Views)
The Multiple Limits Test step type (available in TS 3.x) WILL take care of more than one point. No need to separate elements of the array. The variable is called Step.NumericArray instead of Step.Result.Numeric. See the attached seq and vi.
- tbob

Inventor of the WORM Global
Download All
0 Kudos
Message 6 of 6
(3,535 Views)