Worldwide Technical Support and Product Information
ni.com
Worldwide Offices
Visit ni.com/niglobal to access the branch office Web sites, which provide up-to-date
contact information, support phone numbers, email addresses, and current events.
National Instruments Corporate Headquarters
11500 North Mopac ExpresswayAustin, Texas 78759-3504USATel: 512 683 0100
For further support information, refer to the Technical Support and Professional Services
appendix. To comment on National Instruments documentation, refer to the National
Instruments Web site at ni.com/info and enter the Info Code feedback.
The GPIB-140A and GPIB-140A/2 are warranted against defects in materials and workmanship for a period of one year 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. This warranty includes 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 period of 90 days from date of shipment, as evidenced by receipts or other
documentation. National Instruments will, at its option, repair or replace software media that do not execute programming
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 uninterrupted 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 warranty.
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 without prior notice to holders of this edition. 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.
XCEPTASSPECIFIEDHEREIN, NATIONAL INSTRUMENTSMAKESNOWARRANTIES, EXPRESSORIMPLIED, ANDSPECIFICALLYDISCLAIMSANY
E
WARRANTYOFMERCHANTABILITYORFITNESSFORAPARTICULARPURPOSE. CUSTOMER’SRIGHTTORECOVERDAMAGESCAUSEDBYFAULT
ORNEGLIGENCEONTHEPARTOF NATIONAL INSTRUMENTSSHALLBELIMITEDTOTHEAMOUNTTHERETOFOREPAIDBYTHECUSTOMER.
ORCONSEQUENTIALDAMAGES, EVENIFADVISEDOFTHEPOSSIBILITYTHEREOF. This limitation of the liability of National Instruments
will 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 cover damages,
defects, malfunctions, or service failures caused by owner’s failure to follow the National Instruments installation, operation,
or maintenance instructions; owner’s modification of the product; owner’s abuse, misuse, or negligent acts; and power failure
or surges, fire, flood, accident, actions of third parties, or other events outside reasonable control.
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 information retrieval system, or translating, in whole or in part, without the
prior written consent of National Instruments Corporation.
National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected
by copyright and other intellectual property laws. Where NI software may be used to reproduce software or other materials
belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the
terms of any applicable license or other legal restriction.
End-User License Agreements and Third-Party Legal Notices
You can find end-user license agreements (EULAs) and third-party legal notices in the following locations:
•Notices are located in the
directories.
•EULAs are located in the
•Review
<National Instruments>\_Legal Information.txt for more information on including legal information
in installers built with NI products.
Trademarks
Refer to the NI Trademarks and Logo Guidelines at ni.com/trademarks for more information on National Instruments
trademarks.
ARM, Keil, and µVision are trademarks or registered of ARM Ltd or its subsidiaries.
and FOUNDATION™ are trademarks of the Fieldbus Foundation.
Handle Graphics®, MATLAB®, Real-Time Workshop®, Simulink®, Stateflow®, and xPC TargetBox® are registered
trademarks, and TargetBox
Tektronix
The Bluetooth
The ExpressCard
®
, Tek, and Tektronix, Enabling Technology are registered trademarks of Tektronix, Inc.
®
word mark is a registered trademark owned by the Bluetooth SIG, Inc.
™
word mark and logos are owned by PCMCIA and any use of such marks by National Instruments is under
™
and Target Language Compiler™ are trademarks of The MathWorks, Inc.
license.
The mark LabWindows is used under a license from Microsoft Corporation. Windows is a registered trademark of Microsoft
Corporation in the United States and other countries.
Other product and company names mentioned herein are trademarks or trade names of their respective companies.
Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments
and have no agency, partnership, or joint-venture relationship with National Instruments.
Patents
For patents covering National Instruments products/technology, refer to the appropriate location: Help»Patents in your
software, the patents.txt file on your media, or the National Instruments Patent Notice at ni.com/patents.
Export Compliance Information
Refer to the Export Compliance Information at ni.com/legal/export-compliance for the National Instruments global
trade compliance policy and how to obtain relevant HTS codes, ECCNs, and other import/export data.
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, INCLUDING THE ABOVE, RELIABILITY OF OPERATION OF THE SOFTWARE
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
DEVELOP AN APPLICATION, 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 ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE. TO AVOID DAMAGE, INJURY, OR
DEATH, THE USER OR APPLICATION DESIGNER MUST TAKE 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 APPLICATION DESIGNER IS
ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL
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
Electromagnetic Compatibility Information
This hardware has been tested and found to comply with the applicable regulatory requirements and limits
for electromagnetic compatibility (EMC) as indicated in the hardware’s Declaration of Conformity (DoC)
These requirements and limits are designed to provide reasonable protection against harmful interference
when the hardware is operated in the intended electromagnetic environment. In special cases, for example
when either highly sensitive or noisy hardware is being used in close proximity, additional mitigation
measures may have to be employed to minimize the potential for electromagnetic interference.
While this hardware is compliant with the applicable regulatory EMC requirements, there is no guarantee
that interference will not occur in a particular installation. To minimize the potential for the hardware to
cause interference to radio and television reception or to experience unacceptable performance degradation,
install and use this hardware in strict accordance with the instructions in the hardware documentation and
the DoC
If this hardware does cause interference with licensed radio communications services or other nearby
electronics, which can be determined by turning the hardware off and on, you are encouraged to try to correct
the interference by one or more of the following measures:
•Reorient the antenna of the receiver (the device suffering interference).
•Relocate the transmitter (the device generating interference) with respect to the receiver.
•Plug the transmitter into a different outlet so that the transmitter and the receiver are on different branch
Some hardware may require the use of a metal, shielded enclosure (windowless version) to meet the EMC
requirements for special EMC environments such as, for marine use or in heavy industrial areas. Refer to
the hardware’s user documentation and the DoC
When the hardware is connected to a test object or to test leads, the system may become more sensitive to
disturbances or may cause interference in the local electromagnetic environment.
Operation of this hardware in a residential area is likely to cause harmful interference. Users are required to
correct the interference at their own expense or cease operation of the hardware.
Changes or modifications not expressly approved by National Instruments could void the user’s right to
operate the hardware under the local regulatory rules.
1
.
circuits.
1
for product installation requirements.
1
.
1
The Declaration of Conformity (DoC) contains important EMC compliance information and instructions
for the user or installer. To obtain the DoC for this product, visit
model number or product line, and click the appropriate link in the Certification column.
ni.com/certification, search by
Contents
About This Manual
Conventions ...................................................................................................................... ix
Related Documentation .................................................................................................... ix
Chapter 1
Introduction
What Your Kit Should Contain ........................................................................................ 1-1
Appendix E
Technical Support and Professional Services
Glossary
viii | ni.com
About This Manual
This manual describes how to install, configure, and operate the National Instruments GPIB-140A
or GPIB-140A/2 bus extender.
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.
boldBold text denotes the names of LEDs.
GPIB-140AGPIB-140A refers to a National Instruments GPIB extender that
extends the GPIB to a maximum distance of 1 km.
GPIB-140A/2GPIB-140A/2 refers to a National Instruments GPIB extender that
extends the GPIB to a maximum distance of 2 km.
GPIB extenderGPIB extender refers to the GPIB-140A and the GPIB-140A/2.
IEEE 488 andIEEE 488 and IEEE 488.2 refer to the ANSI/IEEE Standard 488.1-1987
IEEE 488.2and the 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. Italic text also denotes text that is a
placeholder for a word or value that you must supply.
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.
Related Documentation
The following documents contain information that you might find helpful as you read this manual:
•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
NoteYou cannot use the GPIB-140A or GPIB-140A/2 bus extenders to
communicate with either a GPIB-140 or GPIB-140/2 bus extender. The GPIB-140A
and GPIB-140A/2 bus extenders use a different protocol to communicate with each
other across the fiber optic cable.
The GPIB-140A and GPIB-140A/2 are high-speed bus extenders that you can use in pairs with
fiber-optic cable to connect two separate GPIB systems in a functionally transparent manner.
Although the two bus systems are physically separate, as shown in Figure 1-1, devices logically
appear to be located on the same bus, as shown in Figure 1-2.
Figure 1-1. Typical Extension System (Physical Configuration)
1-2 | ni.com
Figure 1-2. Typical Extension System (Logical Configuration)
GPIB-140A User Manual
The GPIB-140A and GPIB-140A/2 bus extenders comply with the specifications of the
ANSI/IEEE Standard 488.1-1987 and the ANSI/IEEE Standard 488.2-1992, including the Find
Listeners protocol. With the GPIB extenders, you can overcome the following two configuration
restrictions imposed by IEEE 488:
•A cable length limit of 20 m total per contiguous bus or 2 m per each device on the bus,
whichever is smaller
•An electrical loading limit of 15 devices per contiguous bus
Each GPIB-140A system extends the GPIB to a maximum distance of 1 km, and each
GPIB-140A/2 system extends the GPIB to a maximum distance of 2 km. Both systems extend
the loading limit to 28 devices (including the GPIB extenders), without sacrificing speed or
performance. You can connect these point-to-point extension systems in series for longer
distances or in star patterns for additional loading.
Using the HS488 protocol, the maximum data transfer rate over the extension is greater than
2.8 Mbytes/s. The GPIB extenders use a buffered transfer technique with a serial extension bus,
which maximizes performance and minimizes the cabling cost. Furthermore, the extender does
not affect the transfer rate between devices on the same side of the extension. The GPIB extender
can also check for errors to make sure that the data transmitted successfully over the fiber-optic
link.
Because the GPIB-140A and GPIB-140A/2 are functionally transparent extenders, the GPIB
communications and control programs that work with an unextended system also work with an
extended system. However, the Parallel Poll Response Modes section in Chapter 3, Configuring
and Using Your Hardware, describes one exception to this transparency in conducting parallel
polls.
Time-Saving Development Tools
Your kit includes the GPIB-140A or GPIB-140A/2 bus extender. In addition, you can order the
NI-488.2, LabWindows™/CVI™, or LabVIEW software from National Instruments to speed
your application development time and make it easier to communicate with your instruments.
The NI-488.2 software supports the concurrent use of multiple types of GPIB hardware. For
example, you can communicate with GPIB devices through a PCI-GPIB, a PCMCIA-GPIB, and
a GPIB-ENET/100 in the same system at the same time. The NI-488.2 software, along with the
GPIB hardware, transforms your computer into a GPIB Talker/Listener/Controller with
complete communications and bus management capability.
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 acquisition boards. After you have acquired raw data, you can
convert it into meaningful results using the powerful data analysis routines in LabVIEW.
LabVIEW also comes with hundreds of instrument drivers, which dramatically reduce software
development time, because you do not have to spend time programming the low-level control of
each instrument.
LabWindows/CVI is similar to LabVIEW, except that it combines an interactive, easy-to-use
development approach with the programming power and flexibility of compiled ANSI C code.
The GPIB Analyzer is another optional tool available from National Instruments that is useful
in troubleshooting a variety of IEEE 488 hardware and software problems. With its built-in
time-stamping capability, you can easily determine the throughput and overhead of your GPIB
systems. The GPIB Analyzer software for Windows works with the AT-GPIB/TNT+,
PCI-GPIB+, and NI PCIe-GPIB+ products, which provide GPIB Analyzer support along with
the functionality of a high-performance GPIB Controller.
For ordering information, or to request free demonstration software, contact National
Instruments.
1-4 | ni.com
2
Connecting Your Hardware
This chapter describes how to connect your GPIB extender and verify that it is working properly.
Step 1. Verify the DIP Switch Setting
The 3-bit DIP switch sets the operation mode of the GPIB extender. The default switch setting
is for unbuffered transfer mode, latched parallel poll response (PPR), and HS488 disabled mode,
as shown in Figure 2-1.
Figure 2-1. Default DIP Switch Setting
OFF
PARALLEL POLL IMMEDIATE
HS488 ENABLE
BUFFERED TRANSFER
Verify that the DIP switches on your GPIB extender are in these default positions. If you need
to change these settings, refer to Chapter 3, Configuring and Using Your Hardware, for
instructions on how to set the operation mode for your application.
To connect the cables to both GPIB extenders, complete the following steps:
1.Make sure that each GPIB extender is powered off.
2.Connect the two connectors on each end of the fiber-optic cable to your GPIB extenders, as
follows:
a.As shown in Figure 2-2, align the connector marked T (transmit) with the connector
marked TRANS on the side panel of the GPIB extender. Align the connector marked
R (receive) with the connector marked RCVR on the side panel of the GPIB extender.
Figure 2-2. Connecting the Fiber-Optic Cable to Both GPIB Extenders
GPIB-140A or
GPIB-140A/2
T
R
RCVR
RCVRTRANS
Fiber-Optic Cable
R
GPIB-140A or
GPIB-140A/2
T
TRANS
b.Remove the caps on the connectors.
c.Align the notch on each cable connector to the slot of the fiber-optic connector on the
box.
d.Firmly push in the cable connector and rotate the sleeve clockwise until it locks on to
the side notch of the fiber-optic connector on the box.
3.Connect the end of the extender with the GPIB connector to your GPIB system. Make sure
that you follow all IEEE 488 cabling restrictions. For typical restrictions, refer to the
Configuration Requirements section in Appendix A, GPIB Basics.
4.Plug the utility power cord included with your GPIB extender into an AC outlet of the
correct voltage.
5.Plug the other end of the utility power cord into your GPIB extender.
Step 3. Switch On Your GPIB Extender
Power on each GPIB extender. The POWER LED should light immediately. If the POWER
LED does not light immediately, make sure that power is supplied to your GPIB extender.
The LINK LED lights only when both GPIB extenders are on and the fiber-optic cable is
properly connected between them.
2-2 | ni.com
GPIB-140A User Manual
GPIB-140A or
GPIB-140A/2
Fiber-Optic
Cable
TRANS
RCVR
R
R
T
T
Step 4. Verify the Connection
Each GPIB extender has a self test that determines whether the GPIB extender receivers,
transmitters, and packet transmission and reception circuitry are working properly.
To run the self test, complete the following steps:
1.Power off the GPIB extender.
2.Disconnect the fiber-optic cable from the GPIB extender.
3.Power on the GPIB extender.
The POWER LED lights, indicating that power is supplied to the extender. The LINK
LED remains off.
4.Connect the connector marked T (transmit) on one end of the fiber-optic cable to the
connector marked TRANS on the side panel of the GPIB extender.
5.Connect the connector marked R (receive) on the opposite end of the fiber-optic cable to
the connector marked RCVR on the side panel of the GPIB extender.
Figure 2-3. GPIB Extender Self-Test Configuration
The LINK LED lights, indicating that the cable is connected. The ERROR LED should
remain off, indicating that the GPIB extender is working properly.
6.If the ERROR LED does not remain off, complete the following steps to solve the problem:
a.Verify that the fiber-optic cable is connected to the GPIB extender, as described in
steps 4 and 5. If the problem persists, continue to the next step.
b.Repeat steps 4 and 5 using the unconnected ends of the fiber-optic cable. If switching
the fiber-optic cable connectors solves the problem, you need to replace your
fiber-optic cable. To order a new fiber-optic cable, contact National Instruments. If
switching the fiber-optic cable connectors does not solve the problem, continue to the
next step.
c.If possible, repeat steps 4 and 5 using a different fiber-optic cable. If the problem
persists, you might need to replace your GPIB extender. For more information, contact
National Instruments.