National Instruments AT-232/2 Getting Started Download Page 24

Chapter 2      Installation and Verification

©

 National Instruments Corporation

2-7

Serial for Windows NT

Verify the Installation

Determine Which Physical Port Is Associated with COMx

Select Start»Settings»Control Panel, and double-click on niports. A
list of National Instruments ports installed, along with their logical COMx
names, appears. If your interface is not on the list, refer to Appendix D,
Troubleshooting and Common Questions.

Select the COM port you are interested in and click on the Settings
button to display the General Port Settings dialog box for that port. This
dialog box displays the serial number of the serial hardware and the
physical port number starting at 1. On all serial hardware, PORT1 refers
to the top port, PORT2 refers to the next port down, and so on. On newer
hardware the physical ports are labeled PORT1, PORT2, and so on.

When you have finished verifying the driver installation and physical
port, proceed to the next section, Run the Diagnostic Test.

Run the Diagnostic Test

To verify and test the installation, run the diagnostic program that came
with your NI Serial software. The diagnostic program 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.

To run the test, select the diagnostics item under
Start»Programs»NI Serial Software for Windows NT.

If the diagnostic test completes with no failures, your serial hardware and
software are installed properly. If it fails, refer to Appendix D,
Troubleshooting and Common Questions, for troubleshooting
instructions.

Summary of Contents for AT-232/2

Page 1: ...Getting Started with Your Serial Hardware and Software for Windows NT June 1997 Edition Part Number 321572A 01 Copyright 1997 National Instruments Corporation All Rights Reserved...

Page 2: ...6 Austria 0662 45 79 90 0 Belgium 02 757 00 20 Canada Ontario 905 785 0085 Canada Qu bec 514 694 8521 Denmark 45 76 26 00 Finland 09 725 725 11 France 01 48 14 24 24 Germany 089 741 31 30 Hong Kong 26...

Page 3: ...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 w...

Page 4: ...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...

Page 5: ...ables to test this device and provides them for sale to the user The use of inferior or nonshielded interface cables could void the user s authority to operate the equipment under the FCC rules If nec...

Page 6: ...Hardware Overview 1 2 NI Serial Software Overview 1 4 Optional Programming Tools 1 4 Using the Serial Hardware with Other National Instruments Products 1 5 Chapter 2 Installation and Verification Ins...

Page 7: ...2 3 4 AT Boards Shared IRQ 3 5 AT Boards Non Shared IRQ 3 7 Chapter 4 Using Your Serial Hardware Advanced Transceiver Control AT 485 PCMCIA 485 4 1 Four Wire Mode 4 2 Two Wire Mode DTR with Echo 4 2...

Page 8: ...moving the Hardware Information C 1 Uninstalling the NI Serial Software C 2 Appendix D Troubleshooting and Common Questions Missing Serial Port in the niports List D 1 Resolving Resource Conflicts D 1...

Page 9: ...7 Figure B 6 Null Modem Cabling in a DTE to DCE Interface B 7 Figure C 1 Selecting an Interface to Uninstall C 2 Figure C 2 Add Remove Programs Properties Dialog Box C 3 Figure C 3 Uninstallation Resu...

Page 10: ...e Chapter 2 Installation and Verification contains instructions to help you install the serial hardware NI Serial software and cables Chapter 3 Configuration contains instructions to help you view or...

Page 11: ...Fonts options from the last dialog box bold Bold text denotes the names of menus menu items parameters dialog boxes or dialog box buttons or options bold italic Bold italic text denotes a note cautio...

Page 12: ...eceivers for Use in Balanced Digital Multipoint Systems Microsoft Win32 Software Developer Kit Online Documentation for Win32 Overviews Win32 Reference and Microsoft Windows NT System Guide Microsoft...

Page 13: ...describes the serial hardware and the NI Serial software How to Use This Manual Yes No Chapter 2 Chapter 3 Write Application Program Passes Gather What You Need to Get Started Chapter 1 Install the N...

Page 14: ...Microsoft Windows NT version 4 0 or higher installed on your computer If you have a four port isolated interface you also need a 10 position modular jack to DB 9 cable which is included in your kit Op...

Page 15: ...nual references to AT 232 and AT 485 generally refer to either version The isolated AT 232 and AT 485 boards are designed for applications in harsh environments The isolated ports provide reliable com...

Page 16: ...s for more information about software specifications and recommended operating conditions The NI Serial software includes the following components Device driver Diagnostic test Configuration utility O...

Page 17: ...VIEW also includes an extensive instrument driver library For more information about LabWindows CVI and LabVIEW contact National Instruments Using the Serial Hardware with Other National Instruments P...

