03-01-2022 08:54 PM
Hi All
I have a test that measures frequency response using a VI and i input limits to the VI and get pass/fail (measurement passes less than limits, or fails equal or greater than the limit).
i would like to have a sequence step that measures the warning limit, and if that fails inform the factory test operator there is a warning and they should look into the process to see if there is something off. This Loging of a warning (not fail as is now) then in the post actions runs a step that has failure limits, if that run of the VI with Fail limits fails log the error, and set the product aside for re-work. If it passes the fail limit log product as passing, but keep track of the warning.
how do I do this?
do I use custom conditions or post actions call sequence, can the custom log the warning, and make the step pass??
03-02-2022 02:23 AM
Hi aldenF
What about breaking it out into two individual steps. Have the Numeric Limit Test do the Pass/Fail and have a step immediately after the Numeric Limit Test that uses Numeric Value of the previous step (the Numeric Limit Test) to implement your warning/error requirements?
Hope this helps
Steve
03-02-2022 09:09 AM
So the idea is to have a step that does not log result, for each of the two limits and then a third step that fails if the fail limit is reached but if warning limit log that into another variable and log that at the end?
03-02-2022 09:53 AM
It seemed to me that you could do it with two steps.
Step 1. Do your measurement, evaluate the measured value against the failure limits and return the measured value. I suspect this is close to what you have already (minus the returning the measured value).
Step 2. This step could be a dialog that displays the warning to the Operator (or anything other mechanism you want to use) and would need a PreCondition that evaluates the numeric value returned in Step 1 against the Warning limits. You'd need to configure the PreCondition of this step to only run the step if the value returned from Step 1 dictates that a Warning must be displayed. You would also want to add to the PreCondition that Step 1 Passed.
03-02-2022 10:56 AM
Hi Steve
I think I need the three steps as the limits are a spectrum mask, unless I develop a complex VI that would use as an input the complete set of spectrum points and then scan for the multiple frequency amplitude limits I will need to keep the three steps. however, when I get that working I will post a screenshot for others 🙂
03-03-2022 02:00 AM
Roger that, sounds like a plan