Lab+02 - C ASE S TRUCTURES , A RRAYS , WAVEFORMS E...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
C ASE S TRUCTURES , A RRAYS , W AVEFORMS 2 E LECTRICAL E NGINEERING 20N Department of Electrical Engineering and Computer Sciences University of California, Berkeley S IMON H ONG , H SIN -I L IU , J ONATHAN K OTKER , AND B ABAK A YAZIFAR 1 Introduction In this lab, we will explore another LabVIEW construct – the case structure – that allows different behaviors based on the states of certain blocks and variables. We will also explore how arrays are implemented and manipulated in LabVIEW . In the most basic sense, an array is simply a sequence of data points. What makes these sequences in- teresting is that they can represent signals. A signal usually contains information that describes a natural phenomenon. For instance, sound can be represented as varying pressure waves, which in turn can be approximated by a sequence of numbers describing this physical phenomena. These sequences, or arrays, are fundamental in describing and dealing with signals, as we shall see in this lab. We will also play around with graphical methods of displaying the signals that these arrays represent, with the help of waveforms . 1.1 Lab Goals Manipulate case structures. Use arrays in a LabVIEW application, in association with other structures. Generate waveforms and display them on the front panel using charts and graphs. 1.2 Checkoff Points 2. Case Structures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (20 minutes) 1. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2. Example VI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (25%) 3. Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (45 minutes) 1. Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2. Example VI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (15%) 3. Self-Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (20%) 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4. Array Manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (30 minutes) 1. Example VI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (25%) 5. Waveform Generation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 13

Lab+02 - C ASE S TRUCTURES , A RRAYS , WAVEFORMS E...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online