Sie sind auf Seite 1von 5

A.

About This Course


This course teaches you how to use LabVIEW to develop test and measurement, data acquisition,
instrument control, datalogging, measurement analysis, and report generation applications. This
course assumes that you are familiar with Windows, Mac OS, or UNIX and that you have
experience writing algorithms in the form of flowcharts or block diagrams.
The course is divided into lessons, each covering a topic or a set of topics. Each lesson consists of
the following:
An introduction that describes the purpose of the lesson and what you will learn
A description of the topics in the lesson
A set of exercises to reinforce those topics. Some lessons include optional and challenge
exercise sections or a set of additional exercises to complete if time permits.
A summary that outlines important concepts and skills taught in the lesson
Several exercises in this manual use one of the following National Instruments hardware products:
A plug-in multifunction data acquisition (DAQ) device connected to a DAQ Signal
Accessory containing a temperature sensor, function generator, and LEDs
A GPIB interface connected to an NI Instrument Simulator
If you do not have this hardware, you still can complete most of the exercises. Be sure to use the
demo versions of the VIs when you are working through exercises. Exercises that explicitly require
hardware are indicated with an icon, shown in Figure 1. You also can substitute other hardware for
those previously mentioned. For example, you can use a GPIB instrument in place of the NI
Instrument Simulator, or another National Instruments DAQ device connected to a signal source,
such as a function generator.

B. What You Need to Get Started


Before you use this course manual, ensure you have all the following items:
(Windows) Windows 98 or later installed on your computer; (Mac OS) System 10.2 or later
for Mac OS X, System 9.1 or later for OS 9.x or earlier; (UNIX) Sun workstation running
Solaris 2.5.1 or later and X Window System server, such as OpenWindows, CDE, or X11R6,
or a PC running Linux kernel 2.0.x or later for Intel x86 processors
(Windows) Multifunction DAQ device configured as device 1 using Measurement &
Automation Explorer (MAX)
DAQ Signal Accessory, wires, and cable
GPIB interface
NI Instrument Simulator and power supply
LabVIEW Full or Professional Development System 7.0 or later.
This course assumes you are using the default installation of LabVIEW. If you have changed the
palette views from the default settings, some palette paths described in the course may not match

your settings. To reset palette views to LabVIEW defaults, select ToolsOptions and select
Controls/Functions Palettes from the top pull-down menu. Set Palette View to Express and set
Format to Standard. Click the OK button to apply the changes and close the dialog box.

A serial cable
A GPIB cable
(Optional) A word processing application such as Notepad or WordPad
The following files provided

D. Course Goals and Non-Goals


This course prepares you to do the following:

Understand front panels, block diagrams, icons, and connector panes


Use the programming structures and data types that exist in LabVIEW
Use various editing and debugging techniques
Create and save VIs so you can use them as subVIs
Display and log data
Create applications that use plug-in DAQ devices
Create applications that use serial port and GPIB instruments

This course does not describe any of the following:


Every built-in VI, function, or object; refer to the LabVIEW Help for more information
about LabVIEW features not described in this course
Analog-to-digital (A/D) theory
Operation of the serial port
Operation of the GPIB bus
Developing an instrument driver
Developing a complete application for any student in the class; refer to the NI Example
Finder, available by selecting HelpFind Examples, for example VIs you can use and
incorporate into VIs you create

A. O ovom teaju
Ovaj teaj e vas nauiti kako koristiti LabVIEW za izradu aplikacija za ispitivanje i mjerenje,
prikupljanje podataka, upravljanje instrumentima, izradu zapisnika, analizu mjerenje i generiranje
izvjea o mjerenju. Podrazumijeva se da ste upoznati sa sustavom Windows, Mac OS, ili UNIX i
da imate iskustva pisanja algoritama u obliku dijagramima ili blok dijagrama.
Teaj je podijeljen u nastavne cjeline (lekcije) i svaka pokriva temu ili skup tema. Svaki sat se
sastoji od sljedeeg:
An Uvod koji opisuje svrhu lekcije i to ete nauiti
A description of the topics in the lesson

A set of exercises to reinforce those topics. Some lessons include optional and challenge
exercise sections or a set of additional exercises to complete if time permits.
A summary that outlines important concepts and skills taught in the lesson
Several exercises in this manual use one of the following National Instruments hardware products:
A plug-in multifunction data acquisition (DAQ) device connected to a DAQ Signal
Accessory containing a temperature sensor, function generator, and LEDs
A GPIB interface connected to an NI Instrument Simulator
If you do not have this hardware, you still can complete most of the exercises. Be sure to use the
demo versions of the VIs when you are working through exercises. Exercises that explicitly require
hardware are indicated with an icon, shown in Figure 1. You also can substitute other hardware for
those previously mentioned. For example, you can use a GPIB instrument in place of the NI
Instrument Simulator, or another National Instruments DAQ device connected to a signal source,
such as a function generator.

B. What You Need to Get Started


Before you use this course manual, ensure you have all the following items:
(Windows) Windows 98 or later installed on your computer; (Mac OS) System 10.2 or later
for Mac OS X, System 9.1 or later for OS 9.x or earlier; (UNIX) Sun workstation running
Solaris 2.5.1 or later and X Window System server, such as OpenWindows, CDE, or X11R6,
or a PC running Linux kernel 2.0.x or later for Intel x86 processors
(Windows) Multifunction DAQ device configured as device 1 using Measurement &
Automation Explorer (MAX)
DAQ Signal Accessory, wires, and cable
GPIB interface
NI Instrument Simulator and power supply
LabVIEW Full or Professional Development System 7.0 or later.
This course assumes you are using the default installation of LabVIEW. If you have changed the
palette views from the default settings, some palette paths described in the course may not match
your settings. To reset palette views to LabVIEW defaults, select ToolsOptions and select
Controls/Functions Palettes from the top pull-down menu. Set Palette View to Express and set
Format to Standard. Click the OK button to apply the changes and close the dialog box.

