LabWindows /CVI Test Executive Toolkit Reference Manual
[Pages:222]LabWindows?/CVITM Test Executive Toolkit
Reference Manual
LabWindows/CVI Test Executive Toolkit
July 1997 Edition Part Number 320863B-01
? Copyright 1994, 1997 National Instruments Corporation. All rights reserved.
Internet Support
E-mail:
support@
info@
FTP Site: ftp.
Web Address:
Bulletin Board Support
BBS United States: (512) 794-5422 BBS United Kingdom: 01635 551422 BBS France: 01 48 65 15 59
Fax-on-Demand Support
(512) 418-1111
Telephone Support (U.S.)
Tel: (512) 795-8248 Fax: (512) 794-5678
International Offices
Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Canada (Ontario) 905 785 0085, Canada (Qu?bec) 514 694 8521, Denmark 45 76 26 00, Finland 09 725 725 11, France 01 48 14 24 24, Germany 089 741 31 30, Hong Kong 2645 3186, Israel 03 5734815, Italy 02 413091, Japan 03 5472 2970, Korea 02 596 7456, Mexico 5 520 2635, Netherlands 0348 433466, Norway 32 84 84 00, Singapore 2265886, Spain 91 640 0085, Sweden 08 730 49 70, Switzerland 056 200 51 51, Taiwan 02 377 1200, U.K. 01635 523545
National Instruments Corporate Headquarters
6504 Bridge Point Parkway Austin, TX 78730-5039 Tel: (512) 794-0100
Important Information
Warranty
The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects in materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period. National Instruments does not warrant that the operation of the software shall be uninterrupted or error free.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty.
National Instruments believes that the information in this manual is accurate. The document has been carefully reviewed for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition. The reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it.
EXCEPT AS SPECIFIED HEREIN, NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. CUSTOMER'S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER. NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. This limitation of the liability of National Instruments will apply regardless of the form of action, whether in contract or tort, including negligence. Any action against National Instruments must be brought within one year after the cause of action accrues. National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided herein does not cover damages, defects, malfunctions, or service failures caused by owner's failure to follow the National Instruments installation, operation, or maintenance instructions; owner's modification of the product; owner's abuse, misuse, or negligent acts; and power failure or surges, fire, flood, accident, actions of third parties, or other events outside reasonable control.
Copyright
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
CVITM, TM, and National Instruments? are trademarks of National Instruments Corporation. Product and company names listed are trademarks or trade names of their respective companies.
WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS
National Instruments products are not designed with components and testing intended to ensure a level of reliability suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving medical or clinical treatment can create a potential for accidental injury caused by product failure, or by errors on the part of the user or application designer. Any use or application of National Instruments products for or involving medical or clinical treatment must be performed by properly trained and qualified medical personnel, and all traditional medical safeguards, equipment, and procedures that are appropriate in the particular situation to prevent serious injury or death should always continue to be used when National Instruments products are being used. National Instruments products are NOT intended to be a substitute for any form of established process, procedure, or equipment used to monitor or safeguard human health and safety in medical or clinical treatment.
Contents
About This Manual
Organization of This Manual ...........................................................................................xv Conventions Used in This Manual...................................................................................xvi Related Documentation....................................................................................................xvii Customer Communication ...............................................................................................xvii
Chapter 1 Introduction
Installation .......................................................................................................................1-1 Windows 3.x and Windows NT 3.x ..................................................................1-1 Windows 95 and NT..........................................................................................1-1 UNIX .................................................................................................................1-2 Updating Sequence Paths ..................................................................................1-2
Product Overview ............................................................................................................1-3 Execution Model..............................................................................................................1-3
Operating Levels ...............................................................................................1-5 Development Model ........................................................................................................1-6
Chapter 2 Getting Started
Operating a Test Sequence ..............................................................................................2-1 Starting the Test Executive................................................................................2-1 Running a Test Sequence ..................................................................................2-3 Changing to Technician Level ............................................................2-4 How to Run Single Tests and Use Single Pass Mode.........................2-5 Exiting The Test Executive.................................................................2-5
Examining a Test Function ..............................................................................................2-5 Creating and Editing a Test Sequence .............................................................................2-7
Setting Preconditions.........................................................................................2-11 Setting the Report File.......................................................................................2-13 Running the Sequence .......................................................................................2-15 Example Sequences .........................................................................................................2-15
? National Instruments Corporation
v
LabWindows/CVI Test Executive Toolkit
Contents
Chapter 3 Operating the Test Executive
Features of the Main Panel .............................................................................................. 3-2 File Menu .......................................................................................................... 3-2 Login.................................................................................................. 3-2 New..................................................................................................... 3-2 Open.................................................................................................... 3-2 Close ................................................................................................... 3-2 Save .................................................................................................... 3-2 Save Copy As... .................................................................................. 3-2 Print... ................................................................................................. 3-3 Exit...................................................................................................... 3-3 Report Menu ..................................................................................................... 3-3 View.................................................................................................... 3-3 Delete.................................................................................................. 3-4 Screen and File ................................................................................... 3-4 Sequence Menu ................................................................................................. 3-4 Edit Sequence... .................................................................................. 3-4 View Description... ............................................................................. 3-5 Generate Documentation... ................................................................. 3-5 Sequence Names................................................................................. 3-5 Run Menu.......................................................................................................... 3-5 Test UUT ............................................................................................ 3-5 Single Pass .......................................................................................... 3-5 Run Tests ............................................................................................ 3-5 Loop on Tests ..................................................................................... 3-5 Sequence Pre Test............................................................................... 3-6 Sequence Post Test ............................................................................. 3-6 Sequence Load Test............................................................................ 3-6 Sequence Unload Test ........................................................................ 3-6 Debug Menu...................................................................................................... 3-7 Toggle Breakpoint .............................................................................. 3-7 Break at First Test............................................................................... 3-7 Stop ..................................................................................................... 3-7 Continue.............................................................................................. 3-7 Step Over ............................................................................................ 3-7 Step Into.............................................................................................. 3-7 Set Next Test to Cursor ...................................................................... 3-8 Finish Sequence .................................................................................. 3-8 Terminate Execution........................................................................... 3-8 Normal ................................................................................................ 3-8 Force to Pass ....................................................................................... 3-8
LabWindows/CVI Test Executive Toolkit
vi
? National Instruments Corporation
Contents
Force to Fail ........................................................................................3-8 Skip .....................................................................................................3-8 Database Menu (tstsuite.prj only)......................................................................3-9 View Database... .................................................................................3-9 Delete Database...................................................................................3-9 Logging Enabled .................................................................................3-9 Options Menu ....................................................................................................3-9 Report... ............................................................................................... 3-9 Controls of the Front Panel ..............................................................................................3-10 Test UUT ...........................................................................................................3-10 Single Pass.........................................................................................................3-10 Abort .................................................................................................................. 3-10 Abort Loop ........................................................................................................3-10 Run Tests ...........................................................................................................3-10 Loop on Tests ....................................................................................................3-11 Stop If Test FAILs ..............................................................................3-11 Stop on Failure ....................................................................................3-11 Clear Test Status .................................................................................3-11 Indicators .........................................................................................................................3-12 Sequence Description ........................................................................................3-12 Sequence File.....................................................................................................3-12 Login Level .......................................................................................................3-12 Sequence Display.............................................................................................................3-12 Test Display .....................................................................................................................3-14 Result of Each Test............................................................................................3-15 Error Messages ..................................................................................................3-16 Status .................................................................................................................3-16 Operator Dialog Boxes ....................................................................................................3-16 Login.................................................................................................................. 3-17 UUT Information...............................................................................................3-17 Pass, Fail, and Abort Banners............................................................................3-18
Chapter 4 Creating Tests and Test Sequences
Writing Test Functions ....................................................................................................4-1 Test Data Structure ............................................................................................4-1 Test Error Structure ...........................................................................................4-3 Creating Setup and Cleanup Functions .............................................................4-4
Sample Test Templates ....................................................................................................4-4 Using the Sequence Editor...............................................................................................4-4 Test Sequence Overview .................................................................................................4-5
Controls for Editing Tests .................................................................................4-6
? National Instruments Corporation
vii
LabWindows/CVI Test Executive Toolkit
Contents
Basic Operations for Test Editing..................................................................... 4-6 Adding a Test...................................................................................... 4-6 Modifying a Test ................................................................................ 4-7 Copying a Test.................................................................................... 4-7 Deleting a Test.................................................................................... 4-7
Sequence Editor Controls and Indicators ........................................................................ 4-8 Cut..................................................................................................................... 4-8 Copy .................................................................................................................. 4-8 Paste .................................................................................................................. 4-8 New Test ........................................................................................................... 4-8 New Subseq....................................................................................................... 4-9 New Goto .......................................................................................................... 4-10 Goto Target......................................................................................... 4-10 Preconditions ...................................................................................... 4-10 Edit Paths... ...................................................................................................... 4-11 Current Paths in Sequence .................................................................. 4-11 Update Selected File... ........................................................................ 4-11 Pathnames after Changes.................................................................... 4-11 Database ............................................................................................................ 4-12 Enable Saving Results to Database .................................................... 4-12 Connection String (Data Source)........................................................ 4-12 Database.............................................................................................. 4-13 Sequence Results ................................................................................ 4-13 Test Results......................................................................................... 4-13 Create Tables ...................................................................................... 4-13 OK..................................................................................................................... 4-14 Cancel................................................................................................................ 4-14
Test Attributes Area ........................................................................................................ 4-14 Test Name ......................................................................................................... 4-14 Function Name.................................................................................................. 4-15 File Name.......................................................................................................... 4-15 Limit Specification............................................................................................ 4-15 Input Buffer....................................................................................................... 4-16 Description ........................................................................................................ 4-17 Preconditions..................................................................................................... 4-17 Run Options ...................................................................................................... 4-17 Run Mode ........................................................................................... 4-18 Fail Action .......................................................................................... 4-18 Pass Action ......................................................................................... 4-19 Max. Loops ......................................................................................... 4-19 Setup/Cleanup ................................................................................................... 4-19 Setup Function .................................................................................................. 4-20 Cleanup Function .............................................................................................. 4-20
LabWindows/CVI Test Executive Toolkit
viii
? National Instruments Corporation
Contents
Advanced ........................................................................................................... 4-20 Load Mode ..........................................................................................4-21 Suppress Reporting for Test................................................................4-21 Suppress Database for Test .................................................................4-21 Subsequence Report............................................................................4-21 Subsequence Database ........................................................................4-21
Sequence Attributes .........................................................................................................4-22 Load Mode.........................................................................................................4-22 Description ........................................................................................................4-22 Setup/Cleanup.................................................................................................... 4-23 Report... .............................................................................................................4-24
Editing Preconditions.......................................................................................................4-26 Effect of Preconditions and Run Mode on Test Flow .....................................................4-28
Chapter 5 Modifying the Test Executive
Test Executive Overview.................................................................................................5-1 Test Executive Projects .....................................................................................5-1 Test Executive Engine.......................................................................................5-2 System Callbacks ................................................................................5-2 Process Model .....................................................................................5-5
Organization of Source Files ...........................................................................................5-7 Source Files for the Test Executive Projects.....................................................5-8 Source Files for the Test Executive Engine ......................................................5-11 Requirements for Database Connectivity..........................................................5-13
Common Modifications ...................................................................................................5-14 Login.................................................................................................................. 5-14 Login Dialog on Startup......................................................................5-14 Default Login Level and Name...........................................................5-14 Changing Passwords ...........................................................................5-15 Default Directory...............................................................................................5-15 Changing Pass, Fail, and Abort Banners ...........................................................5-15 Changing the UUT Serial Number Dialog ........................................................5-15 Changing the Test Report..................................................................................5-15 Use of the "hook" Parameter.............................................................................5-17 Lock Out Other Applications ............................................................................5-18
Using External Compilers................................................................................................5-18 Rebuilding the Test Executive Engine Library...................................5-18 User Interface Callback and LoadExternalModule Objects ...............5-18 Toolbox and Inifile Instrument Drivers ..............................................5-19
? National Instruments Corporation
ix
LabWindows/CVI Test Executive Toolkit
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- chronic venous insufficiency pdf
- labwindows cvi test executive toolkit reference manual
- oklahoma department of agriculture food forestry
- certified ventilation inspector cvi certification exam
- please join us for cvi s 11th annual echocardiography update
- core values indextm the core values handbook
- west virginia import requirements
- cvi s 8th annual
- certificates of veterinary inspection cvis
- importation of companion animals
Related searches
- cvi test free
- microsoft vba reference manual pdf
- numpy reference manual pdf
- icd 10 pcs reference manual 2019
- verilog hdl reference manual pdf
- systemverilog language reference manual pdf
- verilog reference manual pdf
- python reference manual pdf
- python language reference manual pdf
- sql language reference manual pdf
- aapd reference manual pdf
- aapd reference manual trauma