Page 18: ...nstall the Plug and Play hardware you must install the PnP ISA Enabler driver included on your Windows NT 4 0 CD ROM Complete the following steps to install the driver 1 Locate the Pnpisa inf file in...

Page 19: ...rs Figure 2 1 Add Remove Programs Properties Dialog Box You can use this same applet to uninstall the NI Serial software at a later time if you want to Refer to Appendix C Uninstalling the Serial Hard...

Page 20: ...can exit the setup where appropriate by clicking on the Cancel Note This installation backs up the Microsoft Windows NT serial driver serial sys to serial bak and then overwrites serial sys serial sy...

Page 21: ...to connect the cable PCMCIA Socket Portable Computer NA TI ON AL IN ST RU ME NT S The Soft war e is the Inst rum ent PCMCIA Serial Cable IN S E R T C A R D Figure 2 3 Inserting a PCMCIA Serial Card Pr...

Page 22: ...to install an AT serial board Note If you are installing an AT 485 you may need to adjust the value of the bias resistors depending on your application For more information refer to Appendix B Serial...

Page 23: ...our serial hardware In each dialog box make sure that Windows Default Driver is selected and click on OK 8 The serial configuration software displays a PnP Port Configuration dialog box Select a nonco...

Page 24: ...rt PORT2 refers to the next port down and so on On newer hardware the physical ports are labeled PORT1 PORT2 and so on When you have finished verifying the driver installation and physical port procee...

Page 25: ...ted four port kits You can also use a DB 25 connector with the four port AT serial boards by ordering the 10 position modular jack to DB 25 cable from National Instruments Note To achieve the specifie...

Page 26: ...D CTS HSI Pin 3 TXD RTS HSO Pin 4 DTR RXD Pin 5 GND RXD Pin 6 DSR CTS HSI Pin 7 RTS RTS HSO Pin 8 CTS TXD Pin 9 RI TXD These signals are not supported by the isolated 232 ports Figure 2 6 and Table 2...

Page 27: ...XD CTS HSI Pin 8 TXD RTS HSO Pin 7 DTR RXD Pin 6 GND RXD Pin 5 DSR CTS HSI Pin 4 RTS RTS HSO Pin 3 CTS TXD Pin 2 RI TXD Pin 1 No Connect No Connect These signals are not supported by the isolated 232...

Page 28: ...CD GND Pin 20 DTR RXD Pin 22 RI TXD Pins not listed in this table are No Connect These signals are not supported by the isolated 232 ports Figure 2 8 shows how to connect the cables when you install a...

Page 29: ...ct an RS 485 data acquisition device to a port on your AT 485 using half duplex communication you need a single twisted pair of wires At the AT 485 you should connect the TXD and RXD signals pins 8 an...

Page 30: ...ort Settings The serial configuration utility is fully integrated with the Windows NT Control Panel You can use it to examine or modify the configuration of the serial port Follow these steps to confi...

Page 31: ...tings dialog box to view or configure the resources for the port Refer to the Resource Settings section later in this chapter for more information 5 Click on Delete to remove the port 6 Click on Add t...

Page 32: ...d control to enable or disable the FIFO buffers on the serial port FIFO buffers are present on the 16550 compatible UARTs one for the transmitter and one for the receiver Resources Click on the Resour...

Page 33: ...r the PCMCIA 485 Base I O Address The base I O address assigned to the port IRQ The IRQ assigned to the port PCMCIA 232 2 PCMCIA 485 2 These cards require two base I O settings one for each port and t...

Page 34: ...te When you select resources for the PCMCIA cards use the Microsoft Windows NT diagnostics utility to make sure that the resources have not been assigned to any other device This utility displays a li...

Page 35: ...Output Range Each Input Output Range listing displays the I O address ranges assigned to the corresponding port on the board Interrupt Request The IRQ shared between the ports on the board Note The ni...

Page 36: ...ut Range The base I O address range assigned to the port IRQ The IRQ assigned to the port Note The niports utility informs you if your resources conflict with the resources of any other interface in t...

Page 37: ...e flow control to enable and disable your transmitters and receivers to work on different bus topologies Table 4 1 lists the status of the transmitters and receivers under each of the transceiver cont...

Page 38: ...wo 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 transmi...

Page 39: ...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 F...

Page 40: ...uirements Once installed the NI Serial software is integrated into the standard Windows NT communications software NI serial ports are used like any other Windows NT communications COM port Windows NT...

Page 41: ...andard Microsoft Windows serial communication functions For information about Microsoft Windows serial communication functions refer to the Win32 Software Development Kit Online help for Win32 Overvie...

