Connexions

You are here: Home » Content » Additional Exercises for Plotting Data
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.

Additional Exercises for Plotting Data

Module by: National Instruments

Problem 1
Build a VI that displays two plots, a random plot and a running average of the last four points, on a waveform chart in sweep update mode. Use the following tips:
  • Use a For Loop ( n=200 n 200 ) instead of a While Loop.
  • Use a shift register with three left terminals to average the last four data points.
  • Use the Random Number (0-1) function located on the Functions>>Arithmetic & Comparison>>Express Numeric palette to generate the data.
  • Use the Bundle function located on the Functions>>All Functions>>Cluster palette to group the random data with the averaged data before plotting.
Save the VI as Random Average.vi in the C:\Exercises\LabVIEW Basics I directory.
Problem 2
Build a VI that continuously measures the temperature once per second and displays the temperature on a scope chart. If the temperature goes above or below limits specified with front panel controls, the VI turns on a front panel LED. The chart plots the temperature and the upper and lower temperature limits. You should be able to set the limit from the following front panel.
Save the VI as Temperature Limit.vi in the C:\Exercises\LabVIEW Basics I directory.
Problem 3
Modify the VI you created in 2 to display the maximum and minimum values of the temperature trace.
tip: Use shift registers and two Max & Min functions located on the Functions>>All Functions>>Comparison palette.
Select File>>Save As to save the VI as Temp Limit (max-min).vi in the C:\Exercises\LabVIEW Basics I directory.

Comments, questions, feedback, criticisms?

Discussion forum

Send feedback