Example Code

Plot the Difference of Two Arrays to a Waveform Chart Using LabVIEW

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

This code demonstrates how to plot the difference between two arrays to a waveform chart in LabVIEW


Description
This example allows the user to input two arrays. Both arrays and their difference are then plotted on a waveform chart.

 
Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Open " Plot the Difference of Two Arrays to a Waveform Chart 2012 NIVerified.vi"
  2. Enter data into the two arrays
  3. Click run

Additional Information or References
VI Block Diagram

 5-307.png

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

 

 

Applications Engineer
National Instruments

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