Example Code

Simple Analog Window

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview
To demonstrate how to set up simple analog window with In-Range indicator

Description:
This example shows how to set up a simple analog window.  It takes in an analog signal and compares it to a user-defined window.  It then tells the user when the value is in range and coerces out of range values to the nearest limit.  This can then be used in any application where the user wishes to control other operations based on the value of an incoming analog signal.

Instructions:
To implement this example:

  1. Set the upper and lower limit.
  2. Run the VI.


To execute this example:

  1. Install the required software.
  2. Open the VI and refer the Implement Steps


Requirements
Software
LabVIEW 2012 or compatible

Hardware
-

2017-11-02_10-30-53.jpg2017-11-02_10-31-04.jpg

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

Regards,

Chris L
Applications Engineer
National Instruments

Certified LabVIEW Associate Developer

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