Manuel d'utilisation / d'entretien du produit NI-CANTM Software for Windows NT du fabricant National Instruments
Aller à la page of 49
CAN Getting Started with Your PXI-8461 or PXI-8460 and the NI-CAN ™ Software for Windows NT PXI-8461 or PXI-8460 and NI-CAN for Windows NT September 1999 Edition Part Number 3220 06B-01.
Worldwide Technical Support and Product Info rmation www.natinst.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 794 0100 Worldwide O.
Important Information Warranty The PXI hardware is war ranted against defe cts in materials and workm anship for a period of one ye ar from the date of shipment, as evidenced by receipt s or other documentation. National Instruments will, at its option, repair or replace equipmen t that proves to be d efectiv e du ring t he w arranty peri od .
Compliance FCC/DOC Radio Frequency Interference Class A Compliance This equipment generates and uses radio frequency energy and, if not installed and used in strict accorda nce with the instructions in this manual, may cause interference to radio and television reception.
© National Instruments Corporation v PXI-8461 or PXI-8460 and NI-CAN for Windows NT Contents About This Manual How To Use the Manual Set ............ ............ ........... .............. ........... ............ ........... ....... ix Conventions .
Contents PXI-8461 or PXI-8460 and NI-CAN for Windows NT vi www.natinst.com Appendix B Cabling Requirements for PXI-8461 High-Speed CAN Connector Pinouts .......................... ........... ........... ... ........... ............ .. ............ ..
Contents © National Instruments Corporation vii PXI-8461 or PXI-8460 and NI-CAN for Windows NT Glossary Figures Figure 2-1. Add/Remove Programs Properties Dialog Box............. .............. .......... 2-2 Figure 2-2. Installing the PXI Hardware .
© National Instruments Corporation ix PXI-8461 or PXI-8460 and NI-CAN for Windows NT About This Manual This manual contains instructions to help you install and configure your PXI-8461 (one port and two port) or PXI-846 0 (one port o r two port) and the NI-CAN software for Wi ndo ws NT .
About This Manual PXI-8461 or PXI-8460 and NI-CAN for Windows NT x www.natinst.com Use the NI-CAN Programmer Refere nce Manual for specif ic information about each NI-CAN function and object, including format, parameters, and possible errors.
About This Manu al © National Instruments Corporation xi PXI-8461 or PXI-8460 and NI-CAN for Windows NT Related Documentation The following documents contain information that you may find helpful as .
© National Instruments Corporation 1-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT 1 Introduction This chapter lists what you need to get started, provides an overview of the PXI hardware and the NI-CAN software for Windows NT, and describes optional equipment you can order.
Chapter 1 Introduction PXI-8461 or PXI-8460 and NI-CAN for Windows NT 1-2 www .natinst.com specification for CAN and is also optically isolated to 500 V . CAN interfacing is accomplished using the Intel 82527 CAN controller chip. The PXI-8461 supports a wide v ariety of transfer rates up to 1 Mb/s.
Chapter 1 Introduction © National Instruments Corporation 1-3 PXI-8461 or PXI-8460 and NI-CAN for Windows NT • Language interface libraries for Microsoft V isual C/C++ 2.
© National Instruments Corporation 2-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT 2 Installation and Configuration This chapter describes how to install and configure the NI-CAN so ftware for Windows NT and the PXI-8461 or PXI-8460 hardware.
Chapter 2 Installation and Configuration PXI-8461 or PXI-8460 and NI-CAN for Windows NT 2-2 www .natinst.com 3. Double-click on the Add/Remove Programs icon in the Control Panel to launch the Add/Remove Programs applet. A dialog box similar to the one in Figure 2-1 appears.
Chapter 2 Installation and Configuration © National Instruments Corporation 2-3 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Install the Hardware This section describes how to install your PXI-846 1or PXI-8460 hardware.
Chapter 2 Installation and Configuration PXI-8461 or PXI-8460 and NI-CAN for Windows NT 2-4 www .natinst.com 5. Insert the PXI board into the selected 5 V slot. Use the injector/ejector handle to fully inject the de vice into place. Figure 2-2 shows ho w to install the PXI board into a PXI or CompactPCI chassis.
Chapter 2 Installation and Configuration © National Instruments Corporation 2-5 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Configure the NI-CAN Software The NI-CAN Configuration utility is locat e d in th e Windows NT Control Panel. You can use it to examine or modify the configuration of the NI-CAN software.
Chapter 2 Installation and Configuration PXI-8461 or PXI-8460 and NI-CAN for Windows NT 2-6 www .natinst.com T o view information about the NI-CAN software conf iguration for the PXI-8461 or PXI-8460, click on the Settings button. Figure 2-4 shows the Settings dialog box.
© National Instruments Corporation 3-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT 3 V erify the Installation This chapter describes how to verify the hardware and software installation. Y ou can use the NI-CAN Diagnostic uti lity , installed wi th your NI-CAN software, to test the hardware and software installati on.
Chapter 3 Verify the Installation PXI-8461 or PXI-8460 and NI-CAN for Windows NT 3-2 www .natinst.com Y ou can get details about any tested CAN interf ace by selecting the interface and clicking on the Details b utton. For each f ailed CAN interface, select it and click on the Details b utton to get a description of the failure.
© National Instruments Corporation 4-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT 4 Begin to Use the NI-CAN Software This chapter helps you get started with the NI-CAN software for Windows NT. Using the NI-CAN Software The functions provided by the NI-CAN software are similar to those provided by many other device drivers.
Chapter 4 Begin to Use the NI-CAN Software PXI-8461 or PXI-8460 and NI-CAN for Windows NT 4-2 www .natinst.com General Programming Considerations As you begin develo ping your Win32 NI-CAN application, rememb er the following p oints: • For your LabVIEW or BridgeVIEW application, you must use the NI-CAN LabVIEW functions in nican.
© National Instruments Corporation A-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT A Uninstalling the Hardware and Software This appendix describes ho w to uninstall the PXI-8461 or PXI-8460 hardware and the NI-CAN software from W indo ws NT . Uninstalling the Hardware from Windows NT Because W indows NT 3.
Appendix A Uninstalling the Hardware and Software PXI-8461 or PXI-8460 and NI-CAN for Windows NT A-2 www .natinst.com Complete the following steps to remo v e the NI-CAN software from W indows NT 4.0 : 1. Select the Add/Remove Programs icon under Start»Settings» Control Panel .
© National Instruments Corporation B-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT B Cabling Requirements for PXI-8461 High-Speed CAN This appendix describes the cabling requirements for the hardware. Cables should be constructed to meet these requirements and the requirements of the other CAN or De viceNet de vices in the network.
Appendix B Cabling Requirements for PXI-8461 High-S peed CAN PXI-8461 or PXI-8460 and NI-CAN for Windows NT B-2 www .natinst.com The 5-pin Combicon-style pluggable scre w terminal follo ws the pinout required by the DeviceNet Specification . Figure B-2 shows the pinout for this connector .
Appendix B Cabling Requirements for PXI-8461 High-S peed CAN © National Instruments Corporation B-3 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Figure B-3. PXI-8461 Part Locator Diagram Connecting pins 1 and 2 of a jumper configures the CAN physical layer to be powered e xternally (from the bus cable power).
Appendix B Cabling Requirements for PXI-8461 High-S peed CAN PXI-8461 or PXI-8460 and NI-CAN for Windows NT B-4 www .natinst.com Figure B-4 shows ho w to configure your jumpers for in tern al or external power supplies. Figure B-4. Power Sour ce Jumpers The CAN physical layer is still isolated re gardless of the po wer source chosen.
Appendix B Cabling Requirements for PXI-8461 High-S peed CAN © National Instruments Corporation B-5 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Cable Specifications Cables should meet the physical medium requirements specif ied in ISO 11898, shown in T able B-2.
Appendix B Cabling Requirements for PXI-8461 High-S peed CAN PXI-8461 or PXI-8460 and NI-CAN for Windows NT B-6 www .natinst.com Number of Devices The maximum number of de vices that you can connect to a CAN port depends on the electrical characteristics of the de vices on the network.
Appendix B Cabling Requirements for PXI-8461 High-S peed CAN © National Instruments Corporation B-7 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Cabling Example Figure B -6 show s an e xample of a cable to connect tw o CAN de vices. For the internal power conf iguration, no V+ connection is required.
© National Instruments Corporation C-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT C Cabling Requirements for PXI-8460 Low-Speed CAN This appendix describes the cabling requirements for the PXI-8460 hardware. Cables should be constructed to meet these requirements, as well as the requirements of the other CAN devices in the network.
Appendix C Cabling Requirements for PXI-8460 Low-Speed CA N PXI-8461 or PXI-8460 and NI-CAN for Windows NT C-2 www .natinst.com CAN_H and CAN_L are signal lines that carry the data on the CAN network. These signals should be connected using twisted-pair cable.
Appendix C Cabling Requirements for PXI-8460 Low-Speed CAN © National Instruments Corporation C-3 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Connecting pins 2 and 3 of a jumper configures the CAN physical layer to be powered internally (from the card).
Appendix C Cabling Requirements for PXI-8460 Low-Speed CA N PXI-8461 or PXI-8460 and NI-CAN for Windows NT C-4 www .natinst.com Cable Specifications Cables should meet the physical medium requirements specif ied in ISO 11519-2, sho wn in T able C-2. Belden cable (3084A) meets all of those requirements, and should be suitable for most application s.
Appendix C Cabling Requirements for PXI-8460 Low-Speed CAN © National Instruments Corporation C-5 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Low-Speed T ermination Every de vice on the lo w-speed CAN network requires a termination resistor for each CAN data line: R RT H for CAN_H and R RT L for CAN_L.
Appendix C Cabling Requirements for PXI-8460 Low-Speed CA N PXI-8461 or PXI-8460 and NI-CAN for Windows NT C-6 www .natinst.com Philips also recommends an indi vidual device R TH and R TL termination of 500 Ω to 16 k Ω . The PXI-8460 board ships with mounted R TH and R TL v alues of 510 Ω ±5% per port.
Appendix C Cabling Requirements for PXI-8460 Low-Speed CAN © National Instruments Corporation C-7 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Replacing the T ermination Resistors Follo w these ste.
Appendix C Cabling Requirements for PXI-8460 Low-Speed CA N PXI-8461 or PXI-8460 and NI-CAN for Windows NT C-8 www .natinst.com 3. Insert the replacement resistors into the empty sockets. 4. Refer to Install the Hardware , in Chapter 2, Installation and Configuration , to complete th e hardware installation.
© National Instruments Corporation D-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT D T roubleshooting and Common Questions This appendix describes ho w to troubleshoot problems and answers some common questions.
Appendix D T roubleshooting and Common Questions PXI-8461 or PXI-8460 and NI-CAN for Windows NT D-2 www .natinst.com NI-CAN Software Problem Encountered This error occurs if the NI-CAN Diagnostic utility detects that it is unable to communicate correctly with the hardware using the installed NI-CAN software.
Appendix D T roubleshooting and Common Questions © National Instruments Corporation D-3 PXI-8461 or PXI-8460 and NI-CAN for Windows NT How do I connect a CAN cable to my CAN port? Y ou will need to use an appropriate cable.
© National Instruments Corporation E-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT E Specifications This appendix describes the physical characteristics of the hardw are and the recommended op erating cond i tions. PXI-8461 One Port and T wo Port Dimensions.
Appendix E Specifications PXI-8461 or PXI-8460 and NI-CAN for Windows NT E-2 www .natinst.com Operating environment Component temperature ................. .0 to 55 °C Relative humidity ............. .............. .10% to 90%, noncondensing Storage environment Temperature.
© National Instruments Corporation F-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT F T echnical Support Resources This appendix describes the comprehensiv e resources a vailable to you in the T ec.
Appendix F T echnical Support Resources PXI-8461 or PXI-8460 and NI-CAN for Windows NT F-2 www .natinst.com Software-Related Resources • Instrument Driver Network —A library with hundreds of instrument dri v ers fo r control of standalone instruments via GPIB, V XI, or serial interfaces.
© National Instruments Corporation G-1 PXI-8461 or PXI-8460 and NI-CAN for Windows NT Glossar y Pref ix Meaning V alue n- nano - 10 –9 m- milli- 10 –3 k- kilo- 10 3 M- mega- 10 6 ° degrees Ω o.
Glossary PXI-8461 or PXI-8460 and NI-CAN for Windows NT G-2 www .natinst.com ISO International Standards Organization LED light-emitting dio de m meters PC personal computer PCI peripheral component i.
Un point important après l'achat de l'appareil (ou même avant l'achat) est de lire le manuel d'utilisation. Nous devons le faire pour quelques raisons simples:
Si vous n'avez pas encore acheté National Instruments NI-CANTM Software for Windows NT c'est un bon moment pour vous familiariser avec les données de base sur le produit. Consulter d'abord les pages initiales du manuel d'utilisation, que vous trouverez ci-dessus. Vous devriez y trouver les données techniques les plus importants du National Instruments NI-CANTM Software for Windows NT - de cette manière, vous pouvez vérifier si l'équipement répond à vos besoins. Explorant les pages suivantes du manuel d'utilisation National Instruments NI-CANTM Software for Windows NT, vous apprendrez toutes les caractéristiques du produit et des informations sur son fonctionnement. Les informations sur le National Instruments NI-CANTM Software for Windows NT va certainement vous aider à prendre une décision concernant l'achat.
Dans une situation où vous avez déjà le National Instruments NI-CANTM Software for Windows NT, mais vous avez pas encore lu le manuel d'utilisation, vous devez le faire pour les raisons décrites ci-dessus,. Vous saurez alors si vous avez correctement utilisé les fonctions disponibles, et si vous avez commis des erreurs qui peuvent réduire la durée de vie du National Instruments NI-CANTM Software for Windows NT.
Cependant, l'un des rôles les plus importants pour l'utilisateur joués par les manuels d'utilisateur est d'aider à résoudre les problèmes concernant le National Instruments NI-CANTM Software for Windows NT. Presque toujours, vous y trouverez Troubleshooting, soit les pannes et les défaillances les plus fréquentes de l'apparei National Instruments NI-CANTM Software for Windows NT ainsi que les instructions sur la façon de les résoudre. Même si vous ne parvenez pas à résoudre le problème, le manuel d‘utilisation va vous montrer le chemin d'une nouvelle procédure – le contact avec le centre de service à la clientèle ou le service le plus proche.