NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom analysis rules; tsarule file;

Solved!
Go to solution

Hello,

This is day 4 when i am trying to figure out how custom rules works in teststand.

there is plenty info on help page, but i cant make "the Big Picture" of that info.

In example rules i see tsarules file. It looks like tsarules file is the "top" files that describes rule and analysis module. Rule only apears in teststand after importing this file.

how is that file created? should i modify it by hand, or is there a tool for that?

 

0 Kudos
Message 1 of 2
(2,831 Views)
Solution
Accepted by zpla

Hi Choose_Another_One,

 

welcome to the forums.

 

The tsarules file is indeed some sort of top file, which describes rule and module. 

 

You typically start from the CustomRules.tsarules and add a new rule to it. Then it is immediately added to Teststand.

I you want to create a new tsarules file for your rule you can go to the "Configure Sequence Analyzer Available Rules" and click on the Export button in the lower left corner.

Then you can use this file to transfer the rule between different systems (as is done in the examples).

 

You can find more information about creating a new rule in:

https://www.ni.com/docs/en-US/bundle/teststand/page/create-custom-rules-tsa.html

 

You can also have a look at chapter 7 of the Teststand Architecture course (not sure in which county you live):

https://www.ni.com/en/shop/services/education-services/customer-education-courses/architecting-test-...

 

Andreas

Andreas
CLA, CTA
Message 2 of 2
(2,803 Views)