[ Pobierz całość w formacie PDF ]
//-->CANAutomotive Diagnostic Command Set User ManualAutomotive Diagnostic Command Set User ManualDecember 2009372139D-01SupportWorldwide Technical Support and Product Informationni.comNational Instruments Corporate Headquarters11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100Worldwide OfficesAustralia 1800 300 800, Austria 43 662 457990-0, Belgium 32 (0) 2 757 0020, Brazil 55 11 3262 3599,Canada 800 433 3488, China 86 21 5050 9800, Czech Republic 420 224 235 774, Denmark 45 45 76 26 00,Finland 358 (0) 9 725 72511, France 01 57 66 24 24, Germany 49 89 7413130, India 91 80 41190000,Israel 972 3 6393737, Italy 39 02 41309277, Japan 0120-527196, Korea 82 02 3451 3400,Lebanon 961 (0) 1 33 28 28, Malaysia 1800 887710, Mexico 01 800 010 0793, Netherlands 31 (0) 348 433 466,New Zealand 0800 553 322, Norway 47 (0) 66 90 76 60, Poland 48 22 328 90 10, Portugal 351 210 311 210,Russia 7 495 783 6851, Singapore 1800 226 5886, Slovenia 386 3 425 42 00, South Africa 27 0 11 805 8197,Spain 34 91 640 0085, Sweden 46 (0) 8 587 895 00, Switzerland 41 56 2005151, Taiwan 886 02 2377 2222,Thailand 662 278 6777, Turkey 90 212 279 3031, United Kingdom 44 (0) 1635 523545For further support information, refer to theTechnical Support and Professional Servicesappendix. To commenton National Instruments documentation, refer to the National Instruments Web site atni.com/infoand enterthe info codefeedback.©2007–2009 National Instruments Corporation. All rights reserved.Important InformationWarrantyThe media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defectsin materials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. NationalInstruments will, at its option, repair or replace software media that do not execute programming instructions if National Instruments receivesnotice of such defects during the warranty period. National Instruments does not warrant that the operation of the software shall beuninterrupted 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 anyequipment will be accepted for warranty work. National Instruments will pay the shipping costs of returning to the owner parts which are covered bywarranty.National Instruments believes that the information in this document is accurate. The document has been carefully reviewed for technical accuracy. Inthe event that technical or typographical errors exist, National Instruments reserves the right to make changes to subsequent editions of this documentwithout prior notice to holders of this edition. The reader should consult National Instruments if errors are suspected. In no event shall NationalInstruments be liable for any damages arising out of or related to this document or the information contained in it.EXCEPT AS SPECIFIED HEREIN, NATIONALINSTRUMENTS MAKES NO WARRANTIES,EXPRESS OR IMPLIED,AND SPECIFICALLY DISCLAIMS ANY WARRANTY OFMERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. CUSTOMER’S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OFNATIONALINSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER. NATIONALINSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTINGFROM LOSS OF DATA,PROFITS,USE OF PRODUCTS,OR INCIDENTAL OR CONSEQUENTIAL DAMAGES,EVEN IF ADVISED OF THE POSSIBILITY THEREOF. This limitation ofthe liability of National Instruments will apply regardless of the form of action, whether in contract or tort, including negligence. Any action againstNational Instruments must be brought within one year after the cause of action accrues. National Instruments shall not be liable for any delay inperformance due to causes beyond its reasonable control. The warranty provided herein does not cover damages, defects, malfunctions, or servicefailures caused by owner’s failure to follow the National Instruments installation, operation, or maintenance instructions; owner’s modification of theproduct; owner’s abuse, misuse, or negligent acts; and power failure or surges, fire, flood, accident, actions of third parties, or other events outsidereasonable control.CopyrightUnder 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 NationalInstruments Corporation.National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and otherintellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software onlyto reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.TrademarksCVI, National Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer to theTerms of Usesectiononni.com/legalfor more information about National Instruments trademarks.The mark LabWindows is used under a license from Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation in the UnitedStates and other countries. Other product and company names mentioned herein are trademarks or trade names of their respective companies.Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments and have no agency,partnership, or joint-venture relationship with National Instruments.PatentsFor patents covering National Instruments products/technology, refer to the appropriate location:Help»Patentsin your software,thepatents.txtfile on your media, or theNational Instruments Patent Noticeatni.com/patents.WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS(1) NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OFRELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS INANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANTINJURY TO A HUMAN.(2) IN ANY APPLICATION, INCLUDING THE ABOVE, RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BEIMPAIRED BY ADVERSE FACTORS, INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY,COMPUTER HARDWARE MALFUNCTIONS, COMPUTER OPERATING SYSTEM SOFTWARE FITNESS, FITNESS OF COMPILERSAND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION, INSTALLATION ERRORS, SOFTWARE AND HARDWARECOMPATIBILITY PROBLEMS, MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES,TRANSIENT FAILURES OF ELECTRONIC SYSTEMS (HARDWARE AND/OR SOFTWARE), UNANTICIPATED USES OR MISUSES, ORERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER (ADVERSE FACTORS SUCH AS THESE ARE HEREAFTERCOLLECTIVELY TERMED “SYSTEM FAILURES”). ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OFHARM TO PROPERTY OR PERSONS (INCLUDING THE RISK OF BODILY INJURY AND DEATH) SHOULD NOT BE RELIANT SOLELYUPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE. TO AVOID DAMAGE, INJURY, OR DEATH,THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES,INCLUDING BUT NOT LIMITED TO BACK-UP OR SHUT DOWN MECHANISMS. BECAUSE EACH END-USER SYSTEM ISCUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS' TESTING PLATFORMS AND BECAUSE A USER OR APPLICATIONDESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOTEVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS, THE USER OR APPLICATION DESIGNER IS ULTIMATELYRESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVERNATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION, INCLUDING, WITHOUTLIMITATION, THE APPROPRIATE DESIGN, PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.ComplianceElectromagnetic Compatibility InformationThis hardware has been tested and found to comply with the applicable regulatory requirements and limits for electromagneticcompatibility (EMC) as indicated in the hardware’s Declaration of Conformity (DoC)1. These requirements and limits aredesigned to provide reasonable protection against harmful interference when the hardware is operated in the intendedelectromagnetic environment. In special cases, for example when either highly sensitive or noisy hardware is being used in closeproximity, additional mitigation measures may have to be employed to minimize the potential for electromagnetic interference.While this hardware is compliant with the applicable regulatory EMC requirements, there is no guarantee that interference willnot occur in a particular installation. To minimize the potential for the hardware to cause interference to radio and televisionreception or to experience unacceptable performance degradation, install and use this hardware in strict accordance with theinstructions in the hardware documentation and the DoC1.If this hardware does cause interference with licensed radio communications services or other nearby electronics, which can bedetermined by turning the hardware off and on, you are encouraged to try to correct the interference by one or more of thefollowing measures:• Reorient the antenna of the receiver (the device suffering interference).• Relocate the transmitter (the device generating interference) with respect to the receiver.• Plug the transmitter into a different outlet so that the transmitter and the receiver are on different branch circuits.Some hardware may require the use of a metal, shielded enclosure (windowless version) to meet the EMC requirements forspecial EMC environments such as, for marine use or in heavy industrial areas. Refer to the hardware’s user documentation andthe DoC1for product installation requirements.When the hardware is connected to a test object or to test leads, the system may become more sensitive to disturbances or maycause interference in the local electromagnetic environment.Operation of this hardware in a residential area is likely to cause harmful interference. Users are required to correct theinterference at their own expense or cease operation of the hardware.Changes or modifications not expressly approved by National Instruments could void the user’s right to operate the hardwareunder the local regulatory rules.1The Declaration of Conformity (DoC) contains important EMC compliance information and instructions for the user orinstaller. To obtain the DoC for this product, visitni.com/certification, search by model number or product line,and click the appropriate link in the Certification column.ContentsAbout This ManualConventions ...................................................................................................................xiRelated Documentation..................................................................................................xiiChapter 1IntroductionKWP2000 (Key Word Protocol 2000)...........................................................................1-1Transport Protocol ...........................................................................................1-2Diagnostic Services .........................................................................................1-2Diagnostic Service Format ..............................................................................1-2Connect/Disconnect.........................................................................................1-3GetSeed/Unlock...............................................................................................1-3Read/Write Memory........................................................................................1-3Measurements..................................................................................................1-4Diagnostic Trouble Codes ...............................................................................1-4Input/Output Control .......................................................................................1-4Remote Activation of a Routine ......................................................................1-4External References.........................................................................................1-4UDS (Unified Diagnostic Services)...............................................................................1-5Diagnostic Services .........................................................................................1-5Diagnostic Service Format ..............................................................................1-5External References.........................................................................................1-6OBD (On-Board Diagnostic) .........................................................................................1-6Chapter 2Installation and ConfigurationInstallation .....................................................................................................................2-1LabVIEW Real-Time (RT) Configuration ....................................................................2-2Hardware and Software Requirements ..........................................................................2-3Chapter 3Application DevelopmentChoosing the Programming Language ..........................................................................3-1LabVIEW ........................................................................................................3-1LabWindows/CVI............................................................................................3-1Visual C++ 6 ...................................................................................................3-2Other Programming Languages.......................................................................3-3©National Instruments CorporationvAutomotive Diagnostic Command Set User Manual [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • grabaz.htw.pl
  •