Example Code

An interactive y=mx graph

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 show that you can programmatically set the values of an equation interactively, by dragging a cursor on an XY graph up and down.


Description
This code can be used for the same idea to create more interesting graphs, like interactive bode plots or frequency spectrums


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Run VI
  2. Drag a cursor on an XY graph

 

Additional Information or References
VI Block Diagram
Block Diagram.png

 

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

Josh E
Applications Engineer
National Instruments UK & Ireland

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