Page 42: ...s Hardware Specifications Table A 1 Physical Characteristics of the Two Port AT Serial Boards Characteristic Specification Dimensions 10 67 by 16 51 cm 4 2 by 6 5 in I O Connector DB 9 Power Requireme...

Page 43: ...ted 5 VDC 220 mA Typical 260 mA Maximum 5 VDC 160 mA Typical 200 mA Maximum Table A 3 Physical Characteristics of the Four Port AT Serial Boards Characteristic Specification Dimensions 10 67 by 16 51...

Page 44: ...360 mA Maximum 5 VDC 280 mA Typical 320 mA Maximum The four port isolated AT serial board requires cables which are included in your kit to convert the 10 position modular jack to a DB 9 connector Us...

Page 45: ...ing Storage Environment Temperature Relative Humidity 20 to 70 C 5 to 90 noncondensing EMI AT Serial AT Serial Isolated PCMCIA Serial FCC Class B Certified FCC Class A Verified FCC Class A Verified So...

Page 46: ...ial communication up to distances of 50 ft and with data rates up to 20 kb s However because of improvements in line drivers and cabling you can often increase the actual performance of the bus past t...

Page 47: ...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 ne...

Page 48: ...devices use a separate wire or pair of wires for simultaneous transmission in each direction Thus there is no need to switch between transmitting and receiving In a differential serial bus for exampl...

Page 49: ...uplex A typical half duplex multidrop bus architecture also involves a master slave protocol In a half duplex system all transmitters and receivers are connected to the same transmission line A half d...

Page 50: ...485 termination connector that contains embedded terminating resistors for easy termination Figure B 3 shows a multidrop network using terminating resistors MASTER Slave 1 100 Slave 2 Slave n 100 Tx T...

Page 51: ...ctively achieve the same result DTE vs DCE Data Terminal Equipment DTE and Data Communications Equipment DCE were the terms used in the RS 232 specification for the types of equipment on either end of...

Page 52: ...are wired together using a straight through cable one transmitter is connected to the other transmitter and one receiver is connected to the other receiver In this setup no transmissions can occur Thu...

Page 53: ...NI Serial software Removing the Hardware Information Before physically removing the serial hardware from the computer you must remove the hardware information from the Windows NT Control Panel Follow...

Page 54: ...nstalling the software you should remove all serial port information from the Windows NT Control Panel as described in the previous section You do not need to shut down Windows NT before uninstalling...

Page 55: ...Figure C 2 Add Remove Programs Properties Dialog Box 3 Select the serial software you want to remove and click the Add Remove button The uninstall program runs and removes all folders utilities and r...

Page 56: ...Windows NT C 4 National Instruments Corporation Figure C 3 Uninstallation Results 4 Shut down Windows NT power off your computer and remove your serial interfaces now If you want to reinstall the har...

Page 57: ...the AT boards without the Microsoft PnP ISA Enabler driver For more information refer to the Installing the Microsoft PnP ISA Enabler Driver section of Chapter 2 Installation and Verification Resolvin...

Page 58: ...lation and Verification to follow these troubleshooting steps 1 Verify the hardware resources 2 Verify that the National Instruments serial driver is installed 3 If either the serial hardware or seria...

Page 59: ...l Panel to display a list of installed ports What do I do if the diagnostic test fails with an error Refer to the troubleshooting sections of this manual for specific information about what might caus...

Page 60: ...e Electronic Services Bulletin Board Support National Instruments has BBS and FTP sites dedicated for 24 hour support with a collection of files and documents to answer most common customer questions...

Page 61: ...onal Instruments office in your country contact the source from which you purchased your software to obtain support Telephone Fax Australia 03 9879 5166 03 9879 6277 Austria 0662 45 79 90 0 0662 45 79...

Page 62: ...Display adapter ________________ Mouse ____ yes _____ no Other adapters installed _____________________________ Hard disk capacity ________ MB Brand ____________________________________________ Instru...

Page 63: ...ly before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently National Instruments Products Serial Hardware and Revision Numbe...

Page 64: ...ency Type of Monitor Card Installed Windows Version Application Programming Language Microsoft C Visual Basic for Windows Number of Serial Ports in System Built In Adapter Cards Other Boards in System...

Page 65: ...________________________________________________________________________ ________________________________________________________________________________ ______________________________________________...

Page 66: ...Celsius COM Computer Output Microform DB xx subminiature D connector where xx is the number of pins DCE Data Communications Equipment or Data Circuit Terminating Equipment DMA direct memory access DT...

Page 67: ...s I O input output IRQ interrupt request ISA Industry Standard Architecture m meters MB megabytes of memory PC personal computer RAM random access memory RX Receive s seconds TX Transmit TXRDY Transmi...

Reviews: