Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Notes on Analysis - Instrumentation and Measurement | MECH 591, Study notes of Mechanical Engineering

Material Type: Notes; Professor: Duva; Class: INSTRUMENTATION & MEASUREMENT; Subject: Mechanical; University: Wentworth Institute of Technology; Term: Unknown 1989;

Typology: Study notes

Pre 2010

Uploaded on 08/19/2009

koofers-user-6kq-2
koofers-user-6kq-2 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Exercise 2.1 – Analysis (Track A, B, & C)
Create a VI that produces a sine wave with a specified frequency and displays the data
on a Waveform Chart until stopped by the user.
1. Open a blank VI from the Getting Started screen.
2. Place a chart on the front panel. Right-click to open the controls palette and select
Controls»Modern»Graph»Waveform Chart.
3. Place a dial control on the front panel. From the controls palette, select
Controls»Modern »Numeric»Dial. Notice that when you first place the control
on the front panel, the label text is highlighted. While this text is highlighted, type
“Frequency In” to give a name to this control.
4. Go to the block diagram (<Ctrl+E>) and place a while loop down. Right-click to
open the functions palette and select Express»Execution Control»While Loop.
Click and drag on the block diagram to make the while loop the correct size.
Select the waveform chart and dial and drag them inside the while loop if they are
not already. Notice that a stop button is already connected to the conditional
terminal of the while loop.
5. Place the Simulate Signal Express VI on the block diagram. From the functions
palette, select Express»Signal Analysis»Simulate Signal and place it on the
block diagram inside the while loop. In the configuration window under Timing,
choose “Simulate acquisition timing.” Click “OK.”
6. Place a Tone Measurements Express VI on the block diagram (Express»Signal
Analysis»Tone Measurements). In the configuration window, choose Amplitude
and Frequency measurements in the Single Tone Measurements section. Click
“OK.”
pf2

Partial preview of the text

Download Notes on Analysis - Instrumentation and Measurement | MECH 591 and more Study notes Mechanical Engineering in PDF only on Docsity!

Exercise 2.1 – Analysis (Track A, B, & C) Create a VI that produces a sine wave with a specified frequency and displays the data on a Waveform Chart until stopped by the user.

  1. Open a blank VI from the Getting Started screen.
  2. Place a chart on the front panel. Right-click to open the controls palette and select Controls»Modern»Graph»Waveform Chart.
  3. Place a dial control on the front panel. From the controls palette, select Controls»Modern »Numeric»Dial. Notice that when you first place the control on the front panel, the label text is highlighted. While this text is highlighted, type “Frequency In” to give a name to this control.
  4. Go to the block diagram (<Ctrl+E>) and place a while loop down. Right-click to open the functions palette and select Express»Execution Control»While Loop. Click and drag on the block diagram to make the while loop the correct size. Select the waveform chart and dial and drag them inside the while loop if they are not already. Notice that a stop button is already connected to the conditional terminal of the while loop.
  5. Place the Simulate Signal Express VI on the block diagram. From the functions palette, select Express»Signal Analysis»Simulate Signal and place it on the block diagram inside the while loop. In the configuration window under Timing, choose “Simulate acquisition timing.” Click “OK.”
  6. Place a Tone Measurements Express VI on the block diagram ( Express»Signal Analysis » Tone Measurements ). In the configuration window, choose Amplitude and Frequency measurements in the Single Tone Measurements section. Click “OK.”
  1. Make the following connections on the block diagram by hovering your mouse over the terminal so that it becomes the wiring tool and clicking once on each of the terminals you wish to connect: a. Connect the “Sine” output terminal of the Simulate Signal VI to the “Signals” input of the Tone Measurements VI. b. Connect the “Sine” output to the Waveform Chart. c. Create indicators for the amplitude and frequency measurements by right- clicking on each of the terminals of the Tone Measurements Express VI and selecting Create » Numeric Indicator. d. Connect the “Frequency In” control to the “Frequency” terminal of the Simulate Signal VI.
  2. Return to the front panel and run the VI. Move the “Frequency In” dial and observe the frequency of the signal. Click the stop button once you are finished.
  3. Save the VI as “Exercise 2.1 – Simulated.vi”.
  4. Close the VI. Notes
    • When you bring up the functions palette, press the small push pin in the upper left hand corner of the palette. This will tack down the palette so that it doesn’t disappear. This step will be omitted in the following exercises, but should be repeated.
    • The solution to this exercise is printed in the back of this manual.