Connexions

You are here: Home » Content » Additional Exercises for Making Decisions in a 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.

Additional Exercises for Making Decisions in a VI

Module by: National Instruments

Problem 1
Build a VI that uses the Formula Node to calculate the following equations: y 1 =x3+x2+5 y 1 x 3 x 2 5 y 2 =mx+b y 2 m x b
Use only one Formula Node for both equations and use a semicolon (;) after each equation in the node.
Save the VI as Equations.vi in the C:\Exercises\LabVIEW Basics I directory.
Problem 2
Build a VI that functions like a calculator. On the front panel, use numeric controls to input two numbers and a numeric indicator to display the result of the operation (Add, Subtract, Divide, or Multiply) that the VI performs on the two numbers. Use a slide control to specify the operation to perform.
Save the VI as Calculator.vi in the C:\Exercises\LabVIEW Basics I directory.
Problem 3
Modify the Square Root VI so the VI performs all calculations and condition checking using the Formula Node.
Select File>>Save As to save the VI as Square Root 2.vi in the C:\Exercises\LabVIEW Basics I directory.
Problem 4
Build a VI that has two inputs, Threshold and Input Array, and one output, Output Array. Output Array contains values from Input Array that are greater than Threshold.
Save the VI as Array Over Threshold.vi in the C:\Exercises\LabVIEW Basics I directory.
Create another VI that generates an array of random numbers between 0 and 1 and uses the Array Over Threshold VI to output an array with the values greater than 0.5.
Save the VI as Using Array Over Threshold.vi in the C:\Exercises\LabVIEW Basics I directory.

Comments, questions, feedback, criticisms?

Discussion forum

Send feedback