The GPIB-23 2 C T-A is warranted against defects in materials and wo rkma nshi p fo r a period of t wo years from the date of
shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment
that proves to be defective during the warranty period. Th is warrant y in cludes parts and labor.
The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due
to defects in materials and workmanship, for a perio d of 9 0 da ys from d ate o f sh ip ment, as ev idenced b y receipt s o r ot her
documentation. National Instruments will, at its op ti on , repair or repl ace soft ware me dia th at do not ex ecu te pr ogram mi ng
instructions if National Instruments receives notice of such defects during the warranty period. National Instruments does not
warrant that the operation of the software shall be uni nterrup ted or error free.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of
the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping costs of
returning to the owner parts which are covered by warrant y.
National Instruments believes that the information in this document is accurate. The document has been carefully reviewed
for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves the right to
make changes to subsequent editions of this document withou t p rio r no ti ce to hold ers o f thi s ed itio n. The read er sh ou ld consul t
National Instruments if errors are suspected. In no even t shall Nati on al Inst rum ents be l iable fo r any dama ges aris in g o ut of
or related to this document or the information contained in it.
XCEPT AS SPECIFIED HEREIN
E
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER
NSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR
I
CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF
apply regardless of the form of action, whether in contract or tort, including negligence. 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. The warranty provided herein does not co ver d amag es, defects,
malfunctions, or service failures caused by ow ner’s fai lu re t o foll ow th e Nation al Inst rum ent s in stal l ation, op erat i on, or
maintenance instructions; owner’s modification of the pro du ct; ow ner’s abus e, m isus e, or negligent acts; and po wer failure or
surges, fire, flood, accident, actions of third parties, or otherevents outside reasonable control.
ATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS ANY
, N
Copyright
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical, including
photocopying, recording, storing in an informatio n retriev al s ystem, o r t ran sl ating , in who le or i n p art, wit ho ut t he prior written
consent of National Instruments Corporation.
USTOMER’S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR
. C
. This limitation of the liability of National Instruments will
. N
ATIONAL
Trademarks
NAT4882™, National Instruments™, ni.com™, NI-488™, NI-488.2™, TNT4882™C, and Turbo4 88™ are trademarks of
National Instruments Corporation.
Product and company names mentioned herein are trad emarks o r trad e name s of thei r respect ive compan ies .
WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS
(1) NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL
OF RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL
COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE
EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN.
(2) IN ANY APPLICATION, I NCLUDING THE ABOVE , RELIABILITY OF OP ERATION OF THE SOFT WARE PRODUCTS
CAN BE IMPAIRED BY ADVERSE FACTORS, INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL
POWER SUPPLY, COMPUTER HARDWARE MALFUNCTIONS, COMPUTER OPERATING SYSTEM SOFTWARE
FITNESS, FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DE VEL OP AN APPLICAT ION,
INSTALLATION ERRORS, SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS, MALFUNCTIONS OR
FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES, TRANSIENT FAILURES OF ELECTRONIC
SYSTEMS (HARDWARE AND/OR SOFTWARE), UNANTICIPATED USES OR MISUSES, OR ERRORS ON THE PART OF
THE USER OR APPLICATIONS DESIGNER (ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER
COLLECTIVELY TERMED “SYSTEM FAILURES”). ANY APPLICATION WHERE A SYSTEM FAILURE WOULD
CREATE A RISK OF HARM TO PROPERTY OR PERSONS (INCLUDING THE RISK OF BODILY INJURY AND DEATH)
SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRON IC SYSTE M DUE TO THE RISK OF SYSTEM
FAILURE. TO AVOID DAMAGE, INJURY, OR DEATH, THE USER OR APPLICATION DESIGNE R MU ST T AKE
REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES, INCLUDING BUT NOT LIMITED TO
BACK-UP OR SHUT DOWN MECHANISMS. BECAUSE EACH END-USER SYSTEM IS CUSTOMIZED AND DIFFERS
FROM NATIONAL INSTRUMENTS' TESTING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER
MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT
EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS, THE USER OR A PPLICATION DE SIGNER IS
ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITAB ILITY OF NA TIONAL
INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A
SYSTEM OR APPLICATION, INCLUDING, WITHOUT LIMITATION, THE APPROPRIATE DESIGN, PROCESS AND
SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.
Compliance
FCC/Canada Radio Frequency Interference Compliance*
Determining FCC Class
The Federal Communications Commission (FCC) has rules to protect wireless communications from interference.
The FCC places digital electronics into two classes. These classes are known as Class A (for use in industrialcommercial locations only) or Class B (for use in residential or commercial locations). Depending on where it is
operated, this product could be subject to restrictions in the FCC rules. (In Canada, the Department of
Communications (DOC), of Industry Canada, regulates wireless interference in much the same way.)
Digital electronics emit weak signals during normal operation that can affect radio, television, or other wireless
products. By examining the product you purchased, you can determine the FCC Class and therefore which of the two
FCC/DOC Warnings apply in the following sections. (Some products may not be labelled at all for FCC, if so the
reader should then assume these are Class A devices.)
FCC Class A products only display a simple warning statement of one paragraph in length regarding interference and
undesired operation. Most of our products are FCC Class A. The FCC rules have restrictions regarding the locations
where FCC Class A products can be operated.
FCC Class B products display either a FCC ID code, starting with the letters EXN,
or the FCC Class B compliance mark that appears as shown here on the right.
The curious reader can consult the FCC web site
information.
FCC/DOC Warnings
This equipment generates and uses radio frequency energy and, if not installed and used in strict accordance with the
instructions in this manual and the CE Mark Declaration of Conformity**, may cause interference to radio and
television reception. 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.
Class A
Federal Communications Commission
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15
of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the
equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency
energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to
radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in
which case the user will be required to correct the interference at his own expense.
http://www.fcc.gov for more
Canadian Department of Communications
This 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ériel brouilleur du
Canada.
Class B
Federal Communications Commission
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15
of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a
residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed
and used in accordance with the instructions, may cause harmful interference to radio communications. However,
there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful
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.
• Increase the separation between the equipment and receiver.
• 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.
European Union - Compliance to EEC Directives
Readers in the EU/EEC/EEA must refer to the Manufacturer's Declaration of Conformity (DoC) for information**
pertaining to the CE Mark compliance scheme. The Manufacturer includes a DoC for most every hardware product
except for those bought for OEMs, if also available from an original manufacturer that also markets in the EU, or
where compliance is not required as for electrically benign apparatus or cables.
* Certain exemptions may apply in the USA, see FCC Rules §15.103 Exempted devices, and §15.105(c). Also
available in sections of CFR 47.
** The CE Mark Declaration of Conformity will contain important supplementary information and instructions for
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.
This manual assumes that you are already familiar with MacOS.
Conventions
The following conventions appear in this manual:
This icon denotes a note, which alerts you to important information.
This icon denotes a caution, which advises you of precautions to take to
avoid injury, data loss, or a system crash.
This icon denotes a warning, which advises you of precautions to take to
avoid being electrically shocked.
boldBold text denotes items that you must select or click on in the software,
such as menu items and dialog box options. Bold text also denotes
parameter names.
IEEE 488 andIEEE 488 and IEEE 488.2 refer to the ANSI/IEEE Standard 488.1-1987
IEEE 488.2and ANSI/IEEE Standard 488.2-1992, respectively, which define the
GPIB.
italicItalic text denotes variables, emphasis, a cross reference, or an introduction
to a key concept. This font also denotes text that is a placeholder for a word
or value that you must supply.
MacintoshMacintosh refers any computer using MacOS.
monospaceText in this font denotes text or characters that you should enter from the
keyboard, sections of code, programming examples, and syntax examples.
This font is also used for the proper names of disk drives, paths, directories,
programs, subprograms, subroutines, device names, functions, operations,
variables, filenames and extensions, and code excerpts.
RS-232RS-232 refers to the ANSI/EIA-232-C standard.
The following documents contain information that you might find helpful
as you read this manual:
•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 MacOSxiiwww.ni.com
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. high density (1.44 MB) NI-488.2 Software for MacOS
Distribution Disk, which is included in your kit
❑ One of the following controllers, which is included in your kit:
–GPIB-232CT-A, 100–120 VAC
–GPIB-232CT-A, 220–240 VAC
–GPIB-232CT-A, DC
1
❑ If you have an A C v ersion, one of the follo wing power cords, which is
included in your kit:
–U.S.A. standard power cord
–Swiss power cord
–Australian power cord
–Universal European power cord
–North American power cord
–U.K. power cord
❑ If you have a DC version, one of the following DC power supplies,
which is included in your kit:
–Wall-mount power supply (100–120 VAC, 9 V, 1 A)
–Desktop power supply (220–240 VAC, 9 V, 1 A)
❑ One of the following shielded GPIB cables, which you can purchase
from National Instruments:
–Type X1 single-shielded cables (1, 2, or 4 m)
–Type X2 double-shielded cables (1, 2, or 4 m)
Caution To meet FCC emission limits for this device, you must use a shielded (Type X1
or 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. It provides a computer with an RS-232 port,
a means of controlling, talking, and listening on the GPIB. The
GPIB-232CT-A is also capable of interfacing RS-232 instruments and
peripherals to the GPIB.
The GPIB-232CT-A has all the software and logic required to implement
the physical and electrical specifications of the IEEE 488 and RS-232
standards. It can interpret and execute high-level commands that you send
to it over the serial port, and perform GPIB-to-RS-232 protocol con version.
The GPIB-232CT-A also conforms to all versions of the IEEE 488
standard, including IEEE 488.2. The NA T4882 Controller chip implements
all IEEE 488 Talker/Listener/Controller functionality.
GPIB-232CT-A for MacOS1-2www.ni.com
Chapter 1Introduction
DC Power Jack
(DC version only)
RS-232 Connector
GPIB-232CT-A
IEEE 488 ControllerRS-232
NI-488.2 Software Overview
The NI-488.2 software for MacOS is a comprehensive set of programs and
drivers for transforming the Macintosh into a GPIB Controller with
complete communications and bus management capability. The NI-488.2
software also includes an interactive debugger; FutureBASIC, Macintosh
Programmer’s Workshop (MPW) C, THINK C, and Metrowerks
CodeWarrior C language interfaces; and a shared library for C
programmers developing applications for PowerPC.
The NI-488.2 software includes the following components:
•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 conf iguration utility that you can use
to examine or change the software settings.
•The C LI and BASIC LI folders contain language interfaces for
Macintosh Programmer's Workshop (MPW) C, THINK C,
Metrowerks CodeWarrior C, FutureBASIC, and a shared library for
C programmers developing applications for the PowerPC platform.
•IBIC 488.2 is an interactive GPIB control utility.
•NI-488.2 Test is a software diagnostic utility.
•The Ethernet folder contains utilities that are applicable only if you
have a National Instruments GPIB-ENET.
•The Read Me file contains the latest updates and corrections to the