Example Code

Amplitude Difference for Multiplot graph 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

Download All

Description

Overview

This VI compares the amplitude difference for multiple plots on a single XY Graph.

 

Description

This VI allows you to compare two amplitudes on 2 separate plots on a single XY Graph

It uses cursors and cursor properties to find amplitudes for a user defined X value and then subtracts them.

Additional Resources on cursor properties:

Adding Cursors to Graphs.

Requirements

  1. LabVIEW 2012(or compatible)

 

Steps to Implement or Execute Code

  1. Open the VI and run it.
  2. Use cursor legend to adjust the cursor position.
  3. Read the amplitudes difference value.

 Additional Information or References

Block Diagram

block diagram.JPG

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

Joel I.
Applications Engineer
National Instruments

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