The NI 2501 and NI 2503 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 durin g the warranty p eriod . T his w arran ty i nclu des part s an d labo r.
The media on which you receive National Instruments software are warranted not to fail to execute programming
instructions, due to defects in materials and work man ship, for a peri od of 90 d ays from da te o f sh ipm ent, as evi denced
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 noti ce of su ch defect s d uring th e warranty perio d.
National Instruments does not warrant that the op eration of t he soft ware shall b e uni nterrup ted or erro r free.
A Return Material Authorization (RMA) number must b e ob tain ed fro m th e facto ry an d clearl y mark ed on t he outsi de
of the package before any equipment wil l be accepted for warranty work. National Instruments will pay the shippi ng costs
of returning to the owner parts which are covered by warran ty.
National Instruments believes that the information in this manual is accurate. The document has been c arefully 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 th is do cume nt with ou t p rio r no ti ce to hold ers o f thi s ed itio n. The read er sh ou ld
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 docume nt o r th e in form ati on con tai ned in i t.
XCEPT AS SPECIFIED HEREIN
E
ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE
CUSTOMER
OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF
National Instruments will apply regardless of the form of action, wh ether in con tract or tort , incl udin g n egli gen ce.
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, malfuncti ons, or s ervice failur es caused by own er’s fai lure to fol low
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.
ATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS
. N
ATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS
, 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 information retrieval system, or translating, in whole or in part, without
the prior written consent of National Instruments Corporation.
USTOMER’S RIGHT TO RECOVER DAMAGES CAUSED
. C
. This limitation of the liability of
,
Trademarks
CVI™, LabVIEW™, NI-SWITCH™, and PXI™ are tra d e marks of National In st rume nts Co rporat io n.
Product and company names listed are trademarks or trade names of their respective companies.
WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS
National Instruments products are not designed with com ponent s and tes ting inten ded to ensure a l evel of reliab ilit y
suitable for use in treatment and diagnosis of humans. Applications of National Instruments products invol ving m edical
or clinical treatment can create a potential for accidental injury caused by product failure, or by errors on the part of the
user or application designer. Any use or application of National Instruments products for or involving medical or clinical
treatment must be performed by properly trained and qualified medical personnel, and all traditional medical safeguards,
equipment, and procedures that are appropriate in the particular situation to prevent serious injury or death should always
continue to be used when National Instruments products are being used . National Instrum ents product s are NOT intended
to be a substitute for any form of established process, procedure, or equipment used to monitor or safeguard human health
and safety in medical or clinical treatment.
Compliance
FCC/DOC Radio Frequency Interference
Class A 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. Classification
requirements are the same for the Federal Communications Commission (FCC) and the Canadian
Department of Communications (DOC). This equipment has been tested and found to comply with the
following two regulatory agencies:
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.
Notices to User: Changes or modifications not expressly approved by National Instruments could void
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: Interference to Home Electronic Entertainment Equipment Handbook. This booklet is available from the U.S. Government
Printing Office, Washington, DC 20402.
the user’s authority to operate the equipment under the FCC Rules.
This device complies with the FCC rules only if used with shielded interface cables
of suitable quality and construction. National Instruments used such cables to test
this device and provides them for sale to the user. The use of inferior or nonshielded
interface cables could void the user’s authority to operate the equipment under the
FCC rules.
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.
Conventions
The following conventions are used in this manual.
<>Angle brackets containing numbers separated by an elli psis r epresen t a
range of values associated with a port, bit, or signal name (for example,
CH<0..7> stands for the signals CH0 through CH7).
This icon to the left of bold italic ized text denotes a n ote, which alerts
you to important information.
!
bold italicBold italic text denotes a note, caution, or warning.
italicItalic text denotes variables, emphasis, a cross reference, or an introduction
This icon to the left of bold italic ized text denotes a ca ution, wh ich
advises you of precautions to take to avoid injury, data loss, or a
system crash.
This icon to the left of bold italicized text denotes a warning, which advises
you of precautions to take to avoid being electrically shocked.
to a key concept. This font also denotes text from which you supply the
appropriate word or value, as in CHx.
Contents
Chapter 1
Routing Signals with Your NI 2501/2503
About the NI 2501/2503 ................................................................................................1-1
Analog Bus......................................................................................................1-2
National Instruments Corporation1-1NI 2501/2503 User Manual
Chapter 1Routing Signals with Your NI 2501/2503
Refer to AppendixB, Accessories, for more information on terminal blocks
you can order from National Instruments.
You can also use multiple NI2501/2503 cards together to expand the size
of the multiplexer or matrix. For example, you can connect two cards to
create a 48 x 1 two-wire multiplexer or a 12 x 4 two-wire matrix.
Caution The maximum voltage is different for the NI2501 and NI2503 switch cards.
!
Ifyou intend to use more than one type of card, be sure you do not exceed the
maximum voltage of any card in your system. Refer to AppendixA, Specifications,
for information.
Analog Bus
The NI2501/2503 works with a four-wire analog bus. You connect the
analog bus to the switch card through its main front-panel connector.
Youcan use the analog bus to simplify connecting multiple cards to an
instrument such as a digital multimeter (DMM). This bus makes it possible
to create large systems using multiple switch cards.
For example, if you have two NI2501/2503 cards—or one of each—in two
adjacent slots, you can connect them through the analog bus and create a
48x1 two-wire multiplexer. With this flexibility, you keep the wiring of
the modules to a minimum while you create large switching solutions. In
such cases, the scanning architecture uses some of the PXI trigger lines for
synchronization and delivers full access to all of the scanning features for
the cards. The National Instruments software you receive with the
NI2501/2503 handles the complexity of programming the cards.
Triggers
Two triggers are used to handshake the NI2501/2503 switch with PXI
instruments or other external instruments. TheScanner Advanced trigger
indicates when the card has closed all the necessary switches for the next
scan and the switches have settled, ordebounced. This trigger is typically
wired to a measurement device, such as a DMM, which is configured to
take a reading when it receives the trigger.
The External Trigger Input trigger is sourced by another instrument, such
as the DMM, and causes the NI2501/2503 to advance to the next entry
inthe scan list. The triggers can be routed to the front connector of the
NI2501/2503, to any of the PXI TTL triggers, or to the PXI star trigger. If
no external trigger input is available, you can have the software trigger the
NI2501/2503 to advance to the next entry in the scan list.
National Instruments Corporation1-3NI 2501/2503 User Manual
Chapter 1Routing Signals with Your NI 2501/2503
Connecting Signals
This section describes the signal connections to the NI 2501/2503 module
via the module front connector. This section also includes specifications
and connection instructions for the signals on the NI 2501/2503 module
connectors.
Caution
!
Static electricity is a major cause of component failure. To prevent damage to the
electrical components in the module, observe antistatic precautions whenever
removing a module from the chassis or whenever working on a module.
Front Connector
Warning
Any connections that exceed the maximum settings for the NI 2501/2503 can
result in an electrical shock hazard and damage to the NI 2501/2503 module and
any or all of the boards connected to the PXI backplane. National Instruments
is NOT liable for any damages or injuries resulting from exceeding maximum
voltage ratings. Refer to Appendix A, Specifications, for information.
The pinout assignments for the NI 2501/2503 front connecto r vary
depending on the wiring mode you use. The following four diagrams show
the pin assignments for two-wire mode, one-wire mode, four-wire mode,
and matrix mode, respectively. Two-wire mode is shown first because it is
the most common configuration. Table 1-1, following the diagrams,
describes the connector signals. For more information on the wiring modes,
refer to the Multiplexer section in Chapter 2, NI 2501/2503 Operation.
Figure 1-4. Front Connector Pinout Assignments to Create a 6 x 4 Matrix
For matrix mode, connect all pins with the same name together external to
the switch card. The National Instruments TB-2606 terminal block
connects the necessary pins to create the 6 x 4 matrix.
National Instruments Corporation1-9NI 2501/2503 User Manual
Chapter 1Routing Signals with Your NI 2501/2503
Contact Protection
Caution
!
When inductive loads are connected to the relays, a large counter electromotive
force may occur at relay switching time due to the energy stored in the inductive
load. These flyback voltages can severely damage the relay contacts and greatly
shorten the life of the relay.
It is best to limit flyback voltages at your inductive load by installing a flyback
diode for DC loads or a movistor for AC loads.
Terminal Blocks
Several terminal blocks with screw terminals are available for easy signal
connection to the NI 2501/2503 inputs. Refer to Appendix B, Accessories.
Software Choices
You have several options to choose from when programming your National
Instruments switch card. You can use the NI-SWITCH driver software, or
National Instruments application software.
NI-SWITCH Driver Software
The NI-SWITCH instrument driver is an Intelligent Virtual Instrument
(IVI) compliant instrument driver that is bundled with NI-SWITCH cards
at no cost.
NI-SWITCH features a set of operations and attributes that exercise all
the functionality of the switching hardware, including configuration,
opening/closing, and scanning. In addition, NI-SWITCH comes with
an interactive soft front panel and online documentation.
NI-SWITCH eliminates the need to understand complex register
programming and interrupt handling in the Microsoft operating systems,
and frees you to focus on creating your test system.
LabVIEW and LabWindows/CVI are innovative program development
software packages for data acquisition and control applications. LabVIEW
uses graphical programming, whereas LabWindows/CVI enhances
traditional programming languages. Both packages include extensive
libraries for data acquisition, instrument control, data analysis, and
graphical data presentation. Using LabVIEW or LabWindows/CVI can
significantly reduce the development time for your data acquisition and
control application.
LabVIEW features interactive graphics, a state-of-the-art user interface,
and a powerful graphical programming language. The LabVIEW
NI-SWITCH VI Library, a series of virtual instruments (VIs) for using
LabVIEW with National Instruments switch hardware, is included with
the NI-SWITCH driver.
LabWindows/CVI features interactive graphics, a state-of-the-art user
interface, and uses the ANSI standard C programming language. The
LabWindows/CVI NI-SWITCH Library, a series of functions for using
LabWindows/CVI with National Instruments switch hardware, is included
with the NI-SWITCH driver.
Third Party Software
The NI-SWITCH instrument driver also includes support files for
Microsoft Visual C++ and Microsoft Visual Basic. Please see the
NI-SWITCH readme file for version support information.