LabVIEW Basics 2 for 6.1.pdf
(
1931 KB
)
Pobierz
152297008 UNPDF
LabVIEW
TM
Basics II
Development
Course Manual
Course Software Version 6.1
December 2001 Edition
Part Number 320629J-01
LabVIEW Development Course Manual
Copyright
© 1993, 2001 National Instruments Corporation. All rights reserved.
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical, including
photocopying, recording, storing in an information retrieval system, or translating, in whole or in part, without the prior written
consent of National Instruments Corporation.
Trademarks
LabVIEW™, National Instruments™, and ni.com™ are trademarks of National Instruments Corporation.
Product and company names mentioned herein are trademarks or trade names of their respective companies.
Patents
For patents covering National Instruments products, refer to the appropriate location:
Help»Patents
in your software,
the
patents.txt
file on your CD, or
ni.com/legal/patents
.
Worldwide Technical Support and Product Information
ni.com
National Instruments Corporate Headquarters
11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100
Worldwide Offices
Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Brazil 011 284 5011, Canada (Calgary) 403 274 9391,
Canada (Montreal) 514 288 5722, Canada (Ottawa) 613 233 5949, Canada (Québec) 514 694 8521,
Canada (Toronto) 905 785 0085, China (Shanghai) 021 6555 7838, China (ShenZhen) 0755 3904939, Czech
Republic 02 2423 5774, Denmark 45 76 26 00, Finland 09 725 725 11, France 01 48 14 24 24, Germany 089 741 31 30,
Greece 30 1 42 96 427, Hong Kong 2645 3186, India 91805275406, Israel 03 6120092, Italy 02 413091, Japan 03 5472 2970,
Korea 02 596 7456, Malaysia 603 9596711, Mexico 001 800 010 0793, Netherlands 0348 433466, New Zealand 09 914 0488,
Norway 32 27 73 00, Poland 0 22 528 94 06, Portugal 351 1 726 9011, Russia 095 2387139, Singapore 2265886,
Slovenia 386 3 425 4200, South Africa 11 805 8197, Spain 91 640 0085, Sweden 08 587 895 00, Switzerland 056 200 51 51,
Taiwan 02 2528 7227, United Kingdom 01635 523545
Contents
Student Guide
A. About This Manual ...............................................................................................v
B. What You Need to Get Started .............................................................................vi
C. Installing the Course Software..............................................................................vii
D. Course Goals and Non-Goals ...............................................................................viii
E. Course Conventions ..............................................................................................ix
Lesson 1
Planning LabVIEW Applications
A. The Planning and Design Process.........................................................................1-2
B. The Implementation Process.................................................................................1-3
C. Error Handling Techniques...................................................................................1-4
D. LabVIEW Programming Architectures ................................................................1-9
E. VI Templates.........................................................................................................1-20
Lesson 2
Front Panel Design
A. Basic User Interface Issues ...................................................................................2-2
B. Using Boolean Clusters as Menus ........................................................................2-13
C. Viewing and Controlling Front Panels Remotely.................................................2-22
D. Viewing and Controlling Front Panels in LabVIEW............................................2-24
E. Viewing and Controlling Front Panels from a Web Browser...............................2-28
F. Property Nodes .....................................................................................................2-32
G. Graph and Chart Properties...................................................................................2-44
H. Control References ...............................................................................................2-53
I. LabVIEW Run-Time Menus (Optional)...............................................................2-57
J. Intensity Plots (Optional)......................................................................................2-63
Lesson 3
Block Diagram Design
A. Hierarchical Design ..............................................................................................3-2
B. Dataflow................................................................................................................3-3
C. Use Good Wiring Techniques...............................................................................3-4
D. Error Handling ......................................................................................................3-7
E. Memory and Speed Optimization .........................................................................3-11
©
National Instruments Corporation
iii
LabVIEW Development Course Manual
Contents
F. Using Comments in Block Diagram .....................................................................3-13
G. Monitoring VI Performance Using the Profile Window ......................................3-14
H. Block Diagram Checklist......................................................................................3-18
Lesson 4
Data Management Techniques
A. Data Management Techniques in LabVIEW........................................................4-2
B. Local Variables .....................................................................................................4-3
C. Global Variables ...................................................................................................4-12
D. Using Local and Global Variables Carefully........................................................4-20
E. DataSocket ............................................................................................................4-23
Lesson 5
Advanced File I/O Techniques
A. Working with Byte Stream Files ..........................................................................5-2
B. LabVIEW Datalog Files .......................................................................................5-11
C. Disk Streaming .....................................................................................................5-19
Lesson 6
Project Management and Presentation
A. Assembling a LabVIEW Application ...................................................................6-2
B. LabVIEW Features for Project Development.......................................................6-15
C. LabVIEW Tools for Project Management............................................................6-20
D. Report Generation (Optional) ...............................................................................6-30
Appendix A
Performance
A. Monitoring VI Performance Using the Profile Window ......................................A-2
B. Speeding Up Your VIs..........................................................................................A-4
C. Optimizing VI Memory Use .................................................................................A-9
Appendix B
Additional Resources
A. Polymorphic VIs ...................................................................................................B-2
B. Custom Graphics in LabVIEW.............................................................................B-6
C. LabVIEW Web Server..........................................................................................B-13
D. Additional Information .........................................................................................B-19
E. ASCII Character Code Equivalents Table ............................................................B-21
LabVIEW Development Course Manual
iv
ni.com
Student Guide
Thank you for purchasing the
LabVIEW Basics II: Development
course kit.
You can begin developing an application soon after you complete the
exercises in this manual. This course manual and the accompanying
software are used in the two-day, hands-on
LabVIEW Basics II:
Development
course. You can apply the full purchase of this course kit
towards the corresponding course registration fee if you register within 90
days of purchasing the kit. Visit the Customer Education section of
ni.com
for online course schedules, syllabi, training centers, and class registration.
A. About This Manual
This course manual teaches you how to use LabVIEW to develop test
and measurement, data acquisition, instrument control, datalogging,
measurement analysis, and report generation applications. This course
manual assumes that you are familiar with Windows, Macintosh, or UNIX,
that you have experience writing algorithms in the form of flowcharts or
block diagrams, and that you have taken the
LabVIEW Basics I:
Introduction
course or that you have equivalent experience.
The course manual 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
• 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 a plug-in multifunction data acquisition
(DAQ) device connected to a DAQ Signal Accessory containing a
temperature sensor, function generator, and LEDs.
©
National Instruments Corporation
v
LabVIEW Development Course Manual
Plik z chomika:
darekisap
Inne pliki z tego folderu:
LABVIEW kurs pl.rar
(22898 KB)
LabVIEW Intermediate I Successful Development Practices Course Manual.pdf
(2527 KB)
LabVIEW Advanced I Course Manual.pdf
(2505 KB)
Prentice_Hall_-_The_LabVIEW_Style_book.pdf
(12973 KB)
LabVIEW Basics 2 for 6.1.pdf
(1931 KB)
Inne foldery tego chomika:
Aucotec Elcad 7.4
Auto CAD 2013 PL
AutoCad
AutoCad 2012 PL 32-bit
AUTOCOM 2012 v3 ( PL )( Crack )
Zgłoś jeśli
naruszono regulamin