Summary of Contents for National Instruments PCMCIA-232
Page 1
Serial Getting Started with Your PCMCIA Serial Hardware and Software for Windows NT PCMCIA Serial for Windows NT September 2000 Edition Part Number 321826C-01...
Page 3
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.
Page 4
Classification requirements are the same for the Federal Communications Commission (FCC) and the Canadian Department of Communications (DOC). Changes or modifications not expressly approved by National Instruments could void the user’s authority to operate the equipment under the FCC Rules.
Page 5
• 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.
Page 7
Contents Chapter 4 Using Your Serial Hardware Advanced Transceiver Control for the PCMCIA-485........... 4-1 Four-Wire Mode ..................... 4-1 Two-Wire Mode: DTR with Echo ..............4-2 Two-Wire Mode: DTR Controlled ..............4-2 Two-Wire Mode: TXRDY Auto Control............4-2 Setting the Transceiver Control Mode ............4-2 Setting the Transceiver Mode with DeviceIoControl ........
About This Manual This manual contains instructions to help you install and configure the National Instruments serial hardware and the NI-Serial software for Windows NT. The serial hardware covered by this manual includes the PCMCIA-232, PCMCIA-232/2, PCMCIA-232/4, PCMCIA-485, and PCMCIA-485/2. This manual assumes that you are already familiar with Windows NT.
About This Manual Related Documentation The following documents contain information that you might find helpful as you read this manual: ANSI/EIA-232-D Standard, Interface Between Data Terminal • Equipment and Data Circuit-Terminating Equipment Employing Serial Binary Data Interchange EIA/RS-422-A Standard, Electrical Characteristics of Balanced •...
50 ft. You can connect the PCMCIA-485 hardware with up to 31 devices using serial cable lengths up to 4,000 ft. The PCMCIA-232 is available with one, two, or four ports. The PCMCIA-485 is available in a one-port version or two-port version. All PCMCIA cards come with cables for each port that terminates in a standard DB-9 D-Sub connector.
• Configuration utility • Product manuals The NI-Serial software supports all National Instruments serial hardware, including all AT, PCI, PXI, CompactPCI, and PCMCIA versions. Time-Saving Development Tools Your kit includes the NI-Serial software for Windows NT. 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.
ANSI C code. For ordering information, or to request free demonstration software, contact National Instruments. Using Your Serial Hardware with LabVIEW and LabWindows/CVI After you install your serial hardware and the NI-Serial software, you can use standard serial I/O functions in LabVIEW and LabWindows/CVI with your serial interface.
Chapter 2 Installation and Verification Figure 2-1. Add/Remove Programs Properties Dialog Box 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 to proceed. The software installation wizard begins with the screen shown in Figure 2-2.
The software installation is complete. Proceed to the next section, Install the PCMCIA Serial Hardware. Install the PCMCIA Serial Hardware Complete the following steps to install the PCMCIA-232 or PCMCIA-485 in your computer: Shut down the computer. Insert the card into a free PC Card (PCMCIA) socket the same way you insert a disk into a floppy drive.
Chapter 2 Installation and Verification Figure 2-3 shows how to insert a PCMCIA serial card and how to connect the cable. Portable Computer PCMCIA Socket PCMCIA Serial Cable Figure 2-3. Inserting a PCMCIA Serial Card Proceed to the next section, Select Resources for the PCMCIA Card. Select Resources for the PCMCIA Card Complete the following steps to select resources for your PCMCIA card.
Determine Which Physical Port Is Associated with COMx Select Start»Settings»Control Panel, and double-click on niports. A list showing installed National Instruments ports with their logical COMx names appears. If your interface is not on the list, refer to Appendix C, Troubleshooting and Common Questions.
Chapter 2 Installation and Verification Connect the Cables For the PCMCIA serial cards, you can use the standard DB-9 connector found on most serial cables. Figure 2-4 and Table 2-1 give the pin locations and descriptions of the DB-9 connector, which is found on the PCMCIA serial cable. PIN 5 PIN 9 PIN 6...
Follow these steps to configure the serial port. Select Start»Settings»Control Panel and double-click on the niports icon. A list of National Instruments ports appears, as shown in Figure 3-1. Figure 3-1. niports Configuration Utility Select the port you are interested in.
Chapter 3 Configuration Click on the Resources button in the General Port Settings dialog box to view or configure the resources for the port. Refer to the Resource Settings section, later in this chapter, for more information. Click on Delete to remove hardware information about the port from Windows NT.
The following sections explain the resource configuration options for each serial interface. PCMCIA-232, PCMCIA-485, PCMCIA-232/4 Figure 3-3 shows the resource configuration dialog box for a PCMCIA-485. The PCMCIA-232 and PCMCIA-232/4 dialog boxes are similar. Figure 3-3. Resource Configuration Dialog Box for the PCMCIA-485 Base I/O Address: The base I/O address assigned to the port.
These cards require two base I/O settings, one for each port, and they share an IRQ. Figure 3-4 shows the resource configuration dialog box for a PCMCIA-485/2. The PCMCIA-232/2 dialog box is similar. Figure 3-4. Resource Configuration Dialog Box for the PCMCIA-485/2 Base I/O Address: The base I/O addresses assigned to the two ports.
Chapter 4 Using Your Serial Hardware 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.
Chapter 4 Using Your Serial Hardware General Programming Requirements 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 has standard communication functions for use within either 16-bit (Win16) applications or 32-bit (Win32) applications.
Page 32
Appendix A Serial Port Information distances of 50 ft. and with data rates up to 20 kbytes/s. However, because of improvements in line drivers and cabling, you can often increase the actual performance of the bus past the limitations on speed and distance recommended in the specification.
Appendix A Serial Port Information Slave 1 Slave 2 Slave n Figure A-1. Typical Full-Duplex System Half Duplex 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-duplex system is often referred to as a two-wire system.
The terminating resistor should match the characteristic impedance of the transmission line (typically 100–120 Ω). National Instruments offers an optional DB-9 RS-485 termination connector that contains embedded terminating resistors for easy termination.
Appendix A Serial Port Information Figure A-4 shows straight-through cabling in a DTE-to-DCE interface. Rx D Rx D Pin 2 Pin 2 Pin 2 Pin 2 Tx D Tx D Pin 3 Pin 3 Pin 3 Pin 3 Figure A-4. Straight-Through Cabling in a DTE-to-DCE Interface Straight-through cabling is still the standard method to connect a modem to your PC.
Appendix B Uninstalling the Serial Hardware and Software Uninstalling the NI-Serial Software Before uninstalling the software, 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 the software. Complete the following steps to remove the NI-Serial software: Select Start»Settings»Control Panel.
Page 41
Resources button on the General Port Settings page. For more information about resource conflicts, refer to Chapter 3, Configuration. Verify that the National Instruments serial driver is installed. Use the Windows Explorer to display the Properties of serial.sys...
Page 42
Refer to the section Determine Which Physical Port Is Associated with COMx, in Chapter 2, Installation and Verification. How can I change the COM numbers of my National Instruments serial ports? Refer to the General Port Settings section in Chapter 3, Configuration.
Appendix D Specifications Table D-2. Environmental Characteristics of the Serial Hardware Characteristic Specification Operating Environment Component Temperature 0 to 70° C Relative Humidity 10 to 90%, noncondensing Storage Environment Temperature –40 to 120° C Relative Humidity 5 to 90%, noncondensing FCC Class A Verified Software Specifications Table D-3.
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...
Page 46
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 . Branch office Web sites provide ni.com...
Page 48
Glossary Data Carrier Detect Data Communications Equipment or Data Circuit-Terminating Equipment direct memory access Data Set Ready Data Terminal Equipment Data Terminal Ready (where the overscore denotes that the signal is active low) Electronic Industries Association electromagnetic interference Federal Communications Commission FIFO first-in-first-out feet...
Page 50
NI-Serial software null-modem cabling in (figure), A-6 installed, C-3 duplex architectures, A-3 diagnostic test failure, C-3 full duplex, A-3 naming National Instruments serial half duplex, A-4 ports, C-3 communication port settings, 3-1 viewing or changing, 3-1 communication port settings configuration, 3-1...
Page 51
(figure), A-5 transceiver mode, 3-3 general programming requirements, 4-4 getting started, 1-2 glossary, G-1 naming National Instruments serial ports, C-3 National Instruments Web support, E-1 NI Developer Zone, E-1 NI serial setup screen (figure), 2-3 half duplex, A-4 niports configuration utility (figure), 3-1...
Page 53
C-2 missing serial port in the niports list, C-1 resolving resource conflicts, C-1 two-wire devices, 2-7 Web support from National Instruments, E-1 connecting, 2-7 worldwide technical support, E-2 typical full-duplex system (figure), A-4 typical half-duplex system (figure), A-4 PCMCIA Serial for Windows NT ni.com...
Need help?
Do you have a question about the PCMCIA-232 and is the answer not in the manual?
Questions and answers