1. 首页
  2. 课程学习
  3. 专业指导
  4. labview 教程手册

labview 教程手册

上传者: 2021-05-03 20:47:23上传 PDF文件 2.32MB 热度 12次
Contents Student guide A. About This manual.............,....................................i B. Course Description C. Course D. Course conV entions......,...,xi esson Performance issues A.LabV IEW Multithreading and Multitasking Overview.....................1-2 B. The profile window C. Speeding up your vis....... 1-11 D. System Memory Issues............................................1-24 E. Optimizing VI Memory Use 1-27 esson 2 Data Management and synchronization A. Local and global variables 2-2 B.VI- Based globalV ariables... 2-8 C. Advanced Synchronization Techniques..............................2-12 D. Synchronization of Tasks 2-16 E. Notifiers∴..2-30 F. Queues 2-31 Lesson 3 Multithreading A. Multitasking, Multithreading, and Multiprocessing.....................3-2 B. Benefits of Multithreading 3-4 C. Defining and Allocating Threads in Lab VIEW D. When not to use multithreadedVIs∴....3-17 E. Operations that Require the User Interface Thread F. When Threads Need to Share Data..........................3-19 G. Multithreaded Execution and Memory Use..........................................3-20 H. Troubleshooting performance problems 3-21 Lesson 4 TCP/IP o National Instruments Corporation Lab view advanced Contents A. Computer networks ····.··:··· ··.···:·······:.······:··· 4-2 B. Introduction to tcPip 4-4 C. Client/Server modcl 4-8 D.TCP/PV Is and functions.......... ∴4-13 E. Lab view web server 4-24 Lesson 5 Labview data socket A. Components of Data Socket B. DataSocket vis... 5-5 C. Data Socket Publisher and Subscriber. ....................................................,.............5-6 D. Data Socket Server Manager E. Front panel dataSocket.........................................5-15 F, Variant functions 5-16 G. Bi-directional Communication. ...................5-23 H. Reading and writing data from Other Sources....,...........5-29 I. Creating Interactive Web Pages Using data Socket 5-31 Lesson 6 VI Server A. What is VI Server? B. VI Server programming model C.VI I Server functions....6-6 D. Strictly-Typed VI Refnums............................6-17 E. Remote Communication......... 6-23 . VI Server Configuration ........6-24 esson 7 Calling and creating Shared Libraries(dlls) A. what is a Shared LibrarV/DLL? 音垂D鲁,音·音垂音非非。音垂音音。·音音音。音音音垂音音音音音垂音着D音音 7-2 B. Call Library function.................................7-4 C. Debugging Call Library Function Errors 7-19 D. Building Dlls in Lab VIEw......... 鲁音鲁鲁垂音 7-20 E. Building Dlls on Other Operating Systems....................,.,,...7-24 esson 8 ActiveX Automation A. OLE and ActiveX 音音音自音非音音垂音音音自着音垂看。自看D垂 8-2 B. Activex features in labVIEw .8-4 C. Lab vIew activeX automation server 8-5 Lesson g LabvieW activeX automation client and activex container A. Lab view as an activeX automation client Lab vleW advance n. com Contents B. Programming model for Automation Functions ..................................................9-4 C. ActiveX variant to lab view data D. Automation with lab view and microsoft excel E. Remote automation.............................................9-1l F.ActiV eX Containers 9-13 Lesson 10 Error Trapping Techniques A. Error Trapping basics 10-2 B. Debugging Basics...,.,.,.,..,...,..,10-3 C. Memory Leaks.........................10-6 D. Multithreading errors 10-11 E. Using configuration files ...10-16 o National Instruments Corporation Lab view advanced Contents Lab vleW advance n. com Student guide A. About this manual This course manual teaches you how to monitor and optimize Lab VIEW performance and how to use advanced connectivity in your VIs. This course also expands upon good Lab vieW programming style issues from Lab view Basics I and II and discusses several programming guidelines Attending the course You can apply the full purchase price of this course kit towards the corresponding course registration fee if you register within 90 days of purchasing the kit. To register for a course or for course information please contact National Instruments North america Telephone: 5127940100 E-mail: custedu infoeni com(information requests only) 24-hour automated retrieval of course outlines latest course schedule Fax-on-Demand: 5124181111 Worldwidewebhttp://www.ni.com Other countries Please contact your local National Instruments branch office(the phone numbers are on the back cover) o National Instruments Corporation Lab view advanced Student guide Course disk The following table lists the contents of the Lab vIEW Advanced course disk(s) Directory Description Ex cerises Folder that contains all the vIs and support files needed to complete the exercises in this course Solution Folder that contains completed versions of the vis you build in the exercises for this course You Will Need the Following equipment Computer running Windows 9x/NT/2000/Me Lab view full Development System or Professional Development System MIO Series daQ board DAQ Signal Accessory and cable Optional--A spreadsheet application such as Microsoft Excel Optional--A word proccssing application such as microsoft Word, Notepad or wordpad Installing the Course Software To install the software used for this course. insert the lab view advanced course disk and run Modulel. exe. This installs the required files in the following directory structure All exercise vIs and associated support files are installed in the C: \Exercises\Lv Advanced directory All exercise solutions are installed in the C: Solutions\Lv Advanced director Lab vleW advance n. com Student Guide B Course Description This course is divided into lessons, each covering a topic or set of topics Each lesson consists of the following An introduction that describes the purpose of the lesson and what you arn 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 skill taught in the lesson Several exercises in this manaul use one of the following National Instruments hardware products a plug-in multifunction data acquisition daQ)devicc connccted DAQ Signal Accessory containing a temperature sensor, function generator, and LEds A GPIB interface connected to a ni Instrument simulator If you do not havc this hardware, you can still completc most of the exercieses. 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 at left. You also can substitue 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 the signal source, such as a function generator requiSites This course is designed for students that have at least the followin qualifications Familiarity with Microsoft Windows 9X/NT/2000/Me operating system Completed lab view basics i or familiarity with all the concepts contained therein Completed lab view basics Il or familiarity with all the concepts contained therein Approximately one year of Lab viEW development experience o National Instruments Corporation Lab view advanced Student guide C Course Goals This course teaches you to Understand basic performance and memory issues, including how the following vI elements use memory Local and global variables Control references Property nodes and invoke Nodes Learn how to use the memory monitoring tool Understand how multithreading works in Lab view and how to optimize multithreaded tasks in your vIs Use TCP/P functions and vis to communicate with other applications locally and ovcr a nctwork Use the vi Server functions to programmatically load and operate vis nd labV IEW itself Use data Socket yis and functions and the lab view data Socket server to read, write, and share data between VIs and other applications locally and over a network Undcrstand Lab vIeWs activeX automation capabilities and how automation clients access lab view's automation servers Understand lab view's activeX container capabilities Use the active x automation client vis to access an automation server such as microsoft excel Call shared libraries (dlls) from vIs Create shared libraries DLLs)from VIs Use better programming style to create more efficient vIs Course Non-Goals It is not the purpose of this course to do any of the following Teach lab view basics Teach programming theory Discuss every built-in LabvieW object, function, or library VI Develop a complete application for any particular student's needs Lab vleW advance n. com
下载地址
用户评论