Example Code

Creating Circles on a Waveform 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

Download All

Overview

Coding that exemplifies how to generate circles on a XV Graph.

 

Description
This VI allows the user to programmatically create circles at any location on a XY graph. While the program is running, you can add more circles and change their locations. The user can also use the slide bar to change the radius of the circles.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Run the VI
2. Add elements into the arrays in order to generate more points
3. Move the Radius slider to change the radius of the circles
4. Stop the execution with the Stop button.

 

Additional Information or References

Snippet.png

Chris Van Horn
Applications Engineer

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