lab3 - MEEN 260 Laboratory Manual Texas A&M...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: MEEN 260 Laboratory Manual Texas A&M University L AB VIEW P ROGRAMMING P ART II Last updated Sept 11, 2008, M. Betts Purpose 1. To help further familiarize the student with the LabVIEW programming environment. 2. To demonstrate some of the important issues involved in digital-analog data conversion. 3. To illustrate the essential components in a virtual function generator. 4. To show the effect of noise and filtering on a signal. 5. To show the workings of the case structure. Pre-Lab Exercises Complete the following exercises before the lab period for Lab 2. 1. Consider the Figures 1 and 2, which could represent the oscillating movement of a piece of machinery with respect to time. Figure 1 has a clean, filtered sine wave while Figure 2 shows an unfiltered wave. For each figure, what are the amplitude, period, and frequency of the wave? Report the frequency in both Hertz (Hz) and in radians per second? 2. What is electrical noise and what are some possible sources for it? 3. Can you think of any commonly used filters you come across in everyday life? -2.5-2-1.5-1-0.5 0.5 1 1.5 2 2.5 10 20 30 40 50 60 70 80 90 100 110 120 Time (s) Position (cm) Figure 1: A filtered sine wave representing the oscillating movement of a piece of machinery MEEN 260 Laboratory Manual Texas A&M University 2-4-3-2-1 1 2 3 4 5 10 20 30 40 50 60 70 80 90 100 110 120 Time (s) Position (cm) Figure 2: An unfiltered wave representing an oscillating piece of machinery Background Much of this lab deals with the case structure programming tool in LabVIEW. A case structure is a type of conditional statement that is often used in data acquisition programs in LabVIEW. A case structure works much like a while statement. However, the main difference Figure 3: A Case Structure in LabVIEW between a case structure and a while loop is that a case structure can perform separate operations for each conditional statement. The default case structure is shown in Figure 3. Here, the The conditional statement MEEN 260 Laboratory Manual Texas A&M University 3 deciding condition is a true/false statement. This can be changed using a ring. This can be changed using a ring....
View Full Document

Page1 / 6

lab3 - MEEN 260 Laboratory Manual Texas A&M...

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

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