Connexions

You are here: Home » Content » Graph Circle VI
Content Actions
Lenses

What is a lens?

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

This content is ...
Affiliated with (?)
This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • This module is included in aLens by: National InstrumentsAs a part of collection:"LabVIEW Graphical Programming Course"

    Comments:

    "A full introductory course on programming with LabVIEW."

    Click the "National Instruments" link to see all content affiliated with them.

    National Instruments
Also in these lenses
  • This module is included inLens: Connexions Books Available for Print on Demand
    By: ConnexionsAs a part of collection:"LabVIEW Graphical Programming Course"

    Comments:

    "This book is available through the Connexions beta version of print-on-demand from online materials."

    Click the "Printable Books" link to see all content selected in this lens.

    Printable Books
Tags

(?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Graph Circle VI

Module by: National Instruments

Summary: Plot data using an XY Graph.

Problem 1
Complete the following steps to build a VI that plots a circle using independent xx and yy arrays.

1.a) Front Panel

  1. Open a blank VI and build the front panel shown in Figure 1.
    Figure 1
    1. Place an XY Graph, located on the Controls>>All Controls>>Graph palette, on the front panel.
    2. Label the graph XY Circle Graph.
    3. Change Plot 0 to Circle in the plot legend.
    4. Right-click the plot in the plot legend, select Point Style from the shortcut menu, and select the small square.
    5. Change the scale labels and ranges, as shown in Figure 1.

1.b) Block Diagram

  1. Build the block diagram shown in Figure 2.
    Figure 2
    1. Place the Sine & Cosine function, located on the Functions>>Arithmetic & Comparison>>Express Numeric>>Express Trigonometric palette, on the block diagram. This function builds an array of points that represents one cycle of a sine wave and a cosine wave.
    2. Place the Bundle function, located on the Functions>>All Functions>>Cluster palette, on the block diagram. This function assembles the sine array and the cosine array to plot the sine array against the cosine array to produce a circle.
    3. Place the Pi Multiplied by 2 constant, located on the Functions>>Arithmetic & Comparison>>Express Numeric>>Express Numeric Constants palette, on the block diagram.
  2. Save the VI as Graph Circle.vi in the C:\Exercises\LabVIEW Basics I directory.
  3. Display the front panel and run the VI.
  4. Close the VI.

Comments, questions, feedback, criticisms?

Discussion forum

Send feedback