05-17-2012 03:05 AM
Hello,
I am using a Multiple Numeric Step to check several measurements performed by an external DMM by means of a function created in CVI. I would like to use the Return value of the function to overwrite the overall status of the step. The reason is that the return value indicates a communication error whilst the measurements are taken, and that would lead to a false "False" or to a false "Pass"
What I would liek to do is more or less this>
If return value = 0 then check if the measuremets are between the limits
If return value != 0 there was a communication error so the step should fail regardless of the measurements.
I tried combining the multiple numeric step with a pass/fail step but it does not work.
I trie also to modify the status expression of the Multiple Numeric steps but basically ignores it.
Any ideas?
Thanks,
Javier
Solved! Go to Solution.
05-17-2012 08:00 AM
Why don't you just make that return value another limit for the multiple numeric limit step. Set the comparison to EQ and the Low limit to 0.
That would make the most sense.
05-17-2012 08:57 AM
Hi,
Actually I though about this possibility but passing the return value as part of the measurement array.
I just realized that you can specify the DataSource for each of the measurements, so I just need to check the return value there.
Great answer,
Thanks