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
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: • Reorient or relocate the receiving antenna. •...
Step 1. Shut Down Your System..............2-6 Step 2. Verify That You Have a Null-Modem Serial Cable......2-7 Step 3. Connect the Cables................2-7 Step 4. Power on Your System and Switch on Your GPIB-232CV-A ...2-8 Chapter 3 Operation of the GPIB-232CV-A Choosing Between D Mode and C Mode Configuration..........3-1 When to Use D Mode ..................3-1...
Page 7
Conditions That Cause SRQ to be Asserted ........3-5 Maximizing Performance with SRQ ..........3-5 GPIB-232CV-A Serial Poll Responses............3-6 GPIB-232CV-A Operation in Listen-Only Mode........... 3-6 C Mode Overview ......................3-7 Data Transfers in C Mode ................3-7 Modes of Operation Within C Mode .............. 3-8 Timeout Termination Mode..............
About This Manual The GPIB-232CV-A User Manual describes the features, functions, and operation of the GPIB-232CV-A. This manual assumes that you have a general knowledge of RS-232 serial communications and the General Purpose Interface Bus (GPIB). Conventions The following conventions appear in this manual: This icon denotes a caution, which advises you of precautions to take to avoid injury, data loss, or a system crash.
ANSI/EIA-232-C, Interface Between Data Terminal Equipment and Data Circuit-Terminating Equipment Employing Serial Binary Data Interchange • ANSI/IEEE Standard 488.1-1987, IEEE Standard Digital Interface for Programmable Instrumentation • ANSI/IEEE Standard 488.2-1992, IEEE Standard Codes, Formats, Protocols, and Common Commands GPIB-232CV-A User Manual www.ni.com...
256 KB RAM buffer to isolate the slower device from the faster port. You can use the GPIB-232CV-A to interface either a GPIB Controller or a GPIB device to a computer or instrument with a RS-232 port.
GPIB cable. If you operate this equipment with a non-shielded cable, it may interfere with radio and television reception. Optional Equipment You can order a 9-pin, 2 m RS-232 shielded cable (GPIB-232CV-A to IBM PC) from National Instruments. GPIB-232CV-A User Manual...
The following sections describe the panels of the GPIB-232CV-A. AC Front Panel The power switch, fuse holder, and power cord receptacle are located on the GPIB-232CV-A front panel, on the AC version only. Figure 1-1 shows the front panel of the AC version. FUSE Figure 1-1.
Figure 1-2 shows the top panel. GPIB-232CV-A RS-232 IEEE 488 Converter Figure 1-2. GPIB-232CV-A Top Panel The LEDs show the current status of the GPIB-232CV-A. Table 1-1 describes each LED. Table 1-1. LED Descriptions Indication POWER Indicates that power has been applied to the unit and the ON/OFF switch is in the ON position.
Rear Panel The configuration switches are located on the rear panel of the GPIB-232CV-A. The power switch of the DC version is also located on the rear panel. Figure 1-3 shows the rear panel of the GPIB-232CV-A.
Figure 1-4 shows the location of the RS-232 and GPIB connectors and the DC power jack. DC Power Jack (DC version only) GPIB-232CV-A RS-232 IEEE 488 Controller RS-232 Connector GPIB Connector Figure 1-4. Location of the Connectors and the DC Power Jack GPIB-232CV-A User Manual www.ni.com...
Chapter 1 Introduction RS-232 Connector The RS-232 port on the GPIB-232CV-A is configured as a DTE (Data Terminal Equipment) and uses a standard 9-pin shielded D-Subminiature male connector with screwlock assemblies. The RS-232 connector accepts standard 9-pin D-Subminiature female connectors. Figure 1-5 shows a diagram of the serial connector and the signals supported.
GND (Twisted Pair with NRFD*) NDAC* GND (Twisted Pair with NDAC*) IFC* GND (Twisted Pair with IFC*) SRQ* GND (Twisted Pair with SRQ*) ATN* GND (Twisted Pair with ATN*) SHIELD SIGNAL GROUND Figure 1-6. GPIB Connector and Signal Designations GPIB-232CV-A User Manual www.ni.com...
This chapter describes how to configure and install your GPIB-232CV-A. Configure Your Hardware Before you configure your GPIB-232CV-A, verify that the voltage marked on the GPIB-232CV-A or on the power supply matches the voltage that is supplied in your area. Caution Do not operate your GPIB-232CV-A at any voltage other than the one marked on your GPIB-232CV-A.
Chapter 2 Configure and Install Your Hardware If you are already using the GPIB-232CV-A and decide to change its operating characteristics, you must first shut down your system and then continue with the following steps. Configure the GPIB-232CV-A Parameters You can use the DIP switches on the rear panel (see Figure 1-1,...
SRQ Disabled and LF Termination Large Serial Buffer SRQ Enabled and No Swapping Large Serial Buffer Table 2-3. Configuration Parameters for SW1 Switch 8 Switch 8 Position Indication GPIB-232CV-A Operates in D Mode GPIB-232CV-A Operates in C Mode GPIB-232CV-A User Manual www.ni.com...
OFF, which indicates that parity is disabled. Switch 6 is OFF, which indicates 1 stop bit per character. Switch 7 is OFF, indicating that the GPIB-232CV-A is using 7 bits/character for its serial data transfers. Switch 8 is OFF, indicating that XON/XOFF software handshaking is disabled.
XON/XOFF protocol disabled XON/XOFF protocol enabled Install Your Hardware After configuring the switch settings on your GPIB-232CV-A, complete the following steps to install the GPIB-232CV-A. Step 1. Shut Down Your System Before you connect the cables, complete the following steps: Shut down your system.
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-232CV-A, then plug the supply into an AC outlet of the correct voltage.
If you have an AC version, use the front panel rocker switch to power on your GPIB-232CV-A. If you have a DC version, use the power switch on the rear panel to power on your GPIB-232CV-A.
(C mode). When to Use D Mode The GPIB-232CV-A should be set to operate in D mode if you want to connect a serial device to a GPIB system that has a GPIB Controller responsible for addressing the GPIB-232CV-A to talk or listen. An...
Figure 3-1. Example of D Mode System Setup When to Use C Mode The GPIB-232CV-A should be set to operate in C mode when transferring data between a GPIB device that has no Controller capabilities and a serial device. An example of a system requiring C mode includes a GPIB device, such as a digital multimeter, connected to an IBM PC serial port through a GPIB-232CV-A as shown in Figure 3-2.
Serial Device Figure 3-3. D Mode System Layout In D mode, the GPIB-232CV-A can act only as a GPIB Talker or Listener. Do not pass control to the GPIB-232CV-A when using D mode. If you do, the GPIB circuitry in the GPIB-232CV-A accepts control and immediately asserts the ATN* signal, a system error condition that you should avoid.
Operation of the GPIB-232CV-A Choosing a Serial Port Buffer Size All data that is sent to the GPIB-232CV-A is buffered and then passed along to the destination port. Thus, any serial data received is buffered and then passed along to the GPIB port whenever the GPIB-232CV-A is addressed to talk.
SRQ* signal is asserted. This alerts the GPIB Controller that the GPIB-232CV-A has data to send to a GPIB Listener. The Controller can then address the GPIB-232CV-A to talk so that the data can be read out of the GPIB-232CV-A serial buffer. When the serial buffer is empty, the Controller can unaddress the GPIB-232CV-A to talk and address other devices to transfer data on the bus.
• If the GPIB input buffer is not empty, bit 0 is set to 0. In all cases, bit 6 is set to 1 if the GPIB-232CV-A is requesting service; otherwise it is set to 0. GPIB-232CV-A Operation in Listen-Only Mode In listen-only mode, no addressing is required to make the GPIB-232CV-A a GPIB Listener and it cannot be unaddressed to listen.
Chapter 3 Operation of the GPIB-232CV-A C Mode Overview In C mode, the GPIB-232CV-A and a serial device together act as the GPIB System Controller. Figure 3-5 shows the C mode system layout. GPIB Controller GPIB Serial Device Device FUSE GPIB-232CV-A Figure 3-5.
The four modes of operation define the point at which the GPIB device is unaddressed to listen and addressed to talk so that data can be sent from the device to the GPIB-232CV-A. You can select these modes using SW1 switches 6 and 7.
GPIB-232CV-A assumes that since no more serial data is being sent, the device might have data that it needs to send back to the GPIB-232CV-A. It then readdresses the device to talk and passes any characters read from the GPIB port along to the serial port.
PRINT quotation mark, BASIC automatically sends a <CR> after the last character in the ASCII string is sent. If the GPIB-232CV-A is set up for <CR> termination, the GPIB-232CV-A then readdresses the plotter to talk so that its status can be output.
The hardware handshake function is always active during RS-232 transfers and uses the Request to Send (RTS) and Clear to Send (CTS) signal lines. When the GPIB-232CV-A is ready to accept serial data, it asserts the RTS line. This signal remains asserted until the data buffer of the GPIB-232CV-A is almost full.
XON character. If you are transmitting binary data, do not configure the GPIB-232CV-A to use XON/XOFF software handshaking. Because the binary data could contain any binary sequence, including decimal 19 (<Ctrl-S>) or decimal 17 (<Ctrl-Q>), the GPIB-232CV-A would not be able to...
Specifications This appendix lists the electrical, environmental, and physical characteristics of the GPIB-232CV-A . Electrical Characteristics AC Version Power supply unit 100–120 VAC ±10% ...... 50–60 Hz 220–240 VAC ±10% ...... 50–60 Hz Current requirement 100–120 VAC ......... 55 mA 220–240 VAC .........
Page 40
Case material ..........All metal enclosure Weight ............340 g (12 oz) DC Version Case size ..........118.1 by 76.2 by 28.2 mm (4.65 by 3.0 by 1.11 in.) Case material ..........All metal enclosure Weight ............198 g (7 oz) GPIB-232CV-A User Manual www.ni.com...
Interfacing to a Serial Device This appendix describes the RS-232 serial port on the GPIB-232CV-A and explains how to interface a DCE or DTE serial device to the RS-232 serial port. The GPIB-232CV-A transfers serial data using the electrical signals, mechanical connections, data format, and control protocols defined in the RS-232C standard.
Interfacing Serial Devices to the RS-232 Serial Port To interface other serial devices to the RS-232 serial port on the GPIB-232CV-A, first refer to the manual that came with your serial device to determine if the device is configured as a DTE or DCE. Also, determine from the manual how the control lines are used and whether they must be driven for the serial port to operate.
A correctly configured DTE-to-DCE interface is wired straight across: GPIB-232CV-A TXD to DCE TXD, GPIB-232CV-A RXD to DCE RXD, and so on as shown in Table B-2. Table B-2. Cable Wiring Scheme for GPIB-232CV-A DTE to Serial Device DCE Standard Standard...
Figure B-3. Cable Configuration for 9-pin DTE to 25-pin DCE with Handshaking Interfacing the GPIB-232CV-A to a DCE without Handshaking If your serial device does not require or use the hardware handshaking protocol used by the GPIB-232CV-A, you have two options: • Use a minimum configuration cable which does not support hardware handshaking and use XON/XOFF software handshaking (if necessary).
Appendix B Interfacing to a Serial Device • Wire a custom cable that properly interfaces the GPIB-232CV-A hardware handshaking protocol to the handshaking protocol of your serial device. Minimum Configuration Cable The minimum configuration cable assumes that the DCE does not require external hardware handshaking.
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-232CV-A to act as though it is communicating with a DCE, but it swaps the appropriate pins to achieve a DTE pinout. This wiring configuration is shown in Table B-3.
Interfacing the GPIB-232CV-A to a DTE without Handshaking If your serial device does not require or use the same hardware handshaking protocol used by the GPIB-232CV-A, you have two options: • Use a minimum configuration null modem cable which does not support the hardware handshake lines and use XON/XOFF software handshaking (if necessary).
Appendix B Interfacing to a Serial Device • Wire a custom cable that properly interfaces the GPIB-232CV-A hardware handshaking protocol to the handshaking protocol of your serial device. Minimum Configuration Cable The minimum cable configuration assumes that the serial device does not require external hardware handshaking.
625 kbytes/s. Therefore, the transfer rate is limited only by the rate at which the GPIB Talker can write data. This example shows you how to connect and use your GPIB-232CV-A as a high-speed print spooler which returns control to you quickly, so that you do not have to wait for the PC to finish printing or plotting a file.
Connect the GPIB cable from the PC to the GPIB-232CV-A, and connect the serial cable from the GPIB-232CV-A to the printer or plotter. The system should resemble the diagram in Figure C-1.
Page 52
After the program is compiled and linked, you can run it just like the DOS print routine. Then, as long as you are not sending an amount of data greater than the buffer size of the GPIB-232CV-A, the data transfer should complete in a few seconds.
Page 53
Power on the plotter, then power on the GPIB-232CV-A. When the GPIB-232CV-A is powered on, it addresses the GPIB plotter. Any data sent to the serial port by AUTOCAD is received by the GPIB-232CV-A and stored in its internal buffer. The GPIB-232CV-A transfers the data to the plotter over the GPIB connection as fast as the plotter can receive it.
Technical Support Resources This appendix describes the comprehensive resources available to you in the Technical Support section of the National Instruments Web site and provides technical support telephone numbers for you to use if you have trouble connecting to our Web site or if you do not have internet access.
If you have trouble connecting to our Web site, please contact your local National Instruments office or the source from which you purchased your National Instruments product(s) to obtain support. For telephone support in the United States, dial 512 795 8248. For...
Page 57
Institute of Electrical and Electronic Engineers Interface Clear inches kilobytes of memory light-emitting diode linefeed large scale integration meters ounces personal computer random-access memory Remote Enable read-only memory Request to Send Receive Data seconds Service Request GPIB-232CV-A User Manual www.ni.com...
HP7475 GPIB plotter to PC Listen-only mode setting (figure), 3-6 serial port, C-3 to C-4 parameters for SW1 switch 8 using GPIB-232CV-A as high-speed print (table), 2-4 spooler, C-1 to C-3 parameters for SW1 switches ATN* signal, assertion in D mode, 3-3...
Page 60
Go To Local (GTL) command, 3-3 related documentation, xii GPIB connector DTE (Data Terminal Equipment) overview, 1-8 interfacing with handshaking, B-6 to B-7 signals supported (figure), 1-8 cable configuration for 9-pin DTE to 9-pin DTE (figure), B-7 GPIB-232CV-A User Manual www.ni.com...
Page 61
GTL (Go To Local) command, 3-3 manual. See documentation. handshaking DCE (Data Communications Equipment) interfacing with handshaking, B-3 to B-4 National Instruments Web support, D-1 to D-2 interfacing without handshaking, no-swap mode, C mode B-4 to B-6 configuration, 3-10 to 3-11 DTE (Data Terminal Equipment)
Page 62
(example), C-3 to C-4 POWER LED (table), 1-4 print spooler, high speed, using SDC (Selected Device Clear) command, 3-3 GPIB-232CV-A as (example), C-1 to C-3 serial cable, null-modem, 2-7 problem-solving and diagnostic resources, serial poll response of GPIB-232CV-A, 3-6 online, D-1 serial port.
Page 63
Index timeout termination mode, C mode configuration, 3-8 to 3-9 Web support from National Instruments, top panel, 1-4 to 1-5 D-1 to D-2 illustration, 1-4 online problem-solving and diagnostic LED descriptions (table), 1-4 to 1-5 resources, D-1 Trigger (GET) command, 3-3...
Need help?
Do you have a question about the GPIB-232CV-A and is the answer not in the manual?
Questions and answers