Example Code

Display Plot Data on Mouse Over 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

Overview
Have you ever wondered what the exact coordiantes of that data point is? Have you ever had so much data that you can't see the axis of your graphs? Fear not! For with this simple example VI, you will soon be able to mouse over your plots and see the data you've moused over with not just one, not just two, but with as many graphs as you could possibly want in a single VI!


Description
Have you ever wondered what the exact coordiantes of that data point is? Have you ever had so much data that you can't see the axis of your graphs? Fear not! For with this simple example VI, you will soon be able to mouse over your plots and see the data you've moused over with not just one, not just two, but with as many graphs as you could possibly want in a single VI!

  1. Event Structures - This VI uses Event Structures to reacquire references to different plots
  2. Property Nodes - This VI utilizes property nodes to determine the coordinates of the plot, mouse, and the front panel
  3. Coordiantes - This VI utilizes coordinates to determine the data point, and the location of the mouse cursor.


Requirements

Software:

  1.  LabVIEW 2012(or compatible)

 

Steps to Implement or Execute Code

  1. Download the .zip file
  2. Set your desired configuration (a, x1, x2, degrees, etc)
  3. Run the VI

 

Additional Information or References
VI Block Diagram

1.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.