07-14-2016 09:11 AM
Hi,
I am trying to reuse the "Multiple Numeric Limit Test" calling a LabVIEW VI which outputs an array of a cluster. The cluster contains:
The "Measurement" should be analysed using the GELE-comparison type and the "LimitMin" and "LimitMax" should be used as the "Low" and "High" limits. My goal is to make the analysis in the same step as the VI-call. Ontop of this I don't know prior to the call how many elements there will be in the array, so there is a need to programmatically control the analysis scope.
How should you solve this problem?
Best regards,
Marcus
07-14-2016 02:14 PM
Why does it have to be in the same step? Consider the attached example.
Hope this helps,
07-16-2016 05:59 AM - last edited on 11-04-2024 12:06 PM by Content Cleaner
Hi Jigg,
The reason for having the solution in the same step is that there are a large set of testcases which will be called in the same way. Your solution does solve the problem and by reusing a call to a subsequence the main sequence gets a neet and readable overview.
But is it possible to create a custom step type like the "Multiple Numeric Limit Test" with an array of cluster as an output (as described earlier)? I have searched for a step-by-step in-depth tutorial on creating a "Custom Step Type" but haven't found any which goes into more detail than this (https://www.ni.com/docs/en-US/bundle/teststand/page/creating-custom-step-types.html). Is there anyone who could help me out explaining the progress on creating a Custom Step Type like the Multiple Numeric Limit Test?
Best regards,
Marcus
07-16-2016 03:14 PM - last edited on 11-04-2024 12:07 PM by Content Cleaner
After some searching (NI.com) I found a step-by-step tutorial (Creating a Waveform Custom Step Type and Adding Information to the ASCII Report) somewhat similar to my quest. I will try to reuse this tutorial and give you the feedback on the progress.
09-18-2016 12:04 PM
Hi Jigg,
I tried out your attached example and unfortuanetly I only get the limits for the first measurement. My testcase consist of several measurements where each have its own limits. Is there a way to tweak your example to get this? When I added a second "limits" to the tests I got the limits for the first two measurements.
Best regards,
Marcus
09-19-2016 09:38 AM - edited 09-19-2016 09:39 AM
What are you seeing? Attached is what I see. It looks like they all have limits just fine.