Home
National Instruments 3.22E+04 Network Card User Manual
Contents
1. change the base address of the port To do so refer to the Selecting Conflict Free Resources section earlier in this appendix When you change the base address Windows Me 9x automatically converts it to the corresponding COM name listed in Table C 1 You do not need to change the IRQ setting for Windows Me 9x to change the name C 6 ni com Appendix C Troubleshooting and Common Questions Table C 1 Standard DOS Based Addresses COM Port Base Address COMI 3f8 COM2 2f8 COM3 3e8 COMA 2e8 How do I change the resources assigned to the serial interface The PCI serial boards are configured as devices belonging to the multi function adapters class The multi function parent device is listed under the Multi function adapters icon and each child device is listed as a port under the Ports COM amp LPT icon To change the resources of serial ports complete the following steps 1 Inthe Device Manager tab under Multi function adapters double click on a serial interface 2 Click on the Resources tab to change the resources Your changes are automatically reflected to the child devices under Ports COM amp LPT How do I remove information about serial boards from the Device Manager Refer to the Uninstall the Hardware section in Appendix B Uninstalling the Hardware and Software What is the maximum baud rate supported and how can I set it The maximum baud rate supported is 460 8 Kba
2. SS Figure A 1 Typical Full Duplex System Half Duplex A typical half duplex multidrop bus architecture also involves a master slave protocol However in a half duplex system all transmitters and receivers are connected to the same transmission line A half duplex system is often referred to as a two wire system Figure A 2 shows a typical half duplex system MASTER Figure A 2 Typical Half Duplex System PCI Serial for Windows Me 9x 4 ni com Termination Appendix A Serial Port Information Because each differential pair of wires is a transmission line you must properly terminate the line to prevent reflections common method of terminating a two wire multidrop RS 485 network is to install terminating resistors at each end of the multidrop network If you daisy chained multiple instruments together you need a terminating resistor at only the first and last instruments The terminating resistor should match the characteristic impedance of the transmission line typically 100 to 120 2 You can order an optional DB 9 RS 485 termination connector that contains embedded terminating resistors for easy termination from National Instruments For ordering information contact National Instruments Figure A 3 shows a multidrop network using terminating resistors Slave 1 Slave 2 Slave n JN AN AN MASTER oH
3. 100 Foa Bias Resistors Figure A 3 Multidrop Network Using Terminating Resistors A transmission line enters an indeterminate state if no nodes are transmitting on it This indeterminate state can cause the receivers to receive invalid data bits from noise picked up on the cable To prevent a line from receiving these data bits force the transmission line into a known state To do so install two 620 bias resistors at one node on the transmission line doing so creates a voltage divider that forces the voltage between the differential pair to be greater than 200 mV the threshold voltage for the receiver You should install these resistors on only one node Note Bias resistors are not available on the eight port PCI 485 National Instruments Corporation 5 PCI Serial for Windows Me 9x Appendix PCI Serial for Windows Me 9x Serial Port Information Figure A 4 shows a transmission line using bias resistors 5 620 Bias Resistor 100 Termination Resistor 620 Bias Resistor Figure A 4 Transmission Line Using Bias Resistors On the PCI RS 485 2 and 4 port serial cards there are four user configurable bias resistors in front of each connector These resistors are socketed and pre loaded with 620 Q resistors They are connected to the receive signals of each port to maintain a known state when the bus is idle The connections are made as follows e RXD and CTS are
4. com zone is the essential resource for building measurement and automation systems At the NI Developer Zone you can easily access the latest example programs system configurators tutorials technical news as well as a community of developers ready to share their own techniques Customer Education National Instruments provides a number of alternatives to satisfy your training needs from self paced tutorials videos and interactive CDs to instructor led hands on courses at locations around the world Visit the Customer Education section of ni com for online course schedules syllabi training centers and class registration System Integration If you have time constraints limited in house technical resources or other dilemmas you may prefer to employ consulting or system integration services You can rely on the expertise available through our worldwide network of Alliance Program members To find out more about our Alliance system integration solutions visit the System Integration section of ni com National Instruments Corporation E 1 PCI Serial for Windows Me 9x Appendix E Technical Support Resources Worldwide Support National Instruments has offices located around the world to help address your support needs You can access our branch office Web sites from the Worldwide Offices section of ni com Branch office Web sites provide up to date contact information support phone numbers e mail addresses and c
5. Figure 2 10 100 Connector Pin 2 14 Figure 3 1 Port Settings Tab iiec eret m a a Re detta 3 2 Figure 3 2 Advanced Port Settings Dialog Box eene 3 3 Figure A 1 Typical Full Duplex System eee 4 Figure 2 Typical Half Duplex A 4 Figure 3 Multidrop Network Using Terminating Resistors A 5 Figure A 4 Transmission Line Using Bias Resistors eeeeeeeee A 6 Figure 5 Straight Through Cabling in a DTE to DCE Interface A 7 Figure A 6 Null Modem Cabling in a DTE to DTE Interface 7 Figure B 1 Selecting an Interface to Uninstall sees B 2 Figure B 2 Add Remove Programs Properties Dialog B 3 Figure B 3 Successful Uninstallation esee B 4 Figure C 1 Ports List in Device Manager eee C 5 Tables Table 2 1 DB 9 Pin Descriptions eesseesseeeseeee eene neret AE 2 8 Table 2 2 10 Position Modular Jack Pin 2 9 Table 2 3 DB 25 Pin Desctiptions 4 uidet t eet er dives 2 10 Table 2 4 68 Pin Connector Pin Descriptions essen 2 13 Table 2 5 100 Pin Connector Pin Descriptions eee 2 15 Table 4
6. Figure 3 2 shows the Advanced Port Settings dialog box Advanced Port Settings x Transceiver Mode wie 4 wire 2 wire DTR echo 2 wire DTR ctrl Use FIFO buffers Swe Ta Cancel Select lower settings to correct connection problems di Select higher settings for faster performance Defaults Receive Buffer Low 1 i High 14 Transmit Buffer Low 1 J High 16 Figure 3 2 Advanced Port Settings Dialog Box National Instruments Corporation 3 3 PCI Serial for Windows Me 9x Chapter 3 Configuration Restore Defaults PCI Serial for Windows Me 9x The following sections describe the advanced port setting options Transceiver Mode This field shows the transceiver mode in use and applies only to PCI 485 boards For more information about transceiver modes refer to Chapter 4 Using Your Serial Hardware Use FIFO Buffers FIFO buffers are present on the 16550 compatible UARTs one for the transmitter and one for the receiver The Receive Buffer control sets the number of characters received in the FIFO before the PC is interrupted to read the data The Transmit Buffer control sets the maximum number of bytes written to the FIFO in a block when the PC is interrupted to write the data When you configure FIFO settings consider the following points e You can select larger FIFO buffer sizes to reduce the number of interrupts your PC receives and therefore minimize system ov
7. Select Start Settings Control Panel Double click on the Add Remove Programs icon A dialog box similar to the one shown in Figure B 2 appears This dialog box lists the software that you can uninstall B 2 Appendix B Uninstalling the Hardware and Software Add Remove Programs Properties Microsoft Publisher 97 Microsoft Small Business Financial Manager 97 Microsoft Visual 5 0 Microsoft Word 97 National Instruments Serial NI CAN v1 2 1 NI CCDB for Windows 95 NT NI VISA for Windows 95 NT NuMega SoftICE 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 The uninstallation program removes all folders utilities and registry entries associated with the NI Serial software Figure B 3 shows the results of a successful uninstallation National Instruments Corporation B 3 PCI Serial for Windows Me 9x Appendix B Uninstalling the Hardware and Software Remove Programs From Your Computer Figure B 3 Successful Uninstallation 4 Shutdown Windows Me 9x turn off your computer and physically remove the serial interfaces from your system The uninstallation program only removes items that the setup wizard installed If you added anything to a directory that the setup wizard created the uninstallation program does not delete that directory You must remove any remaining components yourself If you want to
8. 1 Transceiver Control Modes eene 4 2 Table 4 2 Transceiver Mode Control Bytes esee 4 4 Table 4 3 DeviceloControl Function Input Values eee 4 5 Table A 1 RS 232 RS 422 and RS 485 A 1 Table C 1 Standard DOS Based Addresses esee C 7 National Instruments Corporation ix PCI Serial for Windows Me 9x About This Manual Conventions This manual contains instructions to help you install and configure the National Instruments serial hardware and the NI Serial software for Windows Me 9x This manual includes information about the PCI 232 2 PCI 232 4 PCI 232 8 PCI 232 16 PCI 485 2 PCI 485 4 and PCI 485 8 boards in both isolated and non isolated versions This manual assumes that you are already familiar with Windows Me 9x bold DTR italic monospace The following conventions appear 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 directs you to pull down the File menu select the Page Setup item and select Options from the last dialog box This icon denotes a note which alerts you to important information This icon denotes a caution which advises you of precautions to take to avoid injury data loss or a system crash Bold text denotes items that you must
9. Jack Pin Descriptions 10 Position Modular Jack Pin 232 Signal 485 Signal 10 DCD GND 9 RXD CTS HSI 8 TXD RTS HSO 7 DTR RXD 6 GND RXD 5 DSR CTS HSI 4 RTS RTS HSO 3 CTS TXD 2 RI TXD 1 No Connect No Connect These signals are not supported by the isolated 232 ports National Instruments Corporation 2 9 PCI Serial for Windows Me 9x Chapter 2 Installation and Verification DB 25 Connector Figure 2 7 and Table 2 3 give the pin locations and descriptions of the DB 25 connector which is on the optional 10 position modular jack to DB 25 cable PIN 13 PIN 1 PIN 25 PIN 14 Figure 2 7 DB 25 Connector Pin Locations Tahle 2 3 DB 25 Pin Descriptions DB 25 Pin 232 Signal 485 Signal 2 TXD RTS HSO 3 RXD CTS HSI 4 RTS RTS HSO 5 CTS TXD 6 DSR CTS HSI 7 GND RXD 8 DCD GND 20 DTR RXD 22 RI TXD Pins not listed in this table are No Connect These signals are not supported by the isolated 232 ports PCI Serial for Windows Me 9x ni com Chapter 2 Installation and Verification Figure 2 8 shows how to connect the cables when you install a four port PCI serial board 4 Serial Board 10 Position Modular Jack Mim 10 Position Modular Jack to D
10. Me 9x 1 Verify the hardware resources as follows a Inthe Device Manager tab under Multi function adapters double click on a serial board b Ifa serial board is missing from the Multi function adapters list reinstall the hardware and software For instructions on how to do so refer to Chapter 2 Installation and Verification c Click on the Resources tab If the resources were assigned properly the Resources tab shows which resources are assigned to your serial ports d Check the hardware resources If they are in conflict refer to the previous section Selecting Conflict Free Resources C 2 ni com Appendix C Troubleshooting and Common Questions In some versions of Windows Me 9x in the Device Manager the Driver tab shows information about the installed driver Make sure that the National Instruments serial driver is installed for the port If the serial driver is a Microsoft driver reinstall the NI Serial software For instructions on how to do so refer to Chapter 2 Installation and Verification Make sure that the National Instruments serial driver is installed as follows a Locate the niserial vxd file in the Windows system directory b Ifthe niserial vx file is missing reinstall the hardware and software For instructions on how to do so refer to Chapter 2 Installation and Verification Diagnostic Utility Does Not Show AII Installed Ports If the diagnostic utility does not show all the po
11. National Instruments Corporation 2 15 The PCI 485 boards are designed to work with either two or four wire devices If you are using a two wire device refer to the device documentation for specific wiring instructions In general half duplex networks use a single twisted pair of wires for communication in both directions so you must connect both the transmitter and the receiver at each end of the same pair of wires For example to connect an RS 485 data acquisition device to a port on your PCI 485 using half duplex communication you need a single twisted pair of wires At the PCI 485 connect the TXD and RXD signals pins 8 and 4 DB 9 connector pins 5 and 20 on a DB 25 connector together and to one wire Connect the other end of this wire to both the TXD and RXD signals on the data acquisition device Use the same method to connect the TXD and RXD signals pins 9 and 5 on a DB 9 connector pins 22 and 7 on a DB 25 connector to the second wire For information about setting the transceiver mode for two wire communication refer to Chapter 4 Using Your Serial Hardware For more information about duplex architectures refer to Appendix A Serial Port Information PCI Serial for Windows Me 9x Configuration This chapter describes how to view or change the communication port settings View or Change Communication Port Settings The serial configuration utility is fully integrated into the Windows Me 9x Device M
12. boards are available 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 The two port versions use DB 9 connectors The four port versions use 10 position modular jacks to provide all four connections on a single back panel Optional cable accessories convert the 10 position modular jacks to either DB 9 or DB 25 connectors with standard pinouts The eight port versions use adapter cables to convert the 68 pin connector on the board to eight DB 9 connectors The sixteen port version uses a breakout box to convert the 100 pin connector on the board to sixteen DB 9 connectors Throughout this manual PCI serial boards refers to all versions of the PCI serial boards The isolated PCI 232 and PCI 485 boards are designed for applications in harsh environments Isolated ports provide reliable communication in situations involving ground loops from different ground levels or high common mode voltage induced on the lines in noisy environments Non isolated ports may not provide reliable communication in those situations The isolation between each communication port and the host PC ensures the safe operation of the PC and the devices connected to other ports on the same board in case of accidental high voltages on communication lines The PCI 485 boards support four hardware transceiver control modes for reliable communicati
13. data can then transmit over the line In full duplex communication the devices use a separate wire or pair of wires for simultaneous transmission in each direction Thus the devices do not switch between transmitting and receiving In a differential serial bus such as RS 422 or RS 485 a half duplex system transmits and receives over the same twisted pair of wires Thus half duplex communication is often referred to as two wire communications Likewise full duplex communication is often referred to as four wire communications because the full duplex system uses a separate pair of wires for communication in each direction Full Duplex A typical full duplex multidrop bus architecture involves a master slave protocol Only one device the master can control access to the bus other devices are slaves Slave devices must wait for the master to give them access to the bus In a typical full duplex system one transmission line connects the bus master transmitter to all of the slave receivers A second transmission line connects all of the slave transmitters to the bus master receiver Because each transmission line has two separate wires a full duplex system is often referred to as a four wire system Figure A 1 shows a typical full duplex system National Instruments Corporation A 3 PCI Serial for Windows Me 9x Appendix Serial Port Information Slave 1 Slave 2 Slaven Rx Rx Rx MASTER
14. dede 2 1 Install the Hardware indir EE y RO 2 3 Venty the Installation e terme edere a RECO M 2 5 Connectthe Cables 7 4 d ette on tte edis re ores c t ee eere 2 7 DB 9 Connectotr een A a edid essit 2 8 an a i 2 9 DB z25 GConnector nete tee RE A EE 2 10 68 Pm ConnectOoE x i eive egeret te ee OE er ER d dee ed gae 2 12 100 Pin Connector te tcr e e e Se CER SEE RE CETUR RRs 2 14 Connecting Two Wire Devicesin e a e nennen nemen nre enne 2 15 Chapter 3 Configuration View or Change Communication Port Settings see 3 1 Port Settings Tab ei een he ee e rie atti ereptus a eee edes 3 2 Bits per SECON ses dee de Rote 3 3 3 3 enu tonta teta ttes 3 3 Stop MC M S 3 3 Flow eec ner SO EP E SPUREN aed 3 3 National Instruments Corporation vii PCI Serial for Windows Me 9x Contents Advanced Port Settings esses eene nennen 3 3 Transceiver Mode unes nce peon nieder 3 4 Use FIFO Buffers aeter et e e e Pet 3 4 Restore e teo RR PO DA 3 4 Chapter 4 Using Your Serial Hardware General Programming Requirement essere emere 4 1 Advanced Transceiver Control for the PCI 485 sse 4 1 Eour Ware Mod
15. in the EU EEC EEA must refer to the Manufacturer s Declaration of Conformity DoC for information pertaining to the CE Mark compliance scheme The Manufacturer includes a DoC for most every hardware product except for those bought for OEMs if also available from an original manufacturer that also markets in the EU or where compliance is not required as for electrically benign apparatus or cables Certain exemptions may apply in the USA see FCC Rules 815 103 Exempted devices and 15 105 c Also available in sections of CFR 47 The CE Mark Declaration of Conformity will contain important supplementary information and instructions for the user or installer Contents About This Manual C nyent oS ee ERE xi Related Documentations aea S iiia iaia xii Chapter 1 Introduction How to Use This Manual cns eter tet ee ev ca dus ca eoa a aE SES 1 1 What You Need to Get Started eene 1 2 Optional Equipment ettet rela e ER REM Otra Pe esee R 1 2 Serial Hardware Overview sssssseeeeeeeeeeee n n eren eene ene een nene nnn nnne nnne sss sse 1 2 NI Serial Software Overview eeeesseeeeeeeeee 1 4 Time Saving Development Tools eee emere 1 4 Using Your Serial Hardware with LabVIEW LabWindows CVI 1 5 Chapter 2 Installation and Verification Install the SoftWa tre rect ave tst dy Yes
16. pulled up to VCC e RXD and are pulled down to GND Rather than using two 620 Q resistors at one node you can increase the value of the resistors and put them at every node For instance if there are eight nodes in a system you can use 4 7 kQ resistors at each node to effectively achieve the same result A 6 ni com Appendix Serial Port Information DTE vs DCE In the RS 232 specification DTE Data Terminal Equipment and DCE Data Communications Equipment refer to the types of equipment on either end of a serial connection In general DTE and DCE refer to computer equipment and modems respectively Because the RS 232 specification mainly involves connecting a DTE directly to a DCE and vice versa the pinouts are defined so that cabling is simple That is a cable connected a computer to a modem by wiring pin 1 to pin 1 pin 2 to pin 2 and so on This method is known as straight through cabling Figure A 5 shows straight through cabling in a DTE to DCE interface Pin 2g D Pina Pin 3 1X D p Pin 3 Figure A 5 Straight Through Cabling in a DTE to DCE Interface Straight through cabling is still the standard method to connect a modem to your PC However because many applications use serial communication to connect two or more DTEs without modems the cabling becomes more complicated If two DTEs are wired together using a straight through cable one transmitte
17. reinstall the hardware and software refer to Chapter 2 Installation and Verification PCI Serial for Windows Me 9x B 4 ni com Troubleshooting and Common Questions This appendix describes how to troubleshoot problems and answers some common questions Freeing an Interrupt Request Level To free an interrupt request level for your serial port you must disable the device that is using the interrupt request level To view the system wide allocation of interrupt request resources and remove a device complete the following steps 1 Select Start Settings Control Panel and double click on the System icon 2 Click on the Device Manager tab 3 Double click on the Computer icon and click on the View Resources tab 4 Clickonthe Interrupt Request IRQ button Scan through the list of IRQ settings to determine which devices are using which interrupt request levels 5 When you locate a device that you are not currently using click on the Cancel button 6 Inthe Device Manager tab double click on the icon for that device 7 Inthe Device usage field a checkmark appears to the left of the current configuration usually Original Configuration Current Click on the checkbox to remove the checkmark 8 Clickonthe Resources tab and make sure that Use automatic settings 1s unchecked 9 Repeat steps 7 through 9 for each unused device 10 Click on the OK button to save your changes 11 Restart Windows Me 9x to ass
18. transceiver control for the PCI 485 4 1 four wire mode 4 2 setting transceiver control mode 4 3 transceiver mode control bytes table 4 4 transceiver mode control modes table 4 2 two wire mode DTR controlled 4 2 two wire mode DTR with Echo 4 2 two wire mode TXRDY auto control 4 3 bias resistors A 5 using in transmission line figure A 6 bits per second 3 3 National Instruments Corporation C cable connection 2 7 changing communication port settings 3 1 changing resources assigned to serial interface C 7 common questions C 6 changing resources assigned to serial interface C 7 determining port associated with COMx C 6 determining type of serial hardware installed C 6 determining version of NI Serial software installed C 6 diagnostic test failure C 6 maximum supported baud rate C 7 naming National Instruments serial ports C 6 removing information about serial boards from Device Manager C 7 communication port settings 3 1 viewing or changing 3 1 communication port settings configuration 3 1 configuration 3 1 conflict free resources C 2 selecting C 2 connecting cables 2 7 connecting cables to four port PCI serial board figure 2 11 connecting two wire devices 2 15 conventions xi customer education E 1 PCI Serial for Windows Me 9x Index 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 descri
19. 4 2 freeing an interrupt request level C 1 full duplex A 3 full duplex system figure A 4 G general programming requirements 4 1 getting started 1 2 glossary G 1 H half duplex A 4 half duplex system figure A 4 hardware installation 2 3 getting started 1 2 verification 2 5 ni com installation getting started 1 2 PCI serial board installation figure 2 4 serial hardware 2 3 serial software 2 1 verification 2 1 verifying hardware installation 2 5 interrupt request level C 1 freeing C 1 introduction 1 1 isolated four port boards D 2 isolated two port boards D 1 L LabVIEW 1 4 using with serial hardware 1 5 LabWindows CVI 1 4 using with serial hardware 1 5 legacy boards C 4 resolving resource conflicts with C 4 maximum supported baud rate C 7 modular jack connector 2 9 pin descriptions table 2 9 pin locations figure 2 9 multidrop network using terminating resistors figure A 5 naming National Instruments serial ports C 6 standard DOS based addresses table C 7 National Instruments Web support E 1 NI Developer Zone E 1 NI Serial setup screen figure 2 2 National Instruments Corporation F3 Index null modem cabling in a DTE to DTE interface figure A 7 0 optional equipment 1 2 overview of serial hardware 1 2 overview of serial software 1 4 P parity 3 3 PCI serial board installation figure 2 4 PCI 232 1 2 PCI 485 1 2 2 15 adva
20. 700 mA typical 1300 mA maximum PCI 232 4 5 MDC ieget eie 70 mA typical 150 mA maximum 12 VD ad mre 40 mA typical 400 mA maximum Isolated Four Port Boards Dimensions eee 10 67 by 17 27 cm 4 2 by 6 8 in I O connector sss 10 position modular jack Isolation voltage From port to 2000 Vrms 60s From any port to host computer 2000 Vrms 60s The four port PCI serial boards require a cable to convert the 10 position modular jack to either DB 9 or DB 25 connectors PCI Serial for Windows Me 9x D 2 ni com Appendix D Specifications Power requirement from PCI channel PCI 485 4 S5 VDC 1000 mA typical 1500 mA maximum PCI 232 4 F5 VDC o 500 mA typical 750 mA maximum Eight Port Boards Dimensions cune 10 67 by14 48 cm 4 2 by 5 7 in I O connector sss 68 position SCSI type connector Power requirement from PCI channel PCI 485 8 9 VPG aan ie 1100 mA typical 2000 mA maximum 232 8 T3 100 mA typical 180 mA maximum 12 V DC cz deeem 80 mA typical 800 mA maximum Sixteen Port Boards Dimensions unen 10 67 by17 52 cm 4 2 by 6 9 in connector sss 100 position SCSI type connector Power requirement from PCI channel PCI 232 16 HED V DG xe urts 250 mA typical 500 mA maximum 1 The eight port PCI serial boards require a cable which is i
21. 85 5 Note Transceiver modes apply to PCI 485 boards The PCI 485 boards support four modes of hardware transceiver control You can use hardware flow control to enable and disable your transmitters and receivers so that they function on different bus topologies Table 4 1 lists the status of the transmitters and receivers under each of the transceiver control modes National Instruments Corporation 4 1 PCI Serial for Windows Me 9x Chapter 4 Using Your Serial Hardware Table 4 1 Transceiver Control Modes Mode Transmitter Receiver Four wire mode Always enabled Always enabled Two wire mode Enabled with Always enabled DTR with echo DTR unasserted Two wire mode Enabled with Enabled with DTR controlled DTR unasserted DTR asserted Two wire mode Enabled with Enabled with TXRDY auto control TXRDY asserted TXRDY unasserted ER Note Signal names with an overscore such as DTR indicate that the signal is active low Four Wire Mode Use the four wire mode for most full duplex systems In this mode the transmitter and receiver are always enabled This mode is the default Two Wire Mode DTR with Echo Use this mode in half duplex systems where the DTR Data Terminal Ready line must control the transmitter In the DTR with echo mode the transmitter is tri stated when the DTR signal of the UART Universal Asynchronous Receiver Transmitter is asserted To transmit your applicatio
22. B 25 Cable 485 Terminator Additional 485 Boards Only Serial Cable o v oy D UN Additional Serial Cable National Instruments Corporation Figure 2 8 Connecting the Cables to Your Four Port PCI Serial Board 2 11 PCI Serial for Windows Me 9x Chapter 2 Installation and Verification 68 Pin Connector PCI Serial for Windows Me 9x Figure 2 9 and Table 2 4 give the pin locations and descriptions of the 68 pin connector which is on the eight port PCI serial board PIN 68 PIN 35 PIN 34 PIN 1 Figure 2 9 68 Pin Connector Pin Locations 2 12 ni com Chapter 2 Installation and Verification Table 2 4 68 Pin Connector Pin Descriptions 68 Pin Connector Port 485 232 485 D Sub 9 232 D Sub 9 1 2 3 4 5 6 7 8 Signal Connector Signal Connector 66 57 49 40 32 23 15 6 RXD 5 DCD 1 68 59 51 42 34 25 17 8 CTS 2 RXD 2 65 56 48 39 31 22 14 5 RTS 3 TXD 3 64 55 47 38 30 21 13 4 RXD 4 DTR 4 60 60 43 43 26 26 9 9 GND 1 GND 5 63 54 46 37 29 20 12 3 CTS 6 DSR 6 62 53 45 36 28 19 11 2 RTS 7 RTS 7 61 52 44 35 27 18 10 1 TXD 8 CTS 8 67 58 50 41 33 24 16 7 TXD 9 RI 9 National Instruments Corporation 2 13 PCI Serial for Windows Me 9x Chapter 2 Installation and Verification 100 Pin Connector Figure 2 10 and Table 2 5 give the pin locations and descriptions
23. ES TRANSIENT FAILURES OF ELECTRONIC SYSTEMS HARDWARE AND OR SOFTWARE UNANTICIPATED USES OR MISUSES OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER COLLECTIVELY TERMED SYSTEM FAILURES ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OF HARM TO PROPERTY OR PERSONS INCLUDING THE RISK OF BODILY INJURY AND DEATH SHOULD NOT BE RELIANT SOLELY UPON 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 IS CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION INCLUDING WITHOUT LIMITATION THE APPROPRIATE DESIGN PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION Compliance FCC Canada Radio Frequency Interference Compliance Determining FCC Class The Federal Communications Commission FCC has rules to protect wireless communic
24. Serial Getting Started with Your PCI Serial Hardware and Software for Windows Me 9x Wy NATIONAL September 2000 Edition y INSTRUMENTS Part Number 321824E 01 Worldwide Technical Support and Product Information ni com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 512 794 0100 Worldwide Offices Australia 03 9879 5166 Austria 0662 45 79 90 0 Belgium 02 757 00 20 Brazil 011 284 5011 Canada Calgary 403 274 9391 Canada Ontario 905 785 0085 Canada Qu bec 514 694 8521 China 0755 3904939 Denmark 45 76 26 00 Finland 09 725 725 11 France 01 48 14 24 24 Germany 089 741 31 30 Greece 30 1 42 96 427 Hong Kong 2645 3186 India 91805275406 Israel 03 6120092 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Mexico D F 5 280 7625 Mexico Monterrey 8 357 7695 Netherlands 0348 433466 New Zealand 09 914 0488 Norway 32 27 73 00 Poland 0 22 528 94 06 Portugal 351 1 726 9011 Singapore 2265886 Spain 91 640 0085 Sweden 08 587 895 00 Switzerland 056 200 51 51 Taiwan 02 2528 7227 United Kingdom 01635 523545 For further support information see the Technical Support Resources appendix To comment on the documentation send e mail to techpubseni com Copyright 1998 2000 National Instruments Corporation All rights reserved Important Information Warranty The serial hardware is warranted against defects in materials and workmanship for a peri
25. Serial software supports all National Instruments serial hardware including the AT PCI PXI CompactPCI and PCMCIA versions Time Saving Development Tools PCI Serial for Windows Me 9x Your kit includes the NI Serial software for Windows Me 9x In addition you can order the LabWindows CVI or LabVIEW software from National Instruments to speed your application development time and make it easier to communicate with your instruments LabVIEW is an easy to use graphical programming environment you can use to acquire data from thousands of different instruments including IEEE 488 2 devices V XI devices serial devices PLCs and plug in data acquisition boards After you have acquired raw data you can convert it into meaningful results using the powerful data analysis routines in LabVIEW LabVIEW also comes with hundreds of instrument drivers which dramatically reduce software development time because you do not have to spend time programming the low level control of each instrument LabWindows CVI is similar to LabVIEW except that it combines an interactive easy to use development approach with the programming power and flexibility of compiled ANSI C code For ordering information or to request free demonstration software contact National Instruments 1 4 ni com Chapter 1 Introduction Using Your Serial Hardware with LabVIEW and LabWindows CVI After you install your serial hardware and the NI Serial software you can u
26. anager You can use it to view or change the configuration of your serial ports To configure a serial port complete the following steps 1 Select Start Settings Control Panel and double click on the System icon 2 Click on the Device Manager tab and click on the View devices by type button 3 Double click on the Ports COM amp LPT icon Note If you want your serial ports to use the names COMI 2 COM3 refer to the Common Questions section of Appendix C Troubleshooting and Common Questions 4 Double click on the port you want to configure and refer to the following instructions e view the hardware resources assigned to the serial port click on the Resources tab e To view or change the port settings click on the Port Settings tab For more information about the settings refer to the next section Port Settings Tab e To change the RS 485 transceiver mode or to enable or disable the FIFOs on the serial hardware in the Port Settings tab click on the Advanced button For more information about the settings refer to the next section Port Settings Tab National Instruments Corporation 3 1 PCI Serial for Windows Me 9x Chapter 3 Configuration 5 Note Transceiver modes apply to RS 485 interfaces only For more information about transceiver modes refer to Chapter 4 Using Your Serial Hardware 5 save your changes click on the OK button To exit without saving the ch
27. and if not installed and used in strict accordance with the instructions in this manual and the CE Mark Declaration of Conformity 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 FOR HOME OR OFFICE USE Changes or modifications not expressly approved by National Instruments could void the user s authority to operate the equipment under the FCC Rules Class A Federal Communications Commission This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Canadian Department of Communications This Class A digital apparatus meets all requirements of the Canadian Interference Causing Equipment Regulations Cet appareil num rique de la classe A respecte toutes les exigences du R glement sur le mat riel b
28. andard Electrical Characteristics of Balanced Voltage Digital Interface Circuits EIA 485 Standard Standard for Electrical Characteristics of Generators and Receivers for Use in Balanced Digital Multipoint Systems Microsoft Win32 Software Developer Kit Online Documentation for Win32 Overviews Win32 Reference and Microsoft Programmer s Guide to Windows 95 95 Microsoft Corporation NSI6550AF Universal Asynchronous Receiver Transmitter with FIFOs National Semiconductor ST16C654 Asynchronous Receiver Transmitter with FIFOs EXAR Corporation Xii ni com 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 serial hardware and the NI Serial software How to Use This Manual Chapter 1 a Gather What You Need p to Get Started y Install the NI Serial Software Install the Serial Hardware Chapter 2 Verify the Installation 5 gt Troubleshooting Yes y Connect the Cables y Chapter 3 Configure the Serial Port v Learn About Transceiver Control Modes Chapter 4 Y Review Programming Requirements y Write Application Program National Instruments Corporation 1 1 PCI Serial for Windows Me 9x Chapter 1 Introduction What You Need to Get Started Before you install your serial hardware and the NI Serial software ma
29. anges click on the Cancel button Port Settings Tab In the Port Settings tab you can change any of the settings by clicking on the arrow button to the right of a field When you click on the arrow button a list of valid values for that field appears and you can select the desired setting from the list Figure 3 1 shows the Port Settings tab N I PCI 232 4 Communications Port Properties Ed Eg General Port Settings Driver Resources Serial Number A5846B 1 Bits per second Data bits 8 Parity None x Stop bis 1 J Flow control Advanced Restore Defaults Figure 3 1 Port Settings Tab The following sections describe the options you can set in the Device Manager Port Settings tab PCI Serial for Windows Me 9x 3 2 ni com Chapter 3 Configuration 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 Stop Bits Stop bits is the number of terminating bits on the end of each transmitted serial byte Flow Control Flow control is a method for temporarily halting the stream of serial bytes to prevent overflow Advanced Port Settings To view or change the advanced port settings click on the Advanced button
30. ations from interference The FCC places digital electronics into two classes These classes are known as Class A for use in industrial commercial locations only or Class B for use in residential or commercial locations Depending on where it is operated this product could be subject to restrictions in the FCC rules In Canada the Department of Communications DOC of Industry Canada regulates wireless interference in much the same way Digital electronics emit weak signals during normal operation that can affect radio television or other wireless products By examining the product you purchased you can determine the FCC Class and therefore which of the two FCC DOC Warnings apply in the following sections Some products may not be labeled at all for FCC if so the reader should then assume these are Class A devices FCC Class A products only display a simple warning statement of one paragraph in length regarding interference and undesired operation Most of our products are FCC Class A The FCC rules have restrictions regarding the locations where FCC Class A products can be operated FCC Class B products display either a FCC ID code starting with the letters EXN Trado Nan Model Kunder or the FCC Class B compliance mark that appears as shown here on the right DE HET FC with FCC Standards Consult the FCC web site http www fcc gov for more information FCC DOC Warnings This equipment generates and uses radio frequency energy
31. dware Profiles Performance View devices by type View devices by connection H E Keyboard Modem Monitor A Mouse lt Multifunction adapters N I PCI 232 4 Multi function Parent BY Network adapters 2 Dther devices PCMCIA socket oy Ports COM amp LPT Communications Port COM1 F N I PCI 232 4 Communications Port COM10 N I PCI 232 4 Communications Port COM oY N I PCI 232 4 Communications Port COM8 F N I PCI 232 4 Communications Port Printer Port LPT2 Properties Refresh Remove Print 1 4 1 Figure 2 4 Device Manager Tab for PCI Serial Board Ports Verify the hardware resources as follows a Inthe Device Manager tab under Multi function adapters double click on a serial board b Click on the Resources tab If the resources were assigned properly the Resources tab shows which resources are assigned to your serial ports c Repeat steps 5a and 5b until you have verified the resources for each board Optional To determine which physical port is associated with COMx complete the following steps a Inthe Device Manager tab under Ports COM amp LPT double click on the serial port COM b Click on the Port Settings tab to display the serial number of the serial hardware and the physical port number starting at 1 For all 2 6 ni com Chapter 2 Insta
32. e esr ette nt ne 4 2 Two Wire Mode DTR with Echo cscccsscsssssssssscsssssssessesesssseseessseessseesesees 4 2 Two Wire Mode DTR Controlled 4 2 Two Wire Mode TXRDY Auto Control eere 4 3 Setting the Transceiver Control Mode sess 4 3 Setting the Transceiver Mode with DeviceloControl 4 4 Appendix A Serial Port Information Appendix B Uninstalling the Hardware and Software Appendix C Troubleshooting and Common Questions Appendix D Specifications Appendix E Technical Support Resources Glossary Index PCI Serial for Windows Me 9x viii ni com Contents Figures Figure 2 1 Add Remove Programs Properties Dialog 2 1 Figure 2 2 NLI Serial Setup 2 2 Figure 2 3 PCI Serial Board Installation eee 2 4 Figure 2 4 Device Manager Tab for PCI Serial Board 2 6 Figure 2 5 DB 9 Connector Pin Locations eeeeeeeenenene 2 8 Figure 2 6 10 Position Modular Jack Pin Locations eee 2 9 Figure 2 7 DB 25 Connector Pin Locations eseeeeeeeeereneee 2 10 Figure 2 8 Connecting the Cables to Your Four Port PCI Serial Board 2 11 Figure 2 9 68 Pin Connector Pin Locations esee 2 12
33. e National Instruments interface that you want to uninstall as shown in Figure B 1 National Instruments Corporation 1 PCI Serial for Windows Me 9x Appendix Uninstalling the Hardware and Software System Properties General Device Manager Hardware Profiles Performance View devices by type View devices by connection H E Keyboard Modem Monitor A Mouse x2 Multifunction adapters gt N I PCI 232 4 Multi function Parent BY Network adapters 2 Dther devices PCMCIA socket aF Ports COM amp LPT Communications Port COM1 N I PCI 232 4 Communications Port COM10 N I PCI 232 4 Communications Port COM oY PCI 232 4 Communications Port 8 N I PCI 232 4 Communications Port Printer Port LPT 2 ee ae ee Properties Refresh Remove Print Oe E 1 Close Cancel Figure B 1 Selecting an Interface to Uninstall Click on the Remove button In the Confirm Device Removal dialog box click on the OK button to remove the hardware information or click on the Cancel button to cancel your request Uninstall the Software PCI Serial for Windows Me 9x Before you uninstall the NI Serial software you must remove the hardware information from your system as described in the previous section To uninstall the NI Serial software complete the following steps 1 2
34. ection Verify the Installation PCI Serial for Windows Me 9x 2 4 ni com Chapter 2 Installation and Verification Verify the Installation Before you verify the installation keep in mind that the serial ports built into your computer are typically named from COMI to COM4 Windows Me 9x typically issues port names to the ports on NI serial hardware starting with COM5 COM6 and so on If not enough resources are available to assign to all the NI serial ports the port with the higher name is not configured To verify the hardware and software installation complete the following steps 1 Select Start Settings Control Panel and double click on the System icon 2 Click on the Device Manager tab and click on the View devices by type button 3 Double click on the Ports COM amp LPT icon to display all of the ports 4 Double click on the Multi function adapters icon National Instruments Corporation The PCI serial boards are configured as devices belonging to the multi function adapters class The multi function parent device is listed under the Multi function adapters icon and each child device is listed as a port under the Ports COM amp LPT icon 2 5 PCI Serial for Windows Me 9x Chapter 2 Installation and Verification PCI Serial for Windows Me 9x Figure 2 4 shows the Device Manager tab for serial hardware that is installed properly System Properties General Device Manager Har
35. er control modes table 4 2 transceiver mode 3 4 setting with DeviceloControl 4 4 transceiver mode control bytes table 4 4 transmission line using bias resistors figure A 6 troubleshooting C 1 diagnostic messages C 2 forcing Windows to detect your hardware C 4 freeing an interrupt request level C 1 resolving resource conflicts with legacy boards C 4 selecting conflict free resources C 2 two port boards specifications D 1 isolated two port boards D 1 two wire devices 2 15 connecting 2 15 typical full duplex system figure A 4 typical half duplex system figure A 4 U uninstalling serial hardware B 1 uninstalling serial software B 2 using FIFO buffers 3 4 using serial hardware 4 1 using this manual 1 1 National Instruments Corporation 1 5 Index V verifying hardware installation 2 5 viewing or changing communication port settings 3 1 W Web support from National Instruments E 1 Win32 Overviews and Win32 Reference 4 1 Win32 Software Development Kit 4 1 worldwide technical support E 2 PCI Serial for Windows Me 9x
36. erhead e ftransfer rates are high you can lower the Receive Buffer value to prevent overrun errors due to interrupt latency e f your data transfer sizes are small and your Receive Buffer value is above your data sizes your system is less efficient Therefore set the Receive Buffer value below your data sizes To reset the fields to their default values at any time click on the Restore Defaults button 3 4 ni com Using Your Serial Hardware This chapter describes how to set the hardware transceiver control mode for your RS 485 interfaces and lists some general programming requirements General Programming Requirements The NI Serial software is fully integrated into the standard Windows Me 9x communications software NI serial ports are used like any other Windows Me 9x communications COM port Windows Me 9x has standard communication functions for use within either Winl6 or Win32 applications When you develop your application remember that you must use the standard Microsoft Windows serial communication functions For information about Microsoft Windows serial communication functions refer to the Win32 Software Development Kit and to the Win32 Overviews and Win32 Reference online help If you have LabVIEW or LabWindows CVI and want to use it with your serial hardware refer to your LabVIEW or LabWindows CVI documentation for information about serial I O functions Advanced Transceiver Control for the PCI 4
37. gacy boards and refer to the Resolving Resource Conflicts with Legacy Boards section later in this appendix Interrupt Test Failed Ifthe Interrupt test failed error message appears you might have an IRQ conflict with legacy boards in your system To solve this problem change the IRQ level assigned to your legacy boards and refer to the next section Resolving Resource Conflicts with Legacy Boards Resolving Resource Conflicts with Legacy Boards Resource conflicts typically occur if your system contains legacy boards that use resources that are not reserved properly If a resource conflict exists write down the resource that caused the conflict and refer to the Microsoft Windows Me 9x user s guide for instructions on how to use the Device Manager to reserve I O and IRQ resources for legacy boards Forcing Windows to Detect Your Hardware If Windows Me 9x did not display the New Hardware Found dialog box it did not detect your hardware To solve this problem complete the following steps 1 Select Start Settings Control Panel and double click on the System icon 2 Clickon the Device Manager tab and click on the View devices by type button 3 Double click on the Other Devices icon Windows Me 9x lists the boards it does not recognize under Other Devices 4 Double click on the Multi function adapters icon where Windows Me 9x lists the parent devices of the PCI ports PCI Serial for Windows Me 9x C 4 ni com Appendi
38. ground handshake input handshake output Hertz Institute of Electrical and Electronic Engineers inches input output interrupt request Industry Standard Architecture kilobits per second meters G 2 ni com RI RTS RX RXD SCSI TX TXD TXRDY UART VDC VXI Winl6 Win32 Glossary megabytes of memory personal computer Peripheral Components Interconnect random access memory ring indicator request to send receive receive data the overscore denotes that the signal is active low seconds Small Computer Systems Interface transmit transmit data the overscore denotes that the signal is active low transmit ready the overscore denotes that the signal is active low Universal Asynchronous Receiver Transmitter volts volts direct current VME eXtensions for Instrumentation describes a 16 bit Windows application describes a 32 bit Windows application National Instruments Corporation G 3 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 jack 2 9 pin descriptions table 2 9 pin locations figure 2 9 68 pin connector 2 12 pin descriptions table 2 13 pin locations figure 2 12 A add remove programs properties dialog box figure 2 1 B 3 advanced port settings 3 3 dialog box figure 3 3 transceiver mode 3 4 using FIFO buffers 3 4 advanced
39. ial for Windows Me 9x Appendix Serial Port Information RS 422 distances of 50 ft and with data rates up to 20 kbytes s However because of improvements in line drivers and cabling you can usually increase the actual performance of the bus past the limitations on speed and distance recommended in the specification RS 485 As specified in the EIA RS 422 A Standard Electrical Characteristics of Balanced Voltage Digital Interface Circuits RS 422 defines a serial interface much like RS 232 However RS 422 uses balanced or differential transmission lines Balanced transmission lines use two transmission lines for each signal The state of each signal is represented not by a voltage level on one line referenced to ground as in RS 232 but rather by the relative voltage of the two lines to each other For example the TX signal is carried on two wires wire A and wire B A logical 1 is represented by the voltage on line A being greater than the voltage on line B logical 0 is represented by the voltage on line A being less than the voltage on line B Differential voltage transmission creates a signal that is more immune to noise as well as voltage loss due to transmission line effects Thus you can use RS 422 for longer distances up to 4 000 ft and greater transmission speeds up to 10 Mbytes s than RS 232 PCI Serial for Windows Me 9x As specified in the EIA 485 Standard Standard for Electrical Characteristics of Genera
40. ification PCI Serial for Windows Me 9x Click on the Install button When prompted insert the NI Serial Software for Windows 2000 NT Me 9x CD and click on the Next button When prompted click on the Finish button to install the program files from floppy disks or CD ROM The setup wizard begins with the screen shown in Figure 2 2 Welcome to the NI Serial Software Setup program This program will install NI Serial Software on your ZA computer It is strongly recommended that you exit all Windows programs before running this Setup program Click Cancel to quit Setup and then close any programs you have running Click Next to continue with the Setup program WARNING This program is protected by copyright law and international treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extent possible under law Cancel Figure 2 2 NI Serial Setup Screen The setup wizard guides you through the necessary steps to install the NI Serial software To exit the setup wizard at any time click on the Cancel button If you need to install your hardware or if this is your first time to install the NI Serial software for Windows Me 9x skip to the next section Install the Hardware Otherwise continue to step 8 If your hardware is already installed restart Windows Me 9x Windows Me 9x should automa
41. ign resources to your serial port Then complete step 6 in the Verify the Installation section of Chapter 2 Installation and Verification National Instruments Corporation C 1 PCI Serial for Windows Me 9x Appendix C Troubleshooting and Common Questions 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 To do so complete the following steps 1 Select Start Settings Control Panel and double click on the System icon Click on the Device Manager tab and click on the View devices by type button Double click on the Multi function adapters icon From the Multi function adapters list double click on the serial interface that you want to change Click on the Resources tab Uncheck the Use automatic settings checkbox and click on the Change Setting button If the system does not allow you to change the settings select the configuration that gives you a conflict free base address and interrupt level from the Setting based on list box Click on the OK button to save your changes Troubleshooting Diagnostic Messages This section lists possible error messages returned by the diagnostic utility along with solutions No National Instruments Serial Port Found Ifthe No National Instruments serial port found error message appears complete the following steps PCI Serial for Windows
42. ion 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 ac
43. ke sure you have all of the following items Q Q Windows Me 9x installed on your computer One of the following serial boards which is included in your kit PCI 232 two four eight or sixteen port 485 two four or eight port 232 isolated two or four port PCI 485 isolated two or four port CD NI Serial Software for Windows 2000 NT Me 9x which is included in your kit Optional Equipment For more information about ordering the following optional equipment contact National Instruments DB 9 RS 485 termination connector PCI 485 only 10 position modular jack to DB 9 cable four port boards only 10 position modular jack to DB 25 cable four port boards only 68 pin to DB 9 adapter cable eight port boards only RS 232 9 pin to 9 pin null modem cable RS 232 9 pin to 25 pin null modem cable RS 485 9 pin to 9 pin null modem cable Breakout box PCI 232 16 port board only Serial Hardware Overview PCI Serial for Windows Me 9x The serial hardware gives you a variety of solutions for serial communication The PCI 232 boards work with the RS 232 protocols and the PCI 485 boards work with the RS 422 and RS 485 protocols You can use the PCI 232 boards for serial communication up to distances of 50 ft You can connect the PCI 485 boards to up to 31 devices using serial cable lengths up to 4 000 ft 1 2 ni com Chapter 1 Introduction Additionally the PCI serial
44. llation and Verification serial hardware PORTI refers to the top port PORT2 refers to the next port down and so on 7 Run the diagnostic utility as follows select Start Programs National Instruments Serial diagnostics The diagnostic utility verifies that your serial driver is installed properly that the configuration of your hardware does not conflict with anything else in your system and that the serial driver can communicate with your hardware correctly If the test is successful your serial hardware and software are installed properly If the test fails refer to Appendix C Troubleshooting and Common Questions to troubleshoot the problem After you verify the hardware and software installation continue to the next section Connect the Cables Connect the Cables For the two port PCI serial boards you can use the standard DB 9 connector found on most serial cables To use the DB 9 connector with the four port PCI serial boards you need the 10 position modular jack to DB 9 cable which is available from National Instruments You can also use a DB 25 connector with the four port PCI serial boards by ordering the 10 position modular jack to DB 25 converter cable from National Instruments The eight port PCI serial boards include a pig tail cable adapter providing eight standard DB 9 connectors The 16 port board includes a break out box providing 16 standard DB 9 connectors 5 Note achieve the specified isola
45. n must first clear the DTR bit to enable the transmitter After the data is fully transmitted your application once again sets the DTR bit to disable the transmitter Because the receiver is always enabled in this mode you not only receive packets from other devices you also receive the packets sent from your transmitter Two Wire Mode DTR Controlled PCI Serial for Windows Me 9x This mode is similar to the two wire DTR with echo mode Use this mode in half duplex systems where the DTR line must control the transmitter Although this mode uses the same method as the DTR with echo mode to control the transmitter the hardware automatically disables the receiver whenever the transmitter is enabled Thus you do not receive the packets sent from your transmitter 4 2 ni com Chapter 4 Using Your Serial Hardware Two Wire Mode TXRDY Auto Control In this mode the serial hardware transparently enables the transmitter and receiver in a two wire system Use this mode to remove the burden of flow control from your application By connecting the transmitter to the TXRDY Transmit Ready line the hardware enables the transmitter for each byte to be transmitted Also the hardware disables the receiver whenever the transmitter is enabled so you do not receive the packets sent from your transmitter 3 Note When you are communicating with a two wire device National Instruments recommends that you use the two wire TXRDY auto c
46. n slot cover on the back panel of the computer Touch a metal part on your chassis to discharge any static electricity Insert the PCI serial board into the slot with the serial connectors toward the opening on the back panel Make sure that you insert the board all the way into the slot The board might seem to click firmly into place even though it is only part of the way in Figure 2 3 shows how to install the PCI serial board into an expansion slot National Instruments Corporation 2 3 PCI Serial for Windows Me 9x Chapter 2 Installation and Verification PCI Serial Board PCI Slot Personal Computer 10 Figure 2 3 PCI Serial Board Installation Screw the PCI serial board mounting bracket to the back panel mounting rail of the computer Replace the cover Turn on your computer and start Windows Me 9x Windows Me 9x should automatically detect your hardware and display one or more New Hardware Found dialog boxes Your operating system Windows Me 9x may show the Windows Default Driver option If so make sure the Windows Default Driver is selected and click on the OK button If the Windows Default Driver option is not shown the installation continues automatically If no New Hardware Found dialog box appears refer to the Forcing Windows to Detect Your Hardware section in Appendix C Troubleshooting and Common Questions The serial hardware installation is complete Continue to the next s
47. nced transceiver control for 4 1 setting transceiver control mode 4 3 transceiver mode control bytes table 4 4 transceiver mode control modes table 4 2 two wire mode DTR controlled 4 2 two wire mode DTR with Echo 4 2 two wire mode TXRDY auto control 4 3 pin descriptions 100 pin connector pin descriptions figure 2 14 100 pin connector pin descriptions table 2 15 68 pin connector pin descriptions figure 2 12 68 pin connector pin descriptions table 2 13 DB 25 connector 2 10 connector pin descriptions table 2 10 connector pin locations figure 2 10 DB 9 100 pin description table 2 15 PCI Serial for Windows Me 9x Index 68 pin description table 2 13 connector 2 8 connector pin descriptions table 2 8 connector pin locations figure 2 8 port settings tab 3 2 figure 3 2 options advanced port settings 3 3 bits per second 3 3 data bits 3 3 flow control 3 3 parity 3 3 stop bits 3 3 restore defaults button 3 4 ports list in device manager figure C 5 R related documentation xii removing information about serial boards from Device Manager C 7 resolving resource conflicts with legacy boards C 4 restoring defaults 3 4 RS 232 standard A 1 features table A 1 RS 422 standard A 2 features table A 1 RS 485 standard A 2 features table A 1 S selecting an interface to uninstall figure B 2 selecting conflict free resources C 2 serial communication issue
48. ncluded in your kit to convert the 68 position connector to eight DB 9 connectors 2 The sixteen port PCI serial boards require a breakout box which is included in your kit to separate the 100 position connector to sixteen DB 9 connectors National Instruments Corporation D 3 PCI Serial for Windows Me 9x Appendix D Specifications Environmental Characteristics Operating environment Component temperature 0 to 70 C Relative humidity 10 to 90 noncondensing Storage environment Temperature en 40 to 120 C Relative humidity 5 to 9096 noncondensing iso te eet FCC Class A Verified Software Characteristics Maximum serial transfer rate RS 485 enc OHNE 460 800 bps RS 3232 iege tees 115 200 bps 1 Actual speed may vary considerably from speed shown due to system and instrumentation capabilities PCI Serial for Windows Me 9x D 4 ni com Technical Support Resources Web Support National Instruments Web support is your first stop for help in solving installation configuration and application problems and questions Online problem solving and diagnostic resources include frequently asked questions knowledge bases product specific troubleshooting wizards manuals drivers software updates and more Web support is available through the Technical Support section of ni com NI Developer Zone The NI Developer Zone at ni
49. od 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 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 document 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 edit
50. of the 100 pin connector which is on the sixteen port PCI serial board PIN 100 ale PIN 50 a m a m m m m E m a m s m m m m m B m m a m m m a m B m m a m m m s m m m m m m m m s m m m a m a m a m s m m m a m m m m m m m m m m m m m m m m m m m m m s m B m a m PIN 51 i amp PIN 1 Figure 2 10 100 Pin Connector Pin Locations PCI Serial for Windows Me 9x 2 14 ni com Chapter 2 Installation and Verification Table 2 5 100 Pin Connector Pin Descriptions 100 Pin Connector Port 232 232 D Sub 9 1 2 3 4 5 617 8 9 10 11 12 13 14 15 16 Signal Connector 2 46 6 42 10 38 14 34 DCD 1 3 47 7 43 11 39 15 35 18 32 20 30 22 28 24 26 RXD 2 4 48 8 44 12 40 16 36 19 133 21 31 23 29 25 27 TXD 3 5 49 9 45 13 41 17 37 DTR 4 1 1 1 1 50 50 50 50 51 51 51 51 100 100 100 100 GND 5 52 96 56 92 60 88 64 84 DSR 6 53 97 57 93 61 89 65 85 68 82 70 80 72 78 74 76 RTS 7 54 98 58 94 62 90 66 86 69 83 71 81 73 79 75 77 CTS 8 55 99 59 95 63 91 67 87 RI 9 These signals are not supported on ports 9 16 of the 16 port PCI serial boards Connecting Two Wire Devices
51. on with two and four wire devices For more information about transceiver control modes refer to Chapter 4 Using Your Serial Hardware serial hardware uses standard 16550 compatible Universal Asynchronous Receiver Transmitters for complete compatibility with standard PC COM ports The serial hardware contains FIFOs First In First Out buffers to reduce susceptibility to interrupt latency for faster transmission rates Full Plug and Play compatibility allows switchless configuration and installation For more information about the serial hardware specifications and operating conditions refer to Appendix D Specifications National Instruments Corporation 1 3 PCI Serial for Windows Me 9x Chapter 1 Introduction NI Serial Software Overview The NI Serial software for Windows Me 9x includes a native Windows device driver that provides full interrupt driven buffered I O for multiple COM ports You can obtain a maximum baud rate of 460 8 KBaud on the PCI 485 and 115 2 KBaud on the PCI 232 You can also use up any number of serial ports under Windows Me 9x The NI Serial software also includes a configuration utility which is fully integrated into the Windows Me 9x Device Manager For more information about software specifications refer to Appendix D Specifications The NI Serial software includes the following components Device driver e Diagnostic utility e Configuration utility e Product manuals The NI
52. ontrol mode Because this mode handles the transmitter receiver enabling for a two wire connection in your hardware it reduces the software overhead required to perform this operation in your application program For more information about serial communication in two or four wire modes refer to the Serial Communication Issues section in Appendix A Serial Port Information Setting the Transceiver Control Mode To set the transceiver control mode use the Windows Me 9x Device Manager For instructions on how to use the Device Manager refer to Chapter 3 Configuration The mode you select in the Device Manager is automatically configured when you open a port on a serial interface You can also set the hardware transceiver control mode from within a DOS application For each port you want to control write the control byte for the mode you want to select to the scratch register of the UART Table 4 2 shows the control bytes for each mode National Instruments Corporation 4 3 PCI Serial for Windows Me 9x Chapter 4 Using Your Serial Hardware Table 4 2 Transceiver Mode Control Bytes Transceiver Mode Control Byte Four wire mode 0x00 Two wire mode DTR with echo 0x01 Two wire mode DTR controlled 0x02 Two wire mode TXRDY auto control 0x03 The scratch register is located at offset 7 from the base address of the port For example if COM2 were located at base address 0x3F8 and you want to set the PCI 485 boa
53. ptions figure 2 14 100 pin connector pin descriptions table 2 15 68 pin connector pin descriptions figure 2 12 68 pin connector pin descriptions table 2 13 connector 2 8 pin descriptions table 2 8 pin locations figure 2 8 DCE vs DTE A 7 default restoration 3 4 determining port associated with COMx C 6 determining type of serial hardware installed C 6 determining version of NI Serial software installed C 6 development tools for saving time 1 4 device manager ports list figure C 5 device manager tab for PCI serial board ports figure 2 6 DeviceloControl 4 4 input values table 4 5 setting transceiver mode with 4 4 diagnostic messages C 2 address test failed C 4 diagnostic utility does not show all installed ports C 3 interrupt test failed C 4 no National Instruments serial port found C 2 troubleshooting C 2 diagnostic test failure C 6 DOS based addresses table C 7 PCI Serial for Windows Me 9x l 2 DTE vs DCE A 7 DTE to DCE interface A 7 straight through cabling in figure A 7 DTE to DTE interface A 7 null modem cabling in figure A 7 duplex architectures A 3 full duplex A 3 half duplex A 4 E eight port boards specifications D 3 environmental characteristics D 4 F FIFO buffers 3 4 flow control 3 3 forcing Windows to detect hardware C 4 four port boards connecting cables to figure 2 11 isolated four port boards D 2 specifications D 2 four wire mode
54. r is connected to the other transmitter and one receiver is connected to the other receiver In this setup no transmissions can occur Thus these applications must use a cabling scheme that connects the transmitter on one device to the receiver on the other device and vice versa This method is known as null modem cabling because it replaces the two modems that traditional RS 232 applications would require between the two DTEs To communicate from one serial port to another use a null modem cable Figure A 6 shows null modem cabling in a DTE to DTE interface Rx D RxD Pin 2 Pin 2 DTE DTE Pin 3 1X D TxD Figure A 6 Null Modem Cabling in a DTE to DTE Interface 1 n Revision D of the RS 232 specification a DCE is a Data Circuit Terminating Equipment National Instruments Corporation A 7 PCI Serial for Windows Me 9x Uninstalling the Hardware and Software This appendix describes how to uninstall your serial hardware and the NI Serial software Uninstall the Hardware Before you physically remove the serial hardware from your system you must remove the hardware information To do so complete the following steps 1 Select Start Settings Control Panel and double click on the System icon 2 Selectthe Device Manager tab and click on the View devices by type button Double click on the Multi function adapters icon 4 From the Multi function adapters list select th
55. rd to two wire mode with DTR control you would write a 0 02 to address Ox3FF The PCI 485 board would immediately switch to the two wire mode with DTR control Setting the Transceiver Mode with DeviceloControl The NI Serial software extends the DeviceroControl Windows function for programming the transceiver control mode To program the transceiver control mode using DeviceloControl complete the following steps 1 Add the following lines to your source code include winioctl h define IOCTL SERIAL SET TRANSCEIVER MODE CTL CODE FILE DEVICE SERIAL PORT 37 METHOD BUFFERED FILE ANY ACCESS 2 Use the Win32 function DeviceIoControl as follows a Use the defined control code value listed in step 1 to set the transceiver mode b Usethe input buffer values unsigned long listed in Table 4 3 for programming different transceiver modes PCI Serial for Windows Me 9x 4 4 ni com Chapter 4 Using Your Serial Hardware Table 4 3 DeviceloControl Function Input Values DeviceloControl Transceiver Mode Function Input Value Four wire mode 128 Two wire mode DTR with echo 129 Two wire mode DTR controlled 130 Two wire mode TXRDY auto control 131 National Instruments Corporation For example to set TXRDY two wire auto control mode use the following code ULONG TranceiverMode 131 DeviceloControl hDevice IOCTL SERIAL SET TRANSCEIVER MODE PVOID amp TransceiverMode
56. rouilleur du Canada Class B Federal Communications Commission This equipment has been tested and found to comply with the limits for a Class B digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures e Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver Connect the equipment into an outlet on a circuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help Canadian Department of Communications This Class B digital apparatus meets all requirements of the Canadian Interference Causing Equipment Regulations Cet appareil num rique de la classe B respecte toutes les exigences du R glement sur le mat riel brouilleur du Canada European Union Compliance to EEC Directives Readers
57. rts you installed complete the following steps 1 National Instruments Corporation Verify the hardware resources as follows a Inthe Device Manager tab under Multi function adapters double click on a serial board b Ifaserial board is missing from the Multi function adapters list reinstall the hardware and software For instructions on how to do so refer to Chapter 2 Installation and Verification c Click on the Resources tab If the resources were assigned properly the Resources tab shows which resources are assigned to your serial ports d Check the hardware resources If they are in conflict refer to the previous section Selecting Conflict Free Resources In some versions of Windows Me 9x in the Device Manager the Driver tab shows information about the installed driver Make sure that the National Instruments serial driver is installed for the port If the serial driver is a Microsoft driver reinstall the NI Serial software For instructions on how to do so refer to Chapter 2 Installation and Verification Physically make sure the correct number of boards ports are installed C 3 PCI Serial for Windows Me 9x Appendix C Troubleshooting and Common Questions Address Test Failed Ifthe address test failed Interrupt test cannot be performed error message appears you might have an address conflict with legacy boards in your system To solve this problem change the base addresses assigned to your le
58. s 3 bias resistors 5 DTE vs DCE A 7 PCI Serial for Windows Me 9x l 4 duplex architectures A 3 termination A 5 serial hardware forcing Windows to detect C 4 general programming requirements 4 1 installation 2 3 overview 1 2 selecting an interface to uninstall figure B 2 uninstalling B 1 using 4 1 using with LabVIEW and LabWindows CVI 1 5 serial port information A 1 serial port names 2 5 serial software add remove programs properties dialog box figure B 3 installation 2 1 overview 1 4 successful uninstallation figure B 4 uninstalling B 2 setting transceiver control mode 4 3 setting with DeviceloControl 4 4 setup screen for NI Serial software figure 2 2 sixteen port boards specifications D 3 software characteristics D 4 software installation 2 1 getting started 1 2 specifications D 1 eight port boards D 3 environmental characteristics D 4 four port boards D 2 isolated four port boards D 2 isolated two port boards D 1 sixteen port boards D 3 software characteristics D 4 two port boards D 1 standard DOS based addresses table C 7 stop bits 3 3 ni com straight through cabling in a DTE to DCE interface figure A 7 successful uninstallation figure B 4 system integration by National Instruments E 1 T technical support resources E 1 termination 5 multidrop network using terminating resistors figure A 5 time saving development tools 1 4 transceiv
59. se standard serial I O functions in LabVIEW and LabWindows CVI with your serial interface If you already have LabVIEW or LabWindows CVI and want to use it with your serial hardware refer to your LabVIEW or LabWindows CVI documentation for information about serial I O functions National Instruments Corporation 1 5 PCI Serial for Windows Me 9x Installation and Verification This chapter describes how to install the NI Serial software serial hardware and cables and how to verify the installation Install the Software Before you install your serial hardware complete the following steps to install the NI Serial software for Windows Me 9x 1 Select Start Settings Control Panel 2 Double click on the Add Remove Programs icon A dialog box similar to the one shown in Figure 2 1 appears Add Remove Programs Properties Install Uninstall Windows Setup Startup Disk To install new program from floppy disk or CD ROM drive click Install C7 The following software can be automatically removed by Windows To remove a program or to modify its installed components select it rom the list and click Add Remove Netscape Navigator Paint Shop Pro Version 3 12 SoftICE for Windows 95 Add Remove OK Apply Figure 2 1 Add Remove Programs Properties Dialog Box National Instruments Corporation 2 1 PCI Serial for Windows Me 9x Chapter 2 Installation and Ver
60. select or click on in the software such as menu items and dialog box options Bold text also denotes parameter names Signal names with an overscore such as DTR indicate that the signal is active low Italic text denotes variables emphasis a cross reference or an introduction to a key concept This font also denotes text that is a placeholder for a word or value that you must supply Text in this font denotes text or characters that you should enter from the keyboard sections of code programming examples and syntax examples This font is also used for the proper names of disk drives paths directories programs subprograms subroutines device names functions operations variables filenames and extensions and code excerpts National Instruments Corporation Xi PCI Serial for Windows Me 9x About This Manual monospace bold Bold text in this font denotes the messages and responses that the computer automatically prints to the screen This font also emphasizes lines of code that are different from the other examples PCI serial boards PCI serial boards refers to all port versions of the PCI serial boards Related Documentation The following documents contain information that you might find helpful as you read this manual PCI Serial for Windows Me 9x ANSI EIA 232 D Standard Interface Between Data Terminal Equipment and Data Circuit Terminating Equipment Employing Serial Binary Data Interchange EIA RS 422 A St
61. sizeof ULONG lpOutBuffer nOutBufferSize lpBytesReturned lpOverlapped 4 5 PCI Serial for Windows Me 9x Serial Port Information RS 232 This appendix describes the RS 232 RS 422 and RS 485 standards and explains some of the issues involved with these types of serial communication Table A 1 lists the features of the RS 232 RS 422 and RS 485 standards Table A 1 RS 232 RS 422 and RS 485 Features Feature RS 232 RS 422 RS 485 Type of Single ended Differential Differential transmission lines Maximum number 1 1 32 of drivers Maximum number 1 10 32 of receivers Maximum cable 50 ft 4 000 ft 4 000 ft length Maximum data rate 20 kbytes s 10 Mbytes s 10 Mbytes s Maximum CMV 25 7 12 to 7 V Driver output 5to25 V 2to6 V 1 5to6 V Driver load gt 3kQ 100 Q 60 Q National Instruments Corporation A 1 As specified in the ANSI EIA 232 D Standard Interface Between Data Terminal Equipment and Data Circuit Terminating Equipment Employing Serial Binary Data Interchange RS 232 standardizes serial communication between computers and between computer terminals and modems Most applications use the RS 232 standard to interface peripherals to personal computers RS 232 uses transmission lines in which the state of each signal is represented by referencing the voltage level of a single line to ground RS 232 was designed for serial communication up to PCI Ser
62. tically detect your hardware and display one or more New Hardware Found dialog boxes Your operating system Windows Me 9x may show the Windows Default Driver option If so make sure the Windows Default Driver is selected and click on the OK button If the Windows Default Driver option is not shown the installation continues automatically When you finish continue to the Verify the Installation section 2 2 ni com Chapter 2 Installation and Verification If no New Hardware Found dialog box appears refer to the Forcing Windows to Detect Your Hardware section in Appendix C Troubleshooting and Common Questions Install the Hardware hy Note If you are installing a PCI 485 you might need to adjust the value of the bias resistors depending on your application Bias resistors are not available on the eight port PCI 485 For more information refer to Appendix A Serial Port Information UN Caution Before you remove your board from the package touch the antistatic plastic package to a metal part of your system chassis to discharge electrostatic energy which can damage several components on your serial board To install your PCI serial board complete the following steps 1 Turn off your computer Keep the computer plugged in so that it remains grounded while you install the PCI serial board 2 Remove the top or side cover of the computer Find an unused PCI expansion slot in your computer 4 Remove the corresponding expansio
63. tinues automatically National Instruments Corporation C 5 PCI Serial for Windows Me 9x Appendix C Troubleshooting and Common Questions Common Questions PCI Serial for Windows Me 9x How can I determine which type of serial hardware I have installed 1 Select Start Settings Control Panel and double click on the System icon 2 Clickon the Device Manager tab and click on the View devices by type button 3 Double click on the Ports COM amp LPT icon to display a list of installed ports How can I determine which version of the NI Serial software I have installed The Read Me file gives the version of the software To open the file select Start Programs National Instruments Serial Read Me What do I do if the diagnostic test fails with an error Refer to the Troubleshooting Diagnostic Messages section earlier in this appendix How can I determine which port is associated with COMx To determine which physical port is associated with COMx complete the following steps 1 Inthe Device Manager tab under Ports COM amp LPT double click on a serial port 2 Clickon the Port Settings tab to display the serial number of the serial hardware and the physical port number starting at 1 For all serial hardware PORT refers to the top port PORT2 refers to the next port down and so on How can I change the COM numbers of my National Instruments serial ports To name serial ports COMI COM2 COMG
64. tion voltage for four port isolated PCI serial boards use only the 10 position modular jack to DB 9 cable that is included in your four port isolated PCI serial board kit National Instruments Corporation 2 7 PCI Serial for Windows Me 9x Chapter 2 DB 9 Connector PCI Serial for Windows Me 9x Installation and Verification Figure 2 5 and Table 2 1 give the pin locations and descriptions of the DB 9 connector which is on the two port PCI serial board the 10 position modular jack to DB 9 cable the cable adapter for the eight port board and the DB 9 connectors to the sixteen port breakout box PIN 5 PIN 1 j PIN 9 PIN 6 Figure 2 5 DB 9 Connector Pin Locations Tahle 2 1 DB 9 Pin Descriptions DB 9 Pin 232 Signal 485 Signal 1 DCD GND 2 RXD CTS HSI 3 TXD RTS HSO 4 DTR RXD 5 GND RXD 6 DSR CTS HSI 7 RTS RTS HSO 8 CTS TXD 9 RI TXD sixteen port board These signals are not supported by the isolated 232 boards or ports 9 16 of the RS 232 2 8 ni com Modular Jack Connector Chapter 2 Installation and Verification Figure 2 6 and Table 2 2 give the pin locations and descriptions of the 10 position modular jack which is on the four port PCI serial board Pin 1 I Pin 10 Figure 2 6 10 Position Modular Jack Pin Locations Tahle 2 2 10 Position Modular
65. tions 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 LabVIEW National Instruments and ni com are trademarks of National Instruments Corporation Product and company names mentioned herein are trademarks or trade names of their respective companies WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS 1 NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN 2 IN ANY APPLICATION INCLUDING THE ABOVE RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE IMPAIRED BY ADVERSE FACTORS INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY COMPUTER HARDWARE MALFUNCTIONS COMPUTER OPERATING SYSTEM SOFTWARE FITNESS FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION INSTALLATION ERRORS SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVIC
66. tors and Receivers for Use in Balanced Digital Multipoint Systems RS 485 expands on the RS 422 standard by increasing the number of devices you can use from 10 to 32 and by working with half duplex bus architectures Unlike the RS 422 standard RS 485 addresses the issue of using multiple transmitters on the same line RS 485 defines the electrical characteristics necessary to ensure adequate signal voltages under maximum load short circuit protection RS 485 can also withstand multiple drivers driving conflicting signals at the same time A 2 ni com Appendix Serial Port Information Serial Communication Issues This section explains some serial communication issues including duplex architectures termination methods bias resistors and types of connecting equipment Duplex Architectures Duplex refers to the means of bandwidth usage in a serial system The two common means of bi directional serial communication are full duplex and half duplex Half duplex communication involves a transmitter and a receiver connected to each end of the same wire or pair of wires Because the same transmission line both sends and receives data devices cannot send data in both directions at the same time First one device transmits over the wire s to the receiver of the second device When the first device finishes transmitting both devices switch the connections from their transmitter to their receiver or vice versa The device that was receiving
67. ud for RS 485 and 115 2 Kbaud for RS 232 To set the baud rate use the SetCommState Win32 function and pass the actual value of the baud rate in the BaudRate field of the DCB structure National Instruments Corporation C 7 PCI Serial for Windows Me 9x Specifications This appendix describes the characteristics of the serial hardware the NI Serial software along with the recommended operating conditions Two Port Boards Dimensions onem 10 67 by 14 22 cm 4 2 by 5 6 in T O connector eee DB 9 Power requirement from PCI channel PCI 485 2 oA D OESE 350 mA typical 750 mA maximum PCI 232 2 3 ea Aes 50 mA typical 100 mA maximum 12 iiiuessssutes 20 mA typical 200 mA maximum Isolated Two Port Boards see 10 67 14 22 4 2 by 5 6 in eene DB 9 Isolation voltage From port to 2000 Vrms 60s From any port to host computer 2000 Vrms 60s National Instruments Corporation D 1 PCI Serial for Windows Me 9x Appendix D Specifications Power requirement from PCI channel PCI 485 2 T3 800 mA typical 1300 mA maximum PCI 232 2 45 VDC zu meme 400 mA typical 650 mA maximum Four Port Boards Dimensions erect 10 67 by 17 27 cm 4 2 by 6 8 in I O connector sss 10 position modular jack Power requirement from PCI channel PCI 485 4 9 MDC ADR
68. urrent events If you have searched the technical support resources on our Web site and still cannot find the answers you need contact your local office or National Instruments corporate Phone numbers for our worldwide offices are listed at the front of this manual PCI Serial for Windows Me 9x E 2 ni com Glossary Prefix Meaning Value p pico 10 12 n nano 10 u micro 10 6 m milli 10 3 kilo 103 M mega 106 G giga 10 t tera 10 degrees Q ohms percent A amperes ANSI American National Standards Institute b bits B bytes baud bits per second bps bits per second C Celsius COM Computer Output Microform used in reference to a communication port CTS clear to send DB xx subminiature D connector where xx is the number of pins National Instruments Corporation G 1 PCI Serial for Windows Me 9x Glossary DCD DCE DLL DMA DSR DTE DTR duplex EIA EMI FCC FIFO ft GND HSI HSO UO IRQ ISA Kbaud PCI Serial for Windows Me 9x data carrier detect data communications equipment or data circuit terminating equipment dynamic link library direct memory access data set ready data terminal equipment data terminal ready the overscore denotes that the signal is active low the means of bandwidth usage in a serial system Electronic Industries Association electromagnetic interference Federal Communications Commission First In First Out feet
69. x Troubleshooting and Common Questions 5 Select the interface that Windows 9 did not detect as shown in Figure C 1 System Properties x General Device Manager Hardware Profiles Performance View devices by type View devices by connection Keyboard Modem Monitor A Mouse lt gt Multifunction adapters N I PCI 232 4 Multi function Parent E7 Network adapters E Dther devices PCMCIA socket ov Ports COM amp LPT a Y Communications Port 1 R N I PCI 232 4 Communications Port COM10 N I PCI 232 4 Communications Port COM F N I PCI 232 4 Communications Port COM8 R N I PCI 232 4 Communications Port Printer Port LPT 2 re Properties Refresh Remove Print OG Du R E e Figure C 1 Ports List in Device Manager Click on the Remove button 6 7 Click on the OK button to remove the serial hardware information 8 Repeat steps 5 through 7 until you have removed all serial interfaces 9 Click on the Refresh button 10 Windows Me 9x should automatically detect your hardware and display one or more New Hardware Found dialog boxes Your operating system Windows Me 9x may show the Windows Default Driver option If so make sure the Windows Default Driver is selected and click on the OK button If the Windows Default Driver option is not shown the installation con
Download Pdf Manuals
Related Search
Related Contents
Manual del Usuario - i-SENS Philips Wall charger SJM3120 取 扱 説 明 書 - マイクロステップ Wireless Adapter Toyota SPB15 sewing machine RAD Data comm E1 User's Manual Energy Speaker Systems indoor / outdoor loudspeaker User's Manual FT- POUSSIERES METALLIQUES Copyright © All rights reserved.
Failed to retrieve file