NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Get reference to a Local variable?

Hi Community,

 

I have a VI which I'd like to call hundreds of time with different parameters. The parameters are:

  1. Switching parameters cluster - unique to each test
  2. Limit parameters cluster - partially unique

So I have the following structure:

MAIN_TEST_CLUSTER

--------------------------------[0] TEST 01

----------------------------------- Switching_Cluster

----------------------------------- Limits_Cluster

--------------------------------[1] TEST 02

----------------------------------- Switching_Cluster

----------------------------------- Limits_Cluster

 

etc.

 

 

The problem I have is that the limits cluster is not completely unique for each test, but it is actually one of the 10 predefined set of limits. Instead of hardcoding the limits into Test 01, Test 02 etc I'd like create a reference to an array outside of my main test cluster to LimitSet[x].

 

Having this makes sure that I can easily roll out a change in the limitset because I have to change it at one place only. What would be the right approach to do this in TestStand?

 

thanks!

 

ps: I only can hope that my description was clear enough, but let me know if not. 🙂

 

0 Kudos
Message 1 of 3
(2,311 Views)

There is a new feature in TS 2017 called Data Streams that would probably be useful for this:

https://zone.ni.com/reference/en-XX/help/370052W-01/tshelp/infotopics/2017whatsnew/#Data

 

Hope this helps!

Trent

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 3
(2,292 Views)

Hi 1984-

 

The TestStand Property Loader Step would also be a reasonable approach (see a simple example attached - saved in TestStand 2016). There are also several good shipping examples demonstrating its use (located in the <TestStand Public>\Examples\Built-In Step Types\Property Loader Step Type directory).

 

-Jeff

Message 3 of 3
(2,287 Views)