Skip to main content

Posts

Showing posts from October, 2017

CHAPTER 3 (Analyzing and Saving a Signal)

In the following exercises, you will build a VI that generates a signal, filters the signal, indicates if the signal exceeds a certain limit, and records the data. Modifying a VI Created from a Template Complete the following steps to create a VI that generates, analyzes, and displays a signal. 1. In the Getting Started window, click New to display the New dialog box. 2. From the Create New list, select VI»From Template»Tutorial (Getting Started)»Generate, Analyze, and Display. This template VI simulates a signal and analyzes it for its root mean square (RMS) value. 3. Click the OK button or double-click the name of the template to create a VI from the template. 4. If the Context Help window is not visible, press the <Ctrl-H> keys to display the window. (Mac OS X) Press the <Command-Shift-H> keys. 5. Display the block diagram by pressing the <Ctrl-E> keys. 6. Move the cursor over the Amplitude and Level Measurements E...

CHAPTER 2 ( CUSTOMIZING A VI)

You can choose one of many LabVIEW template VIs to use as a starting point when building VIs. However, sometimes you need to build a VI for which a template is not available. This chapter teaches you how to build and customize a VI without using a template. Building a VI from a Blank VI In the following exercises, you will open a blank VI and add structures and Express VIs to the block diagram to build a new VI. You will build a VI that generates a signal, reduces the number of samples in the signal, and displays the resulting data in a front panel table. Opening a Blank VI If no template is available for the VI you want to build, you can start with a blank VI and add Express VIs to accomplish a specific task. Complete the following steps to open a blank VI. 1. In the Getting Started window, click the Blank VI link in the New section or press the <Ctrl-N> keys to open a blank VI. A blank front panel window and block diagram window appear. ...

CHAPTER 1

LabVIEW programs are called virtual instruments, or VIs, because their appearance and operation imitate physical instruments, such as oscilloscopes and multimeters. LabVIEW contains a comprehensive set of tools for acquiring, analyzing, displaying, and storing data, as well as tools to help you troubleshoot code you write. In LabVIEW, you build a user interface, or front panel, with controls and indicators. Controls are knobs, push buttons, dials, and other input mechanisms. Indicators are graphs, LEDs, and other output displays. After you build the front panel, you add code using VIs and structures to control the front panel objects. The block diagram contains this code. You can use LabVIEW to communicate with hardware such as data acquisition, vision, and motion control devices, as well as GPIB, PXI, VXI, RS232, and RS485 instruments. BUIDING A VIRTUAL INSTRUMENT In the following exercises, you will build a VI that generates a signal and displays that signal in a graph...