Page 2
National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 Technical support fax: (800) 328-2203 (512) 794-5678 Branch Offices: Australia (03) 879 9422, Austria (0662) 435986, Belgium 02/757.00.20, Canada (Ontario) (519) 622-9310, Canada (Québec) (514) 694-8521, Denmark 45 76 26 00, Finland (90) 527 2321, France (1) 48 14 24 24,...
Page 3
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.
Page 4
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;...
Page 5
FCC/DOC Radio Frequency Interference Compliance This equipment generates and uses radio frequency energy and, if not installed and used in strict accordance with the instructions in this manual, may cause interference to radio and television reception. This equipment has been tested and found to comply with the following two regulatory agencies: Federal Communications Commission This device complies with Part 15 of the Federal Communications...
Page 6
National Instruments could void the user’s authority to operate the equipment under the FCC Rules. If necessary, consult National Instruments or an experienced radio/television technician for additional suggestions. The following booklet prepared by the FCC may also be helpful: How to Identify and Resolve Radio-TV Interference Problems.
Conventions Used in This Manual ..........xiv Related Documentation ..............xvi Customer Communication ............xvi Chapter 1 Introduction ..................1-1 GPIB-232CT-A Overview............1-1 What You Need to Get Started........... 1-2 Optional Equipment..............1-3 Inspection ................... 1-3 Hardware Description..............1-3 Software Description ..............1-4...
Page 10
............E-1 The RS-232C Standard............... E-1 Description of the RS-232 Port........... E-1 Interfacing Serial Devices to the RS-232 Serial Port ....E-3 Interfacing the GPIB-232CT-A to a DCE with Handshaking..............E-3 Interfacing the GPIB-232CT-A to a DCE without Handshaking..............E-5 Minimum Configuration Cable......
Organization of This Manual This manual is organized as follows: • Chapter 1, Introduction, contains a description of the GPIB-232CT-A, lists what you need to get started and optional equipment you can order, contains instructions for inspecting your GPIB-232CT-A, and gives hardware and software descriptions.
• Appendix E, Interfacing to a Serial Device, describes the RS-232 serial port on the GPIB-232CT-A and explains how to interface a DCE or DTE serial device to the RS-232 serial port. • Appendix F, Customer Communication, contains forms you can use to request help from National Instruments or to comment on our products and manuals.
Microsoft Windows User’s Guide, Microsoft Corporation Customer Communication National Instruments wants to receive your comments on our products and manuals. We are interested in the applications you develop with our products, and we want to help if you have problems with them. To make it easy for you to contact us, this manual contains comment and configuration forms for you to complete.
Chapter 1 Introduction This chapter contains a description of the GPIB-232CT-A, lists what you need to get started and optional equipment you can order, contains instructions for inspecting your GPIB-232CT-A, and gives hardware and software descriptions. GPIB-232CT-A Overview The GPIB-232CT-A is a high-performance serial-to-GPIB interface. It provides a computer with an RS-232 port, a means of controlling, talking, and listening on the GPIB.
What You Need to Get Started One of the following boxes: GPIB-232CT-A (100-120 VAC) GPIB-232CT-A (220-240 VAC) GPIB-232CT-A (DC) If you have the GPIB-232CT-A AC version, you need one of the following power cords: U.S.A. standard power cord Switzerland power cord Australian power cord...
Inspection Before you operate the GPIB-232CT-A, inspect the shipping container and its contents for damage. Keep the packaging material for possible inspection and/or reshipment. If the equipment appears to be damaged, do not attempt to operate it.
GPIB -232CT-A is also capable of interfacing RS-232 instruments and peripherals to the GPIB. Software Description NI-488.2 software is part of your GPIB-232CT-A kit. It is a comprehensive set of programs and drivers for transforming the PC into a GPIB Controller with complete communications and bus management capability. The NI -488.2 software also includes the Microsoft C, Microsoft BASIC,...
100-120 V or 220-240 V, wall-mount or desktop power supply. Verify that the voltage marked on the GPIB-232CT-A or on the power supply matches the voltage that is supplied in your area. Caution: Operating the GPIB-232CT-A at any voltage other than the one specified could damage the unit.
AC outlet of the correct voltage. If you have a DC version, connect the DC power plug of the DC power supply to the power jack on the serial end of the GPIB-232CT-A, then plug the supply into an AC outlet of the correct voltage.
IBCONF. You must run IBCONF if you have made any changes to the GPIB-232CT-A hardware switches or you need to change any of the default software configuration options. If you have not changed the hardware in any way and the default software configuration is acceptable, there is no need to run IBCONF .
GPIB devices. If an error occurs, check the following: • Is the GPIB-232CT-A connected to a GPIB device? IBTEST requires that the GPIB-232CT-A not be connected to any GPIB devices. • Is the GPIB-232CT-A box powered on? •...
Install the NI-488.2 Software for Windows Chapter 4 • Is the GPIB-232CT-A powered on? • Did you change any of the hardware configurations on the GPIB-232CT -A? If so, check the current software configuration of the software by running WIBCONF. Make sure that the hardware settings match.
The remainder of this chapter describes the WINSAMP sample program that illustrates how GPIB calls can be made from a simple Microsoft C Windows application using the National Instruments Microsoft C language interface. It also lists a general set of rules to follow when using the DLL in your own Windows application.
Windows is installed or in the DOS search path when the application is run. Unlike the GPIB.LIB file, GPIB.DLL files are unique for each National Instruments GPIB box or interface board. • Ensure that GPIB.INI is in the directory in which Windows is installed when the application is run so that it can be used to properly initialize the GPIB.DLL file.
Note: Throughout this chapter and IBCONF, the terms interface board , access board, and board are used to refer the GPIB-232CT-A. Overview of IBCONF IBCONF is a screen-oriented, interactive program that is used to modify the configuration parameters for your GPIB-232CT-A and the GPIB devices connected to it.
This field specifies the IRQ level of the serial communications port and should only be used if you have a non-standard serial communications port. The GPIB-232CT-A software assumes that the serial controller hardware is compatible with the National Semiconductor INS8250 universal asynchronous receiver/transmitter (the standard for PC-compatibles).
The DIP switch is used to configure the serial port parameters of the GPIB -232CT-A while in S mode. In G mode, the GPIB-232CT-A is used to interface an RS-232 device as a GPIB Talker/Listener.
Page 55
1 stop bit/character. Switch 7 is ON, indicating that the GPIB -232CT-A is using 8 bits per character for serial data transfers. Switch 8 is OFF, indicating that the GPIB-232CT-A is operating in S mode. Tables A-1 and A-2 show the possible configurations of the eight switches and what each configuration indicates.
Appendix B Hardware Specifications The appendix specifies the electrical, environmental, and physical characteristics of the GPIB-232CT-A and the recommended operating conditions. Table B-1. Electrical Characteristics - AC Version Characteristic Specification 100-120 VAC ± 10%, 50-60 Hz or Power Supply Unit 220-240 VAC ±...
Troubleshooting This appendix suggests some areas to check if you have problems installing or using the GPIB-232CT-A or the NI-488.2 software after going through the procedures described in Chapters 2 through 5. If you still have problems after completing the steps in this appendix, complete the appropriate forms in Appendix F, Customer Communication and then contact National Instruments for technical support.
Troubleshooting Appendix C Troubleshooting Software Problems If the following three conditions apply, the GPIB-232CT-A and the NI-488.2 software are unable to communicate properly. • GPIB calls return with the ERR bit set in ibsta. • The value of iberr is EDVR.
Appendix E Interfacing to a Serial Device This appendix describes the RS-232 serial port on the GPIB-232CT-A and explains how to interface a DCE or DTE serial device to the RS-232 serial port. The GPIB-232CT-A transfers serial data using the electrical signals, mechanical connections, data format, and control protocols defined in the RS-232C standard.
GPIB-232CT-A to the serial Data) device. DTR (Data This signal is asserted by the Terminal GPIB-232CT-A to signal that it has Ready) been powered on and is ready to operate. This signal establishes a reference (Ground) point for all interface voltages.
Interfacing to a Serial Device Appendix E Table E-2. Cable Wiring Scheme for GPIB-232CT-A DTE to Serial Device DCE Standard Standard GPIB-232CT-A Signal to DTE to DCE DTE to DCE DCE Serial Device Signal 9-pin 9-pin 9-pin 25-pin to TXD GND to Note : Connections in bold italics must be implemented.
XON/XOFF software handshaking (if necessary). To create a minimum configuration cable, connect the signals shown in bold italics in Table E-2. • Wire a custom cable that properly interfaces the GPIB-232CT-A hardware handshaking protocol to the handshaking protocol of your serial device.
For serial devices set up as DTEs, you must wire a DTE-to-DTE interface cable, commonly known as a null modem cable. The cable allows the GPIB-232CT-A to act as though it is communicating with a DCE, but it swaps the appropriate pins to achieve a DTE configuration. This wiring configuration is shown in Table E-3.
(if necessary). To create a minimum configuration cable, connect the signals shown in bold italics in Table E-3. • Wire a custom cable that properly interfaces the GPIB-232CT-A hardware handshaking protocol to the handshaking protocol of your serial device.
Filling out a copy of the Technical Support Form before contacting National Instruments helps us help you better and faster. National Instruments provides comprehensive technical assistance around the world.
Page 83
Name Company Address Fax ( Phone ( Computer brand Model Processor Operating system Speed Display adapter Mouse Other adapters installed Hard disk capacity Brand Instruments used National Instruments hardware product model Revision Configuration National Instruments software product Version Configuration (continues)
Page 84
The problem is List any error messages The following steps will reproduce the problem...
Page 85
GPIB-232CT-A Hardware and Software Configuration Form Record the settings and revisions of your hardware and software on the line to the right of each item. Update this form each time you revise your software or hardware configuration, and use this form as a reference for your current configuration.
Page 86
Documentation Comment Form National Instruments encourages you to comment on the documentation supplied with our products. This information helps us provide quality products to meet your needs. Getting Started with Your GPIB-232CT-A and the NI-488.2 ™ Title: Software for MS-DOS/Windows Edition Date:...
Page 87
Thank you for your help. Name Title Company Address Phone Mail to: Technical Publications National Instruments Corporation 6504 Bridge Point Parkway, MS 53-02 Austin, TX 78730-5039 Fax to: Technical Publications National Instruments Corporation MS 53-02 (512) 794-5678...
Need help?
Do you have a question about the GPIB-232CT-A and is the answer not in the manual?
Questions and answers