Résumé du contenu de la page N° 1
CAN
Getting Started with Your CAN
™
Hardware and the NI-CAN
Software for Windows NT
Getting Started with CAN for Windows NT
January 1998 Edition
Part Number 321372C-01
Résumé du contenu de la page N° 2
Internet Support E-mail: support@natinst.com FTP Site: ftp.natinst.com Web Address: http://www.natinst.com 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 (USA) 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, Brazil 011 288 3336, Canada (Ontario) 905 785 0085, Canada (Québec) 514 694 8521, Denmark
Résumé du contenu de la page N° 3
Important Information Warranty The CAN hardware is warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor. The media on which you receive National Instruments software are warranted not to fail to execute programming instruction
Résumé du contenu de la page N° 4
FCC/DOC Radio Frequency Interference Class A Compliance This equipment generates and uses radio frequency energy and, if not installed and used in strict accordance with the instructions in this manual, may cause interference to radio and television reception. Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department of Communications (DOC). This equipment has been tested and found to comply with the following two regulatory a
Résumé du contenu de la page N° 5
Contents About This Manual How to Use the Manual Set .............................................................................................ix Organization of This Manual...........................................................................................x Conventions Used in This Manual...................................................................................xi Related Documentation.............................................................................................
Résumé du contenu de la page N° 6
Contents Appendix A Uninstall the Hardware and Software Uninstalling the CAN Hardware from Windows NT...................................................... A-1 Uninstalling the NI-CAN Software from Windows NT.................................................. A-1 Appendix B Cabling Requirements Connector Pinouts ........................................................................................................... B-1 Power Supply Information for the CAN Ports ................................
Résumé du contenu de la page N° 7
Contents Figure 2-4. Inserting the PCMCIA-CAN...................................................................2-5 Figure 2-5. CAN Interface That Is Working Properly ...............................................2-7 Figure 2-6. Resources Dialog Box for the PCMCIA-CAN .......................................2-7 Figure 2-7. NI-CAN Settings for the PCI-CAN/2 .....................................................2-8 Figure 3-1. NI-CAN Diagnostic Utility after Testing.................................
Résumé du contenu de la page N° 8
About This Manual This manual contains instructions to help you install and configure the National Instruments CAN hardware and the NI-CAN software for Windows NT. The National Instruments CAN hardware supported under Windows NT includes the PCI-CAN, PCI-CAN/2, PCMCIA-CAN, and PCMCIA-CAN/2. This manual assumes that you are already familiar with Windows NT. How to Use the Manual Set Installation and Getting Started Configuration Manual Novice Experienced Users Users NI-CAN Programmer NI-CAN R
Résumé du contenu de la page N° 9
About This Manual Use the NI-CAN Programmer Reference Manual for Win32 for specific information about each NI-CAN function and object, such as format, parameters, and possible errors. Organization of This Manual This manual is organized as follows: • Chapter 1, Introduction, explains how to use this manual, lists what you need to get started and optional equipment you can order, and briefly describes the CAN hardware and the NI-CAN software for Windows NT. • Chapter 2, Installation and Conf
Résumé du contenu de la page N° 10
About This Manual Conventions Used in This Manual The following conventions are used in this manual: » The » symbol leads you through nested menu items and dialog box options to a final action. The sequence File»Page Setup»Options»Substitute Fonts directs you to pull down the File menu, select the Page Setup item, select Options, and finally select the Substitute Fonts option from the last dialog box. This icon to the left of bold italicized text denotes a note, which alerts you to importan
Résumé du contenu de la page N° 11
About This Manual Related Documentation The following documents contain information that you may find helpful as you read this manual: • ANSI/ISO Standard 11898-1993, Road Vehicles—Interchange of Digital Information—Controller Area Network (CAN) for High-Speed Communication • CAN Specification Version 2.0, 1991, Robert Bosch Gmbh., Postfach 500, D-7000 Stuttgart 1 • CiA Draft Standard 102, Version 2.0, CAN Physical Layer for Industrial Applications • DeviceNet Specification, Volume 1, Versi
Résumé du contenu de la page N° 12
1 Introduction This chapter explains how to use this manual, lists what you need to get started and optional equipment you can order, and briefly describes the CAN hardware and the NI-CAN software for Windows NT. How to Use This Manual Gather What You Need Chapter 1 to Get Started Install the Software Install the Hardware Chapter 2 Configure the Software Verify the Installation Chapter 3 No Troubleshooting Passes? Appendix Yes Review Programming Chapter 4 Considerations User Manual and Program
Résumé du contenu de la page N° 13
Chapter 1 Introduction What You Need to Get Started Make sure you have all of the following items before you attempt to install the hardware and software: ❑ Windows NT 3.51 or later installed on your computer ❑ One of the following CAN interfaces, which is included in your kit: PCI-CAN PCI-CAN/2 PCMCIA-CAN PCMCIA-CAN/2 ❑ The following 3.5 in., high-density (1.44 MB) disks, which are included in your kit: NI-CAN Software for Windows 95 and Windows NT (Disk 1) NI-CAN Software for Windows 95 and
Résumé du contenu de la page N° 14
Chapter 1 Introduction CAN interfacing is accomplished using the Intel 82527 CAN controller chip. The PCI-CAN physical layer fully conforms to the ISO 11898 physical layer specification for CAN and is optically isolated to 500 V. PCI-CAN boards are available with two physical connector types: DB-9 D-Sub and Combicon-style pluggable screw terminals. PCMCIA-CAN cables include both a DB-9 D-Sub and a Combicon-style pluggable screw terminal. The CAN physical layer on PCI-CAN cards can be powe
Résumé du contenu de la page N° 15
Chapter 1 Introduction • Language interface libraries for Microsoft Visual C/C++ 2.0 or later, LabWindows/CVI 4.0 or later, and LabVIEW 4.0 or later • Example programs that use NI-CAN functions Optional Programming Tools Your kit includes the NI-CAN software for Windows NT. In addition, you can order the LabWindows/CVI or LabVIEW software from National Instruments. LabWindows/CVI is an interactive ANSI C development environment for building test and measurement and instrument control systems
Résumé du contenu de la page N° 16
2 Installation and Configuration This chapter describes how to install and configure the CAN hardware and the NI-CAN software for Windows NT. Install the NI-CAN Software Before installing the CAN hardware, complete the following steps to install the NI-CAN software for Windows NT. Installing for Windows NT 3.51 1. Log in as Administrator or as a user that has Administrator privileges. 2. Insert the NI-CAN Software for Windows 95 and Windows NT (Disk 1) into an unused drive. 3. In the Run dia
Résumé du contenu de la page N° 17
Chapter 2 Installation and Configuration Figure 2-1. Add/Remove Programs Properties Dialog Box You can use this same applet to uninstall the NI-CAN software at a later time. Refer to Appendix A, Uninstall the Hardware and Software, for more information. 4. Click on the Install button. 5. Insert the NI-CAN Software for Windows 95 and Windows NT (Disk 1), and click on the Next button to proceed. The software installation wizard begins with the screen shown in Figure 2-2. Getting Started with
Résumé du contenu de la page N° 18
Chapter 2 Installation and Configuration Figure 2-2. NI-CAN Software Setup Screen The setup wizard guides you through the necessary steps to install the NI-CAN software. You may go back and change values where appropriate by clicking on the Back button. You can exit the setup where appropriate by clicking on the Cancel button. 6. Shut down your computer when the setup is complete. Install the CAN Hardware This section describes how to install your CAN hardware. Install Your PCI-CAN or PCI-CA
Résumé du contenu de la page N° 19
Chapter 2 Installation and Configuration 3. Find an unused expansion slot of the appropriate type in your computer. 4. Remove the corresponding slot cover on the back panel of the computer. 5. Insert the CAN interface into the slot with the CAN connector(s) sticking out of the opening on the back panel. It might be a tight fit, but do not force the interface into place. Figure 2-3 shows how to install the PCI-CAN into a PCI expansion slot. Figure 2-3. Installing the PCI-CAN 6. Screw the mo
Résumé du contenu de la page N° 20
Chapter 2 Installation and Configuration Install Your PCMCIA-CAN or PCMCIA-CAN/2 Caution Electrostatic discharge can damage several components on these CAN interfaces. ! To avoid such damage in handling your interface, touch the antistatic plastic package to a metal part of your computer chassis before removing the interface from the package. Because of restrictions imposed by Windows NT, only one PCMCIA-CAN or Note PCMCIA-CAN/2 can be used in a given Windows NT system. For example, if you