NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic test limits

Keep in mind that I am pretty new to Test Stand (TS).

I have figured out that I could change the TS test limits for the current test step from my test code
by passing 'ThisContext.Step.Limits.Low' and 'ThisContext.Step.Limits.High' to my test code (by reference).

I can alter the test limit values there, then, when the code returns control to TS, TS will use the
altered limits to evaluate the result.

I have a large test sequence that is used for 15 models of the same product and I'd like to be able to change
the test limits for most of the tests depending on the model being tested.

Does TS have any way for me to manage the test limits for these 15 models or will I have to design something?

J

0 Kudos
Message 1 of 4
(3,109 Views)

Hi J,

    Look at using the Property Loader step type. You can export the properties required from the steps you need to using Tools>>Import/Export properties... This will create a text file which you can then edit to provide alternative property values depening on the model.

Hope this helps,

           Nick

0 Kudos
Message 2 of 4
(3,100 Views)

Checkers,

I agree with Nick,

The property Loader is the way to go.

Check the following post.

It could help.

http://forums.ni.com/ni/board/message?board.id=330&message.id=7702#M7702

In your case you have to import your low and high limits using the property loader step before running your tests.

Regards.

0 Kudos
Message 3 of 4
(3,095 Views)
Nick,

That works great!

Thanks,

J

0 Kudos
Message 4 of 4
(3,092 Views)