NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

judge testing result pass or fail

Solved!
Go to solution

I use teststand to call dll(writen by CVI),my question is I get a result from instrument by dll ,how judge the result pass or fail by teststand,the limits is defined by user .

thank you!

0 Kudos
Message 1 of 3
(3,712 Views)
Solution
Accepted by topic author sean_tan

Hey Sean,

 

I think I may be confused by your question so can you answer the following-

 

When you say "judge" do you mean that you want the step to determine if the result lies within the limits defined by the user?  Is the result numeric?  String? Boolean?  How is the user inputting the limits?

 

Most of the time people use the Numeric Limit Test step to determine limits on measurements.  This determination is accomplished by the Status Expression of the step combined with the limits set for that step.  How that is setup defines whether the step passes or fails.  If you let me know how the user is inputting the limits I can help you dynamically set the limits.  Which is most likely what you'll have to do.

 

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(3,700 Views)
thanks,I have solved it.in fact ,I just need to change the step as a numeric testing not a action,then the limit can be setted .
0 Kudos
Message 3 of 3
(3,686 Views)