Example Code

Ajust data points in XY Graph with Mouse

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

Description

This example demonstrates how users can interact with XY Graph to ajust manually some data points.

Let's imagine an application that tests some hardware and stimulate it based on data coming from a simulation process. Users may want to slightly ajust and move some data points to test another scenario. This example is a starting point for this need, and shows how to use invoke nodes to control XY graphs. 

Display mode of XY graph have to show data points and not just the curves.

       

 

 

How to Use

1. Run the VI.
2. Left click on the data point you want to move and hold down this button. You must carrefully select the data point, and click in the center of it.

3. Move to the location you want and Release the left button.
4. Click Stop to stop the VI.

 

Paolo_P
Certified TestStand Architect
Certified LabVIEW Architect
National Instruments France

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

Contributors