Example Code

Limit Lines

Code and Documents

Attachment

Overview
Example code written in LabVIEW which implements limit line testing. Measured X and Y values are compared to a number of user defined limit lines.

 
Description
Useful for checking if a frequency response (Spectrum Analyzer trace) or waveform (DAQ or Oscilloscope trace) are within certain limits. Any number of limit lines can be defined, limit lines can be diagonal.

Includes a VI for adding points to the original data using interpolation / curve fitting.

 
Requirements

LabVIEW 2012 (or later)


Steps to Implement or Execute Code

1) download the zip and extract the play limit line.vi 

2) run the vi with relative library file

 

Additional Images or Video

 

Limit Lines.png

 **This document has been updated to meet the current required format for the NI Code Exchange.**

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.