From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-23-2015 01:55 PM
I am coding a multiple numeric limit test step stype and have a fundamental question/problem which I don't see a straightforward solution to. If I am measuring and comparing 4 differnet parameters, I may have 4 differnt next steps to vector off to depending on the result. How do you code this optimally in Teststand?
Solved! Go to Solution.
10-23-2015 03:38 PM
Consider the attached sequence file. Not how I would do it, but it is an option. To give it more flexibility you could make it more dynamic. This is a very static solution.
Cheers,
10-26-2015 09:02 AM
Thanks for the good example. What I am trying to do is to understand how to set programming stds up for an architecture which allows multiple configurations of the same UUT which require mainly the same tests but different repair/replacement actions based on these tests failing.
This requires the ability to have a loadable configuration of different FI Rules for the same tests. Segregation of these rules from the actual tests to be dynamically loadable from a separate file is desirable. Any ideas?
10-26-2015 09:26 AM
I have seen and implemented several solutions to this problem. However, they are proprietary to the companies for which I work and thier customers. So I cannot disclose in a public forum.
I will give you this advice: Abstract the test steps away from your client sequence file and call them dynamically. That way you can use a post step failure callback to call the Repair steps dynamically as well. In the Post Step failure callback you will have to evaluate the failure and compare against a lookup table (whether that be a DB or a flat file). Then you will call the repair steps dynamically as well.
10-28-2015 09:54 AM - edited 10-28-2015 10:16 AM
I had a little time this morning so I threw this example together. Let me know if it is helpful or if you have questions.
The lookup table is in a FileGlobal but could come from a Database or FlatFile and be read in at the beginning of MainSequence. It is the key to everything.
10-28-2015 10:38 AM
That is excellent. Thank you very much.