07-26-2018 03:14 AM
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?
Solved! Go to Solution.
07-27-2018
03:26 AM
- last edited on
10-20-2024
05:18 PM
by
Content Cleaner
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):
Andreas