Example Code

Using a Single Graph Cursor to Return Values from Multiple Plots in 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 example VI shows how to make a single cursor that locks onto all plots and displays all the Y values for a single corresponding X value.


Description
The easiest method of doing this is to use the Mixed Signal Graph. If you would like to implement this same functionality on a standard Waveform Graph, you will have to carry out some additional programming. The simple example vi ——Multiplot Cursor (Waveform Graph) .vi to show you how to do this.


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Run the VI
  2. Move the blue lines in Waveform graph.

 

Additional Information or References
VI Snippet

00.png01.png

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

Rich Roberts
Senior Marketing Engineer, National Instruments
Connect on LinkedIn: https://www.linkedin.com/in/richard-roberts-4176a27b/

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

Comments
G-Money
NI Employee (retired)
on

Great code! How long did it take you to figure this out?