Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
LabVIEW-Measurements.pdf
Скачиваний:
61
Добавлен:
29.05.2015
Размер:
3.37 Mб
Скачать

About This Manual

 

 

The LabVIEW Measurements Manual contains information you need to

 

 

take and analyze measurement data in LabVIEW. You should have a basic

 

 

knowledge of LabVIEW before you try to read this manual. If you have

 

 

never worked with LabVIEW, please read through Getting Started with

 

 

LabVIEW before you begin.

 

 

This manual supplements the LabVIEW User Manual, and assumes that

 

 

you are familiar with that material. You also should be familiar with the

 

 

operation of LabVIEW, your computer, your computer's operating system,

 

 

and your data acquisition (DAQ) device.

Conventions

 

 

 

 

 

 

The following conventions appear in this manual:

»

 

The » symbol leads you through nested menu items and dialog box options

 

 

to a final action. The sequence File»Page Setup»Options directs you to

 

 

pull down the File menu, select the Page Setup item, and select Options

 

 

from the last dialog box.

 

 

This icon denotes a tip, which alerts you to advisory information.

 

 

 

 

 

 

This icon denotes a note, which alerts you to important information.

bold

Bold text denotes items that you must select or click on in the software,

 

 

such as menu items, dialog box options, and palettes. Bold text also denotes

 

 

controls and buttons on the front panel and parameter names on the block

 

 

diagram.

italic

Italic text denotes variables, emphasis, a cross reference, or an introduction

 

 

to a key concept. This font also denotes text that is a placeholder for a word

 

 

or value that you must supply.

monospace

Text in this font denotes text or characters that you should enter from the

 

 

keyboard, sections of code, programming examples, and syntax examples.

 

 

This font is also used for the proper names of disk drives, paths, directories,

 

 

programs, subprograms, subroutines, device names, functions, operations,

 

 

variables, filenames and extensions, and code excerpts.

© National Instruments Corporation

xxiii

LabVIEW Measurements Manual

About This Manual

monospace bold

Bold text in this font denotes the messages and responses that the computer

 

automatically prints to the screen. This font also emphasizes lines of code

 

that are different from the other examples.

monospace italic

Italic text in this font denotes text that is a placeholder for a word or value

 

that you must supply.

Platform

Text in this font denotes a specific platform and indicates that the text

 

following it applies only to that platform.

Related Documentation

The following documents contain information that you might find helpful as you read this manual:

Getting Started with LabVIEW

LabVIEW User Manual

LabVIEW Help, available by selecting Help»Contents and Index

The user manuals for your data acquisition devices

Various Application Notes, available on the National Instruments Web site at http://zone.ni.com/appnotes.nsf/

LabVIEW Measurements Manual

xxiv

www.ni.com

Part I

Introduction to Measurement

This part contains information you should know before taking measurements in LabVIEW.

Part I, Introduction to Measurement, contains the following chapters:

Chapter 1, What Is Measurement and Virtual Instrumentation?, introduces the concepts of measurement and virtual instrumentation.

Chapter 2, Comparing DAQ Devices and Special-Purpose Instruments for Data Acquisition, describes your options for hardware and software systems.

Chapter 3, Installing and Configuring Your Measurement Hardware, explains how to set up your system to use data acquisition with LabVIEW and your DAQ hardware.

Chapter 4, Example Measurements, explains several examples of common measurements using LabVIEW.

© National Instruments Corporation

I-1

LabVIEW Measurements Manual

1

What Is Measurement and

Virtual Instrumentation?

You take measurements with instruments. Instrumentation helps science and technology progress. Scientists and engineers around the world use instruments to observe, control, and understand the physical universe. Our quality of life depends on the future of instrumentation—from basic research in life sciences and medicine to design, test and manufacturing of electronics, to machine and process control in countless industries.

History of Instrumentation

As a first step in understanding how instruments are built, consider the history of instrumentation. Instruments have always made use of widely available technology. In the 19th century, the jeweled movement of the clock was first used to build analog meters. In the 1930s, the variable capacitor, the variable resistor, and the vacuum tube from radios were used to build the first electronic instruments. Display technology from the television has contributed to modern oscilloscopes and analyzers. And finally, modern personal computers contribute high-performance computation and display capabilities at an ever-improving performance-to-price ratio.

What Is Virtual Instrumentation?

Virtual instrumentation is defined as combining hardware and software with industry-standard computer technologies to create user-defined instrumentation solutions. National Instruments specializes in developing plug-in hardware and driver software for data acquisition (DAQ),

IEEE 488 (GPIB), VXI, serial, and industrial communications. The driver software is the programming interface to the hardware and is consistent across a wide range of platforms. Application software such as LabVIEW, LabWindows/CVI, ComponentWorks, and Measure deliver sophisticated display and analysis capabilities required for virtual instrumentation.

© National Instruments Corporation

1-1

LabVIEW Measurements Manual

Chapter 1 What Is Measurement and Virtual Instrumentation?

You can use virtual instrumentation to create a customized system for test, measurement, and industrial automation by combining different hardware and software components. If the system changes, you often can reuse the virtual instrument components without purchasing additional hardware or software.

System Components for Taking Measurements with Virtual Instruments

Different hardware and software components can make up your virtual instrumentation system. Many of these options are described in more detail throughout this manual. There is a wide variety of hardware components you can use to monitor or control a process or test a device. As long as you can connect the hardware to the computer and understand how it makes measurements, you can incorporate it into your system.

LabVIEW Measurements Manual

1-2

www.ni.com

2

Comparing DAQ Devices and

Special-Purpose Instruments for Data Acquisition

Measurement devices, such as general-purpose data acquisition (DAQ) devices and special-purpose instruments, are concerned with the acquisition, analysis, and presentation of measurements and other data you acquire.

Acquisition is the means by which physical signals, such as voltage, current, pressure, and temperature, are converted into digital formats and brought into the computer. Popular methods for acquiring data include plug-in DAQ and instrument devices, GPIB instruments, VXI instruments, and RS-232 instruments.

Data analysis transforms raw data into meaningful information. This can involve such things as curve fitting, statistical analysis, frequency response, or other numerical operations.

Data presentation is the means for communicating with your system in an intuitive, meaningful format.

Building a computer-based measurement system can be a daunting task. There is a wide variety of hardware components you can use to monitor or control a process or test a device. Should you build on traditional rack-and-stack IEEE 488 equipment or look to modular VXI-based solutions? Or maybe you should consider a PC-based plug-in board approach. Which type of hardware meets your needs today and will be around for the long run? What are the differences between all the choices? This chapter will describe several types of hardware solutions to help you answer these questions.

© National Instruments Corporation

2-1

LabVIEW Measurements Manual

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]