National Instruments GPIB-232CT-A Getting Started
National Instruments GPIB-232CT-A Getting Started

National Instruments GPIB-232CT-A Getting Started

Ni-488.2 software for macos
Hide thumbs Also See for GPIB-232CT-A:
Table of Contents

Advertisement

GPIB
Getting Started with
Your GPIB-232CT-A and
the NI-488.2
Software
for MacOS
GPIB-232CT-A for MacOS
December 1999 Edition
Part Number 320900C-01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GPIB-232CT-A and is the answer not in the manual?

Questions and answers

Summary of Contents for National Instruments GPIB-232CT-A

  • Page 1 GPIB Getting Started with Your GPIB-232CT-A and ™ the NI-488.2 Software for MacOS GPIB-232CT-A for MacOS December 1999 Edition Part Number 320900C-01...
  • Page 2 Switzerland 056 200 51 51, Taiwan 02 2377 1200, United Kingdom 01635 523545 For further support information, see the Technical Support Resources appendix. To comment on the documentation, send e-mail to techpubs@ni.com © Copyright 1995, 1999 National Instruments Corporation. All rights reserved.
  • 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. •...
  • Page 6: Table Of Contents

    Step 1. Verify the Voltage Requirement ............2-3 Step 2. Shut Down Your System..............2-3 Step 3. Connect the Cables................2-4 Step 4. Power on Your System and Switch on Your GPIB-232CT-A....2-4 Chapter 3 Install and Configure the Software Install the Software ......................3-1 Step 1.
  • Page 7 Figure B-8. Minimum Configuration for 9-pin DTE to 9-pin DTE ......B-8 Figure B-9. Minimum Configuration for 9-pin DTE to 25-pin DTE ....... B-8 Figure B-10. Cable Configuration for 9-pin DTE to 8-pin Mini-DIN ....... B-9 GPIB-232CT-A for MacOS viii www.ni.com...
  • Page 8 Configuration Parameters for Switches 1 through 3 ......2-2 Table 2-2. Configuration Parameters for Switches 4 through 8 ......2-3 Table B-1. Cable Wiring Scheme for GPIB-232CT-A DTE to Serial Device DCE ................B-2 Table B-2. Cable Wiring Scheme for GPIB-232CT-A DTE to Serial Device DTE ................B-6 Table B-3.
  • Page 9: About This Manual

    About This Manual This manual contains instructions to help you install and configure the National Instruments GPIB-232CT-A RS-232-to-GPIB Controller and NI-488.2 software for MacOS. You should use this manual with the NI-488.2 User Manual for MacOS and NI-488.2 Function Reference Manual for MacOS.
  • Page 10: Related Documentation

    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-232CT-A for MacOS www.ni.com...
  • Page 11: Introduction

    Introduction This chapter lists what you need to get started and optional equipment you can order, and briefly describes the GPIB-232CT-A and the NI-488.2 software. What You Need to Get Started Before you install your GPIB hardware and the NI-488.2 software for MacOS, make sure you have all of the following items: 3.5 in.
  • Page 12: Optional Equipment

    X2) GPIB cable. If you operate this equipment with a non-shielded cable, it may interfere with radio and television reception. Optional Equipment You can call National Instruments to order RS-232 shielded cables for the GPIB-232CT-A (9-pin D-Sub) to Macintosh (8-pin Mini-DIN), 1 m. GPIB-232CT-A Hardware Overview The GPIB-232CT-A, shown in Figure 1-1, is a high-performance serial-to-GPIB interface.
  • Page 13: Ni-488.2 Software Overview

    NI-488.2 Installer is the software installation program. • NI-488 INIT is an INIT that loads the device drivers for installed National Instruments GPIB interfaces when you power on or restart your Macintosh. • NI-488 Config is a control panel configuration utility that you can use to examine or change the software settings.
  • Page 14: Time-Saving Development Tools

    Introduction Time-Saving Development Tools Your kit includes the NI-488.2 software for MacOS. In addition, you can order the 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, VXI devices, serial devices, PLCs, and plug-in data...
  • Page 15: Configure And Install Your Hardware

    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 16 For the purpose of this explanation, the switches have been assigned numbers as a point of reference. These numbers do not appear on the GPIB-232CT-A itself. In this explanation, the three switches labeled BAUD RATE are switches 1 through 3, the DATA FORMAT switches are switches 4 through 7, and the S MODE switch is switch 8.
  • Page 17: Install Your Hardware

    Caution Do not operate your GPIB-232CT-A at any voltage other than the one marked on your GPIB-232CT-A. Doing so could damage the unit. Replacement fuses for the AC version must be the proper type and size. For fuse specifications, refer to Appendix A, Specifications.
  • Page 18: Step 3. Connect The Cables

    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.
  • Page 19: Install And Configure The Software

    System Folder. You must disable or bypass any virus prevention software before attempting the installation procedure. To install the NI-488.2 files and folders, complete the following steps: Insert the NI-488.2 software distribution disk and double-click on the NI-488.2 Installer icon. © National Instruments Corporation GPIB-232CT-A for MacOS...
  • Page 20: Figure 3-1. Installer Window

    Figure 3-2. The NI-488 Config file is placed in the Control Panels folder and the NI-488 INIT and NI-DMA/DSP files are installed in the Extensions folder. Figure 3-2. File and Folder Organization after Installation GPIB-232CT-A for MacOS www.ni.com...
  • Page 21: Step 2. Examine Or Change The Software Settings

    Serial box products as shown in Figure 3-3. Check either the modem box (M) or the printer box (P), depending on which Macintosh serial port you have connected to the GPIB-232CT-A. The GPIB bus number associated with the serial port appears under the checkbox.
  • Page 22: Step 3. Restart Your Macintosh

    Macintosh. The NI-488.2 software displays the National Instruments icon momentarily in the lower left corner of the screen to indicate that the driver is being installed. If the National Instruments icon does not appear on your screen, repeat the installation procedure before continuing to the next section, Verify the Software Installation.
  • Page 23: Troubleshooting

    Technical Support Resources. Troubleshooting Hardware Problems Warning The AC version of the GPIB-232CT-A contains circuitry that operates with hazardous voltages. Do open the unit unless so instructed by National Instruments. Be sure to remove the power cord before opening the unit.
  • Page 24: Troubleshooting Software Problems

    • should appear in either the box labeled M, if you connected the GPIB-232CT-A to the Macintosh modem port, or the box labeled P, if you connected it to the Macintosh printer port. You can use the NI-488 Config control panel utility to examine and adjust the configuration of the software.
  • Page 25 Upgrade to the to resolve this situation. NI-488 INIT What information should I have before I call National Instruments? Before you call National Instruments, you should have the results of the software verification test. © National Instruments Corporation GPIB-232CT-A for MacOS...
  • Page 26: Begin To Use The Ni-488.2 Software

    For information about choosing a programming method, developing your application, or compiling and linking, refer to the NI-488.2 User Manual for MacOS. For detailed information about each NI-488 function and NI-488.2 routine, refer to the NI-488.2 Function Reference Manual for MacOS. © National Instruments Corporation GPIB-232CT-A for MacOS...
  • Page 27: Appendix A Specifications

    Specifications This appendix lists the electrical, environmental, and physical characteristics of the GPIB-232CT-A and the recommended operating conditions. 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 28 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-232CT-A for MacOS www.ni.com...
  • Page 29: Interfacing To A Serial Device

    Irvine, CA 92714 (714) 261-1455 Description of the RS-232 Port The RS-232 serial port on the GPIB-232CT-A uses a male 9-pin D-Sub connector with a DTE interface configuration. Table B-1 shows the signal lines supported on the GPIB-232CT-A. © National Instruments Corporation...
  • Page 30: Figure B-1. Location Of The Rs-232 Connector

    Interfacing Serial Devices to the RS-232 Serial Port To interface other serial devices to the RS-232 serial port on the GPIB-232CT-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.
  • Page 31: Figure B-2. Cable Configuration For 9-Pin Dte To 9-Pin Dce With

    Appendix B Interfacing to a Serial Device Table B-1. Cable Wiring Scheme for GPIB-232CT-A DTE to Serial Device DCE (Continued) 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 The connections must be implemented.
  • Page 32: Figure B-3. Cable Configuration For 9-Pin Dte To 25-Pin Dce With Handshaking

    Figure B-3. Cable Configuration for 9-pin DTE to 25-pin DCE with Handshaking Interfacing to a DCE without Handshaking If your serial device does not require or use the hardware handshaking protocol used by the GPIB-232CT-A, you have the following two options: • Use a minimum configuration cable which does not support hardware handshaking and use XON/XOFF software handshaking (if necessary).
  • Page 33: Figure B-4. Minimum Configuration For 9-Pin Dte To 9-Pin Dce

    ANSI/EIA-232-C standard is a good reference, provided your device conforms to the RS-232 protocol. Although handshaking might not be required, it is best to use some form of Caution handshaking to prevent loss of data. © National Instruments Corporation GPIB-232CT-A for MacOS...
  • Page 34: Figure B-6. Cable Configuration For 9-Pin Dte To 9-Pin Dte With 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-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 B-2.
  • Page 35: Figure B-7. Cable Configuration For 9-Pin Dte To 25-Pin Dte With Handshaking

    Interfacing to a DTE without Handshaking If your serial device does not require or use the same hardware handshaking protocol used by the GPIB-232CT-A, you have the following 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).
  • Page 36: Figure B-8. Minimum Configuration For 9-Pin Dte To 9-Pin Dte

    ANSI/EIA-232-C standard is a good reference, provided your device conforms to the RS-232 protocol. Caution Although handshaking might not be required, it is best to use some form of handshaking to prevent loss of data. GPIB-232CT-A for MacOS www.ni.com...
  • Page 37: Figure B-10. Cable Configuration For 9-Pin Dte To 8-Pin Mini-Din

    Interfacing the GPIB-232CT-A to the Macintosh Table B-3 shows the wiring scheme needed to create a cable to connect the GPIB-232CT-A to a Macintosh serial port. Table B-3. Cable Wiring Scheme for GPIB-232CT-A DTE to Macintosh Serial Port GPIB-232CT-A Signal 9-pin...
  • Page 38: Technical Support Resources

    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.
  • Page 39: Germany 089 741 31 30, Greece 30 1 42 96 427, Hong Kong 2645 3186, India

    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 40 Canadian Standards Association Clear to Send dual inline package Electronic Industries Association electromagnetic interference Federal Communications Commission grams ground GPIB General Purpose Interface Bus hertz IBIC Interface Bus Interactive Control International Electrotechnical Commission © National Instruments Corporation GPIB-232CT-A for MacOS...
  • Page 41 IEEE Institute for Electrical and Electronic Engineers inches light-emitting diode meters megabytes of memory ounces Request to Send Receive Data seconds TIMO Time limit exceeded Transmit Data Underwriters Laboratories volts volts alternating current volts direct current GPIB-232CT-A for MacOS www.ni.com...

Table of Contents