A serial cable
A GPIB cable
(Optional) A word processing application such as Notepad or WordPad
The following files provided

D. Course Goals and Non-Goals


This course prepares you to do the following:

Understand front panels, block diagrams, icons, and connector panes


Use the programming structures and data types that exist in LabVIEW
Use various editing and debugging techniques
Create and save VIs so you can use them as subVIs
Display and log data
Create applications that use plug-in DAQ devices
Create applications that use serial port and GPIB instruments

This course does not describe any of the following:


Every built-in VI, function, or object; refer to the LabVIEW Help for more information
about LabVIEW features not described in this course
Analog-to-digital (A/D) theory
Operation of the serial port
Operation of the GPIB bus
Developing an instrument driver
Developing a complete application for any student in the class; refer to the NI Example
Finder, available by selecting HelpFind Examples, for example VIs you can use and
incorporate into VIs you create

Opis tema u lekciji


Set vjebi za jaanje tim temama. Neke lekcije ukljuuju dodatne i izazov vjebe dijelove ili skup
dodatnih vjebi zavriti, ako vrijeme dopusti.
Saetak koji ocrtava vane pojmove i vjetine koje ste uili u lekciji
Nekoliko vjebe u ovom priruniku koritenje jedne od sljedeih National Instruments hardverske
proizvode:
Plug-in stjecanja viefunkcijski podataka (DAQ) ureaj spojen na DAQ Signal pribor sadri senzor
temperature, funkcija generatora, te LED
GPIB suelje spojen na NI instrumenata Simulator
Ako nemate taj hardver, jo uvijek moete dovriti veina vjebi. Budite sigurni da koristite demo
verzije VIS kada radite kroz vjebe. Vjebe koje se izriito zahtijevaju hardver oznaene su
ikonom, prikazan na slici 1. Takoer moe zamjena za drugi hardver i prije navedeno. Na primjer,
moete koristiti GPIB instrument u mjestu NI instrumenata Simulator, ili neki drugi nacionalni
instrumenti DAQ ureaj spojen na izvor signala, kao to je funkcija generatora.
B. to je potrebno za poetak

Prije nego ponete primjenjivati ovaj teaj prirunik, osigurati da imate sve sljedee stavke:
(Windows) Windows 98 ili noviji instaliran na vaem raunalu; (Mac OS) sustava 10.2 ili noviji za
Mac OS X, sustav 9.1 ili noviji za OS 9.x ili ranije; (UNIX) Sun radne stanice vrti Solaris 2.5.1 ili
noviji i X Window System posluitelj, kao to OpenWindows, CDE, ili X11R6 ili raunalo s Linux
kernel 2.0.x ili noviji za Intel x86 procesora
(Windows) vienamjenski DAQ ureaj konfiguriran kao ureaj za 1 upotrebom mjerenje i
automatizaciju Explorer (MAX)
DAQ signala pribor, ice i kabela
GPIB suelje
NI instrumenata simulator i napajanje
LabVIEW Cijeli ili profesionalni razvoj sustava 7.0 ili noviji.
Ovaj teaj pretpostavlja da koristite zadanu instalaciju LabVIEW. Ako ste promijenili pogled palete
iz zadane postavke, neke palete staze opisane u tijeku ne moe uskladiti svoje postavke. Za
resetiranje pogled paletu LabVIEW zadane, odaberite Alati Opcije i odaberite kontrole / Funkcije
paleta iz padajueg izbornika vrh. Postavite Palette View izraziti i postaviti format na Standard.
Kliknite na gumb OK za primjenu izmjena i zatvorite dijaloki okvir.
Serijski kabel
GPIB kabel
(Fakultativno) Rije aplikacija za obradu, kao to su Notepad ili WordPad
Sljedee datoteke koje pruaju
D. kolegija Ciljevi i ne-gola
Ovaj teaj priprema vas uiniti sljedee:
Razumjeti prednje ploe, blok dijagrame, ikone, i prikljuke stakla
Pomou programske strukture i vrste podataka koji postoje u LabVIEW
Koristite razliite ureivanje i ispravljanje pogreaka tehnika
Stvaranje i spremanje Vis, tako da ih moete koristiti kao subVIs
Display i prijaviti podatke
Napravite aplikacija koje koriste plug-in DAQ ureaja
Napravite aplikacija koje koriste serijski port i GPIB instrumente
Ovaj teaj ne opisuje neto od sljedeeg:
Svaki ugraeni VI, funkcije, ili predmeta; odnose se na LabVIEW Pomo za vie informacija o
LabVIEW znaajke koje nisu opisane u ovom kolegiju
Analogno-digitalni (A / D) teorija
Rad na serijski port
Rad GPIB autobusom
Razvijanje voza instrumentima
Razvijanje potpuni zahtjev za bilo koji student u klasi; odnose se na NI primjera Finder, dostupni
odabirom Pomo nai primjere, primjerice Vis moete koristiti i ukljui se u vis te stvoriti