XY Graph Multiple numeric limit test

Follow

Comments

10 comments

  • David Engstrom

    Just what I needed.  Thanks.

    0
    Comment actions Permalink
  • Tim

    Nearly there, I want to add Limit Lines to my Graph. But how do I get the 'PlotArray' data from the LabVIEW vi to use as the 'Data Source' for the limit test? The 'PlotArray' contains an Array of a cluster of 1-D Array of a cluster (See PlotArray_DataType.jpg) attached. I need a 1-D array of 'y' data to test aginst the Upper and Lower Limit Lines, presumable defined in the 'limit' tab. 

    0
    Comment actions Permalink
  • Tom Andres Lomsdalen

    Hi,

    Basically you can add limits as 2 new plots (Upper/Lower limit). One way is to use the limits from TS to generate the plots. See example

    0
    Comment actions Permalink
  • Tim

    Thanks for the swift response Tom. I can generate the limit lines, as you illustrate, on the plot. But I wish to test each data point of the measurement trace against the limit and to 'Fail' if the limit is exceeded. Is this possible?

     

    Thanks Tim.

    0
    Comment actions Permalink
  • Tom Andres Lomsdalen

    yes, but you have to implement it "yourself" using e.g. the Limit Testing functionality of the Waveform Monitoring (so a little bit handling between XYG and waveform types).

    Another tip is to count the number of points outside HighLimit and LowLimit and return them to TS using Measurements. Then, use e.g. EQ (==) 0 as limit of the measurements. This way, you can trend number of points outside spec in Test Step Yield & Analysis.

    I hope this is helpful.

    0
    Comment actions Permalink
  • Tim

    Thank you Tom. I now know the workings of the XYG Step and have a solution to my requirement.

    0
    Comment actions Permalink
  • Jarkko Liedes

    Hi,

     

    I am facing a problems with trying to use WATS XY Graph MNLT step type. In my measurement VI the PlotArray output datatype is exact the same as described in this document. But it gives error when i am trying to assign PlotsArray VI output to "Step.PlotsArray" variable. Following error message comes up:

    And my PlotsArray cluster is following:

    Thanks,

    -Jarkko

    0
    Comment actions Permalink
  • Tom Andres Lomsdalen

    Jarkko, I will follow up in a support ticket.

    0
    Comment actions Permalink
  • Erijensen

    The example refered to in the article is this one:

    C:\Users\Public\Documents\National Instruments\TestStand 2017 (32-bit)\CodeTemplates\WATS-XYGMNLT-LabVIEW

    , right?

    0
    Comment actions Permalink
  • Tom Andres Lomsdalen

    @Erijensen; Correct

    0
    Comment actions Permalink

Please sign in to leave a comment.