Previous Assignment

A01: Vector Addition Calculator

Next Assignment  
 

 
Due:  Monday, January 20 by 9:30 a.m. in the PLAB DropBox

Install LabVIEW on your personal computer (if you purchased the Student Edition).

Reading Assignment

Read Chapter 1 of Learning with LabVIEW to familiarize yourself with:

  • the various icons and menus on the Front Panel and Block Diagram toolbar,
  • the various items in the File, Edit, Operate, Project, Windows, and Help menus,
  • pop-up menus,
  • the Tools, Controls, and Functions palette, and
  • the LabVIEW Help system.

Also begin reading Chapter 2 to familiarize yourself with some of the basic concepts of Virtual Instruments including:

  • Controls and Indicators
  • Terminals
  • Wires
  • Front Panel
  • Block Diagram
  • Data Flow Programming

Programming Exercise

  • Write a simple Virtual Instrument that will add 2 two-dimensional vectors, given their magnitude and direction relative to the positive x-axis.
  • Express the vector sum in terms of its magnitude and direction.  
  • Your VI should have four controls (magnitude and direction of each vector) and two indicators (magnitude and direction of the sum).
  • Display the magnitude of the vector to the nearest hundredths of a unit and the direction to the nearest tenths of a degree.
  • Be careful because the trig routines in LabVIEW will use the angles in radians.
  • Save the VI with the name 'A01-last.vi' where last is your last name and place it in the PLAB DropBox.