Saturday, September 25, 2010

Graph Circle VI

EXERCISE 1

Complete the following steps to build a VI that plots a circle using independent x and y arrays.

1.A) Front Panel

  1. Open a blank VI and build the front panel shown in Figure 1.
    Figure 1
    Figure 1 (graphcirc.png)
    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
    Figure 2 (graphcircbd.png)
    1. sinecosicon.png Place the Sine & Cosine function, located on the Functions>>Arithmetic & Comparison>>Express Numeric>>Express Trigonometricpalette, on the block diagram. This function builds an array of points that represents one cycle of a sine wave and a cosine wave.
    2. bundleicon.png 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. pimult.png 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.

Content actions

GIVE FEEDBACK:

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Popular Projects

My Blog List

Give support

Give support
Encourage Me through Comments & Followers

Followers