Instruction/ maintenance manual of the product 3.22E+04 National Instruments
Go to page of 71
Serial Getting Started with Your PCI Serial Hardware and Software for Windows Me/9 x PCI Serial for Windows Me/9x September 2000 Edition Part Number 321824E-01.
Support Worldwide Technical Support and Product Info rmation ni.com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 794 0100 Worldwide Of.
Important Information Warranty The serial hardware is warranted against defects in materials and workmanship for a period of one year from the date of shipmen t, as evidenced by receipts or othe r documentation. National Instruments will, at i ts option, repair or replace equipment that pro ves to be defective during the warranty period.
Compliance FCC/Canada Radio Frequency Interference Compliance* Determining FCC Class The Federal Communications Commission (FCC) has rules to protect wireless communications from interference.
• Connect the equipment into an outlet on a circuit different f rom that to which the receiver is connected. • Consult the dealer or an experienced radio/T V technician for help. Canadian Departmen t of Communications This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations.
© National Instruments Corporation vii PCI Serial for Windows Me/9x Contents About This Manual Conventions ............ .............. .............. .............. .............. .............. ............... .............. .... x i Related Documentation .
Contents PCI Serial for Windows Me/9x viii ni.com Advanced Port Settings ............ .............. .............. .............. ............... .............. 3-3 Transceiver Mode ................. .............. ............... .............. ....
Contents © National Instruments Corporation ix PCI Serial for Windows Me/9x Figures Figure 2-1. Add/Remove Programs Properties Dialog Box..................... ................ 2-1 Figure 2-2. NI-Serial Setup Screen ................ .............. ...
© National Instruments Corporation xi PCI Serial for Windows Me/9x About This Manual This manual contains instructions to help you inst all and configure the National Instruments serial hardware and the NI-Serial software for W indo ws Me/9 x .
About This Manual PCI Serial for Windows Me/9x xii ni.com monospace bold Bold text in this font denotes the messages and responses that the comput er automatically prints to the screen. This font also emphasizes lines of code that are dif ferent from the other examples.
© National Instruments Corporation 1-1 PCI Serial for Windows Me/9x 1 Introduction This chapter explains ho w to use this manual, lists what you need to get started and optional equip ment you can order , and briefly describes the serial hardware and the NI-Serial soft ware.
Chapter 1 Introduction PCI Serial for Windows Me/9x 1-2 ni.com What Y ou Need to Get Started Before you install your serial hardware and the NI-Serial software, make sure you have all of the following.
Chapter 1 Introduction © National Instruments Corporation 1-3 PCI Serial for Windows Me/9x Additionally , the PCI serial boards are av ai lable in a two-port version (PCI-232/2 and PCI-485/2), a four-port version (PCI-232/4 and PCI-485/4), an eight-port version (PCI-232/8 and PCI-485/8), and a sixteen-port version (PCI-232/16).
Chapter 1 Introduction PCI Serial for Windows Me/9x 1-4 ni.com NI-Serial Software Over view The NI-Serial software for Windows Me/9 x includes a native Windows device driver that provides full interru pt-driven, buffered I/O for multiple COM ports. You can obtain a maximum baud rate of 460.
Chapter 1 Introduction © National Instruments Corporation 1-5 PCI Serial for Windows Me/9x Using Y our Serial Hardware with LabVIEW and LabWindows/CVI After you install y our serial hardware and the NI-Serial software, you can use standard serial I/O functions in LabVIEW and LabWindo ws/CVI with your serial interface.
© National Instruments Corporation 2-1 PCI Serial for Windows Me/9x 2 Installation and V erification This chapter describes how to install the NI-Serial software, serial hardware, and cables, and how to v erify the installation.
Chapter 2 Installation and Verification PCI Serial for Windows Me/9x 2-2 ni.com 3. Click on the Install button. 4. When prompted, insert the NI-Serial Software for Windows 2000/NT/Me/9x CD, and click on the Next button. 5. When prompted, click on the Finish button to install the program files from floppy disks or CD-R OM.
Chapter 2 Insta llation and Verification © National Instruments Corporation 2-3 PCI Serial for Windows Me/9x If no N ew Hardwar e F ound dialog box appears, refer to the Forcing Windows to Detect Your Hardware section in Appendix C, Troubleshooting and Commo n Questions .
Chapter 2 Installation and Verification PCI Serial for Windows Me/9x 2-4 ni.com Figure 2-3. PCI Serial Board Install ation 7. Scre w the PCI serial board mounting brack et to the back panel mounting ra il of the co mputer . 8. Replace the co ver . 9. T u rn on your compu ter and start Windo ws Me/9 x .
Chapter 2 Insta llation and Verification © National Instruments Corporation 2-5 PCI Serial for Windows Me/9x V erify the Installation Before you verify the installation, keep in mind that the serial ports built into your computer are typ ically named from COM1 to COM4.
Chapter 2 Installation and Verification PCI Serial for Windows Me/9x 2-6 ni.com Figure 2-4 shows the De vice Manager tab for serial hardware that is installed properly . Figure 2-4. Device Manager T ab for PCI Serial Board Ports 5. V erify the hardw are resources, as follo ws: a.
Chapter 2 Insta llation and Verification © National Instruments Corporation 2-7 PCI Serial for Windows Me/9x serial hardware, POR T 1 refers to th e top port, POR T2 refers to the next port do wn, and so on. 7. Run the diagnostic utility , as follo ws: select Start » Programs » National Instruments Serial » diagnostics .
Chapter 2 Installation and Verification PCI Serial for Windows Me/9x 2-8 ni.com DB-9 Connector Figure 2-5 and Tabl e 2-1 give the pin locations and descriptions of the DB-9 connector, which is on the .
Chapter 2 Insta llation and Verification © National Instruments Corporation 2-9 PCI Serial for Windows Me/9x Modular Jack Connector Figure 2-6 and Tabl e 2-2 give the pin locations and descriptions of the 10-position modular jack, which is on the four-port PCI serial board .
Chapter 2 Installation and Verification PCI Serial for Windows Me/9x 2-10 ni.com DB-25 Connector Figure 2-7 and Tabl e 2-3 give the pin locations and descriptions of the DB-25 connector, which is on the optional 10-posit ion modular jack to DB-25 cable.
Chapter 2 Insta llation and Verification © National Instruments Corporation 2-11 PCI Serial for Windows Me/9x Figure 2-8 shows ho w to connect the cables when you install a four-port PCI serial board.
Chapter 2 Installation and Verification PCI Serial for Windows Me/9x 2-12 ni.com 68-Pin Connector Figure 2-9 and Tabl e 2-4 give the pin locations and descriptions of the 68-pin connector, which is on the ei ght-port PCI serial b oard.
Chapter 2 Insta llation and Verification © National Instruments Corporation 2-13 PCI Serial for Windows Me/9x Table 2-4. 68-Pin Connector Pin Descriptions 68-Pin Connector Port 485 Signal 485 D-Sub 9.
Chapter 2 Installation and Verification PCI Serial for Windows Me/9x 2-14 ni.com 100-Pin Connector Figure 2-10 and Table 2-5 give the pin locati ons and descriptions of the 100-pin connector, whi ch is on the sixteen-port PCI serial board. Figure 2-10.
Chapter 2 Insta llation and Verification © National Instruments Corporation 2-15 PCI Serial for Windows Me/9x Connecting T wo-Wire Devices The PCI-485 boards are designed to work with either two- or four-wire devices. If you are using a two-wire dev ice, refer to the device documentation for specifi c wiring instructions.
© National Instruments Corporation 3-1 PCI Serial for Windows Me/9x 3 Configuration This chapter describes how to vie w or change the communication port settings. View or Change Communication Port Settings The serial configuration uti lity is fully integrated into th e Windows Me/9 x Device Manager.
Chapter 3 Configuration PCI Serial for Windows Me/9x 3-2 ni.com Note T ranscei v er modes apply to RS-485 interfaces only . For more information about transcei ver modes, refer to Chapter 4, Using Your Serial Hardware . 5. T o sa ve your changes, click on the OK button.
Chapter 3 Configuration © National Instruments Corporation 3-3 PCI Serial for Windows Me/9x Bits per Second Bits per second , or baud rate, is the speed for a serial port. Data Bits Data bits is the number of data bits in a single serial byte. Parity Parity is the specification for even, odd, or no parity bits in each transmitted byte.
Chapter 3 Configuration PCI Serial for Windows Me/9x 3-4 ni.com The following sections describe the adv anced port setting options. T ransceiver Mode This field shows the transceiver mo de in use, and applies only to PCI-485 boards. For more information about transceiver modes, refer to Chapter 4, Using Your Serial Hardware .
© National Instruments Corporation 4-1 PCI Serial for Windows Me/9x 4 Using Y our Serial Hardware This chapter describes how to set the hardw are transceiv er control mode for your RS-485 interfaces and lists some general programming requ irements.
Chapter 4 U sing Y our Serial Hardware PCI Serial for Windows Me/9x 4-2 ni.com Note Signal names with an ov erscore, such as DTR, indicate that the signal is activ e lo w . Four -Wire Mode Use the four-wire mode for most full-duplex systems. In th is mode, the transmitter and receiver are always enabled.
Chapter 4 Using Y our Serial Hardware © National Instruments Corporation 4-3 PCI Serial for Windows Me/9x T wo-Wire Mode: TXRDY Auto Control In this mode, the serial hardware transparently enables the transmitter and receiver in a two-wire system. U se this mode to remove the burden of flow control from your application.
Chapter 4 U sing Y our Serial Hardware PCI Serial for Windows Me/9x 4-4 ni.com The scratch register is located at of fset 7 from the base address of the port. For e xample, if COM2 were located at base address 0x3F8, and you want to set the PCI- 485 board to two-wire mode with DTR control, you would write a 0x02 to ad dress 0x3FF .
Chapter 4 Using Y our Serial Hardware © National Instruments Corporation 4-5 PCI Serial for Windows Me/9x For e xample, to set TXRD Y two-wire auto control mode, use the following code: ULONG Trancei.
© National Instruments Corporation A-1 PCI Serial for Windows Me/9x A Serial Port Information This appendix describes the RS-232, RS-422, and RS-485 standards and explains some of the issues in v olv ed with these types of serial communication. T a ble A-1 lists the features of the RS-232, RS-422, and RS-485 standards.
Appendix A Serial Port Information PCI Serial for Windows Me/9x A-2 ni.com distances of 50 ft and with data rates up to 20 kbytes /s. Howe ver , because of improv ements in line driv ers and cabling, you can usually increase the actual performance of the b us past the limitations on speed and distance recommended in the specification.
Appendix A Serial Port Information © National Instruments Corporation A-3 PCI Serial for Windows Me/9x Serial Communication Issues This section explains some serial communication issues, incl uding duplex architectures, termination methods, bias resistors, and types of connecting equipment.
Appendix A Serial Port Information PCI Serial for Windows Me/9x A-4 ni.com Figure A-1. T ypica l Full-Duplex System Half Duplex A typical half-duplex multidrop bus architecture also in v olves a master-slav e protocol. Howe ver , in a half-duplex system, all transm itters and recei vers are connected to the same transmission line.
Appendix A Serial Port Information © National Instruments Corporation A-5 PCI Serial for Windows Me/9x T erminati on Because each dif ferential pair of wires is a transmission line, you must properly terminate the line to prev ent reflections.
Appendix A Serial Port Information PCI Serial for Windows Me/9x A-6 ni.com Figure A-4 shows a transmission line using bias resistors. Figure A-4. T ransmission Line Using Bias Resistors On the PCI RS-485 2- and 4-port serial cards, there are four user-conf igurable bias res istors in front of each connector .
Appendix A Serial Port Information © National Instruments Corporation A-7 PCI Serial for Windows Me/9x DTE vs. DCE In the RS-232 specif ication, DTE (Data T erminal Equipment) and DCE (Data Communications Equipment) 1 refer to the types of equipment on either end of a serial connection.
© National Instruments Corporation B-1 PCI Serial for Windows Me/9x B Uninstalling the Hardware and Software This appendix describes ho w to uninstall your serial hard ware and the NI-Serial software. Uninstall the Hardware Before you physically remove the serial hardw are from your system, you must remov e the hardware information.
Appendix B Uninstalling the Hardware and Sof tware PCI Serial for Windows Me/9x B-2 ni.com Figure B-1. Selecting an Interface to Uninstal l 5. Click on the Remove button. 6. In the C onf irm De vice Remova l dialog box, click on the OK button to remove the hardw are information, or click on the Cancel b utton to cancel your request.
Appendix B Uninstalling the H ardware and Software © National Instruments Corporation B-3 PCI Serial for Windows Me/9x Figure B-2. Add/Remove Programs Properties Dialog Box 3. Select the NI-Serial software you want to uninstall, and click on the Add/Remove button.
Appendix B Uninstalling the Hardware and Sof tware PCI Serial for Windows Me/9x B-4 ni.com Figure B-3. Successful Uninsta llation 4. Shut down W indows Me/9 x , turn off your computer , and physically remov e the serial interfaces from your system. The uninstallation program only r emov es items that the setup wizard installed.
© National Instruments Corporation C-1 PCI Serial for Windows Me/9x C T roubleshooting and Common Questions This appendix describes ho w to troubleshoot problems and answers some common questions.
Appendix C T roubleshooting and Common Questions PCI Serial for Windows Me/9x C-2 ni.com Selecting Conflict-Free Resources When the Device Manager indicates a conflict with another device, you can usually correct the problem by manually selecting conflict-free resources.
Appendix C T roubleshooting and Common Questions © National Instruments Corporation C-3 PCI Serial for Windows Me/9x 2. In some versions of W indo ws Me/9 x , in the Device Manager , th e Driver tab sho ws information about the installed dri v er . Make sure that the National Instruments ser ial driv er is installed for the port.
Appendix C T roubleshooting and Common Questions PCI Serial for Windows Me/9x C-4 ni.com Address T est Failed If the address test failed, Interrupt test cannot be performed error message appears, you might hav e an address conflict with leg acy boards in your system.
Appendix C T roubleshooting and Common Questions © National Instruments Corporation C-5 PCI Serial for Windows Me/9x 5. Select the interface that W indows Me/9 x did not detect, as sho wn in Figure C-1. Figure C-1. Ports List in Device Manager 6. Click on the Remove button.
Appendix C T roubleshooting and Common Questions PCI Serial for Windows Me/9x C-6 ni.com Common Questions How can I determine which type of serial hardwar e I ha ve ins talled? 1. Select Start » Settings » Control Panel and double-click on the System icon.
Appendix C T roubleshooting and Common Questions © National Instruments Corporation C-7 PCI Serial for Windows Me/9x How do I change the r esour ces assigned to the serial interface ? The PCI serial boards are conf igured as de vices belonging to the multi-function adapters class.
© National Instruments Corporation D-1 PCI Serial for W indows Me/9x D Specifications This appendix describes the characteristics of the serial hardware, the NI-Serial software, along with th e recommended operating conditions. T wo-Port Boards Dimensions.
Appendix D Specifications PCI Serial for Windows Me/9x D-2 ni.com Power requirement (f rom PCI channel) PCI-485/2 +5 VDC ............. .............. .........800 mA typical 1300 mA maximum PCI-232/2 +5 VDC ............. .............. .........400 mA typical 650 mA maxim um Four -Port Boards Dimensions .
Appendix D Specifications © National Instruments Corporation D-3 PCI Serial for W indows Me/9x Power requirement (f rom PCI channel) PCI-485/4 +5 VDC..................... .............. . 1000 mA typical 1500 mA maximum PCI-232/4 +5 VDC..............
Appendix D Specifications PCI Serial for Windows Me/9x D-4 ni.com Environmental Characteristics Operating environment Component temperature ............ ......0 to 70 ° C Relative humidity ............. ...............10 to 90%, noncondensing Storage environment Temperature.
© National Instruments Corporation E-1 PCI Serial for Windows Me/9x E T echnical Support Resources W eb Support National Instruments W eb support is your first stop for help in sol ving installation, configuration, and application pro blems and questions.
Appendix E T echnical Suppor t Resources PCI Serial for Windows Me/9x E-2 ni.com W orldwide Support National Instruments has of fices located around the world to help address your support needs. Y ou can access our branch of f ice W eb sites from the W o rldwide Of f ices section of ni.
© National Instruments Corporation G-1 PCI Serial for W indows Me/9x Glossar y Pref ix Meaning V alue p- pico- 10 – 12 n- nano- 10 – 9 µ- micro- 10 – 6 m- milli- 10 – 3 k- kilo- 10 3 M- mega.
Glossary PCI Serial for Windows Me/9x G-2 ni.com DCD data carrier detect DCE data communications equipment or data circuit-terminating equipment DLL dynamic link library DMA direct memory access DSR d.
Glossary © National Instruments Corporation G-3 PCI Serial for W indows Me/9x MB megab ytes of memory PC personal computer PCI Peripheral Components Interconnect RAM random-access memory RI ring indi.
© National Instruments Corporation I-1 PCI Serial for Windows Me/9x Index Numerics 100-pin connector, 2-14 pin descriptions (table), 2-15 pin locations (figure), 2-14 10-position modular j ack, 2-9 p.
Index PCI Serial for Windows Me/9x I-2 ni.com D data bits, 3-3 DB-25 connector, 2-10 pin descriptions (table), 2-10 pin locations (figure), 2-10 DB-9 100-pin connector pin descriptio ns (figure), 2-14.
Index © National Instruments Corporation I-3 PCI Serial for Windows Me/9x I installation getting started, 1-2 PCI serial board installat ion (figure), 2-4 serial hardware, 2-3 serial software, 2-1 ve.
Index PCI Serial for Windows Me/9x I-4 ni.com 68-pin description (tabl e), 2-13 connector, 2-8 connector pin descripti ons (table), 2-8 connector pin location s (figure), 2-8 port settings tab, 3-2 fi.
Index © National Instruments Corporation I-5 PCI Serial for Windows Me/9x straight-through cabling in a DTE-to-DCE interface (figure), A-7 successful uninstallation (figure), B-4 system integration, .
An important point after buying a device National Instruments 3.22E+04 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought National Instruments 3.22E+04 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data National Instruments 3.22E+04 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, National Instruments 3.22E+04 you will learn all the available features of the product, as well as information on its operation. The information that you get National Instruments 3.22E+04 will certainly help you make a decision on the purchase.
If you already are a holder of National Instruments 3.22E+04, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime National Instruments 3.22E+04.
However, one of the most important roles played by the user manual is to help in solving problems with National Instruments 3.22E+04. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device National Instruments 3.22E+04 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center