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.
National Instruments Corporation1-11NI 2501/2503 User Manual
NI 2501/2503 Operation
This chapter contains a functional overview of the NI 2501/2503
module and explains the operation of each functional unit making up
the NI 2501/2503 module.
Functional Overview
The block diagrams on the following pages illustrate the key functional
components of the switch card modules. Figure 2-1 shows the NI 2501 and
Figure 2-2 shows the NI 2503.
The major components of the NI 2501/2503 modules are as follows:
National Instruments Corporation2-3NI 2501/2503 User Manual
Chapter 2NI 2501/2503 Operation
Multiplexer
The relay multiplexer consists of four banks of six channels. The switches
for the six channels in each bank connect the channels to a common output
for each bank.
•Bank 0 consists of Channels 0–5 and Common 0.
•Bank 1 consists of Channels 6–11 and Common 1.
•Bank 2 consists of Channels 12–17 and Common 2.
•Bank 3 consists of Channels 18–23 and Common 3.
Each channel connects to the corresponding bank common by closing its
relay/FET switch. You can have multiple channels connected to the bank
common at the same time. Bank connection relay/FET switches can
combine the commons of the four banks. See Appendix D, Architecture
Drawings, for illustrations of the NI 2501 and NI 2503 architecture.
The NI 2503 relays are single-side stable. When power is removed from the
relay coil, the relay returns to its de-energized state. The de-energized state
opens all the relays, disconnecting the device from external inputs and
outputs.
See Figures 1-1 through 1-4 in Chapter 1, Routing Signals with Your
NI 2501/2503, for the pin names used for the different modes of operation.
Different names are used for the pin assignments in the different modes to
better reflect the operation in the different modes and to simplify the task
of wiring.
Two-Wire Mode
Two-wire mode is the default and most common configuration for the
NI 2501/2503 switch cards. The CHx+ and CHx– channels are switched
together to the COMx+ and COMx– signals for the corresponding bank.
One-Wire Mode
One-wire mode doubles the channel count of what is available in two-wire
mode. However, the signals connected to the switch card need a common
reference. For one-wire measurements, Bank 0 includes extra relays
between the multiplexed channel relays and COM0. The 1WIRE relay
switch connects COM0– to the 1-Wire Lo Ref signal. The HLSELECT
relay connects COM0+ to either CHx+ or CHx–. The de-energized states
for these relays configure the device for two-wire measurements.
Four-wire mode is typically used for resistance measurements. In this
mode, CHxA+, CHxA–, CHxB+, and CHxB–, are switched together to
COMxA+, COMxA–, COMxB+, and COMxB–.
Matrix Mode
By adding some external wiring, you can configure the switch card as
a two-wire 6 x 4 crosspoint matrix. (See Figure 1-4 in Chapter 1.) The
TB-2606 terminal block simplifies your wiring task by connecting the
necessary pins on the switch card’s front connector to create the 6 x 4
matrix.
In the matrix configuration, you can connect any R OWx signal to an y COLx
signal.
Switch Control Circuitry
The switch control circuitry (SCC) is responsible for opening and closing
FET switches on the NI 2501 or relays on the NI 2503. You can load
commands for the SCC into memory storage using the driver software
you received with your kit. Consult the online help or your software
documentation for specific information on the appropriate commands.
There are two reasons for storing the commands in memory before the
SCC can process them:
•The operate/release time for the NI 2503 is 3 to 5 ms. Using memory
storage, the software can send multiple commands to the SCC without
having to wait for a relay action to complete.
•The memory is used to store a scan list necessary for hardware random
scanning.
Chapter 2NI 2501/2503 Operation
Random Scanning
The NI 2501/2503 can perform random scanning. In random scanning,
the switch card can scan the channels in any order.
The scan list is downloaded to onboard memory. Commands in the scan
list can:
National Instruments Corporation2-5NI 2501/2503 User Manual
Chapter 2NI 2501/2503 Operation
•Generate a scanner advanced trigger
•Generate a breakpoint interrupt
Y ou can use the driv er software to configure the switch card for continuous
or one-time scanning. In continuous scanning, the switch card cycles
through the scan list until you disable scanning. For one-time scanning, the
switch card cycles through the scan list only once.
You can also use software commands to clear the scan list or reset it to the
beginning at any time.
The onboard control logic for the NI 2501/2503 switch card gives you
direct access to open and close the relays, and also the capability to
download up to 1024 random scanning instructions. The software included
with the card automatically configures the NI 2501/2503 and downloads
the scan list to hardware for you. The scan list itself downloads directly into
the memory of the card to deliver the fastest scan possible with no
controller intervention. You can configure the switch card to process the
scan list once or to continuously loop through the scan list.
When configured to operate as a single switch card with multiple
multiplexers—such as four 6 x 1 two-wire multiplexers—the scan
architecture makes it possible for each multiplexer to have its o wn parallel
scan list (which must be triggered together). Also, if the switch card is
configured as a matrix, the scanning architecture scans the matrix through
a series of user-definable states.
PXI Interface
The NI 2501/2503 switch card has a PXI interface through which you
can use your driver software to configure and control the card. The
NI 2501/2503 takes advantage of PXI features. It uses the PXI TTL triggers
to synchronize scanning with a measurement device such as a National
Instruments NI-4060 PXI digital multimeter (DMM).
Triggers
External Trigger Input
The NI 2501/2503 can use an external trigger input to advance between
scan setups in a scan list. Using the driver software, you can configure the
switch card to route the external trigger from any of the PXI TTL trigger
lines, the PXI star trigger, or the EXT TRIG IN pin on the front connector.
Alternatively, you can use a software command to trigger the switch card.
Routing the external trigger from the front connector to the PXI trigger
lines gives you the capability to trigger multiple switch cards with only one
board connected to the external trigger from the measurement device.
All external trigger lines are compatible with TTL voltage levels and are
edge sensitive.
The external trigger from the front connector requires a minimum pulse
width of 500 ns. The line has a low pass filter to prevent false triggering.
The minimum pulse width from the PXI TTL triggers and PXI star trigger
is 70 ns.
Scanner Advanced
The NI 2501/2503 can generate a scanner advanced trigger to indicate
when the switch card is set up and ready to take measurements. Using the
driver software, you can configure the switch card to route the scanner
advanced (SCANADV) trigger to any PXI TTL trigger line, the PXI star
trigger, or the SCAN_ADV pin on the front connector. You can configure
the switch card to generate the SCANADV trigger when a relay has settled
(or debounced).
All SCANADV trigger lines are compatible with TTL voltage levels.
Because the NI 2501/2503 has open collector drives on the PXI TTL trigger
lines, you can have multiple switch cards using the same trigger line in the
multicard SCANADV mode.
Modes
SCANADV has two modes of operation. In its default mode, the
SCANADV trigger asserts for 1 µs after the relay has debounced. You
can also configure the switch card for handshaking mode, in which the
SCANADV trigger goes high after a relay settles, and the SCANADV
trigger goes low after the external trigger input asserts. Use this
handshaking mode for multicard scanning.
National Instruments Corporation2-7NI 2501/2503 User Manual
The NI 2501/2503 ignores external triggers when it is not in a wait-for-trigger
state while scanning.
Chapter 2NI 2501/2503 Operation
Initiating Scanning
When you use the NI 2501/2503 to initiate a scan, make sure the
measurement device is armed (waiting for trigger) before enabling
scanning on the switch card. Enabling scanning causes the first switch(es)
in the scan list to close and generates a scanner advanced trigger after the
relay/FET switches have settled or debounced.
When you use the measurement device to initiate a scan, make sure
scanning is enabled on the NI 2501/2503 before the measurement device
starts to take measurements. This ensures that the switch card has the
correct signal routed and that the switch card is waiting for an external
trigger from the measurement device.
Always configure the triggers in a system before configuring the
measurement device or the NI 2501/2503 for scanning. When triggers are
configured, a state change or pulse could occur on the trigger line. This is
also possible when you reset the switch card.
Multicard Triggering
You can use multiple NI 2501/2503 switch cards together in conjunction
with an instrument such as a DMM. In multiple switch-card systems,
be sure to identify one switch card as the master switch card.
All other switch cards for the system are identified as slave switch cards.
The master switch card can route an external trigger from the front
connector to a PXI backplane trigger. In addition, the master switch card
can route the SCANADV trigger from the PXI backplane to the front
connector. This functionality makes it possible to wire external triggers
from/to only one switch card in the system, which simplifies the wiring
scheme.
For more information, refer to the NI-SWITCH Software User Manual.
National Instruments CorporationA-7NI 2501/2503 User Manual
Accessories
This appendix lists various National Instruments products you can use with
your NI 2501/2503 module.
•The TB-2605 terminal block has screw terminal connections for all
•The TB-2606 terminal block converts the switch card to a 6 x 4
•Analog bus connectors plug into TB-2605 and TB-2606 terminal
•The TBX-68S I/O connector block is a DIN rail-mounted terminal
•SH68-68S shielded 68-conductor cable connects the NI 2501/2503 to
•The TBX-68LP and TBX-68LPR are lo w-cost termination accessories
•CA-1000 is a configurable signal conditioning enclosure. It uses the
B
channels, bank commons, analog bus, and trigger signals. Y ou can use
this card for multiplexer switching applications. The terminal block
has a temperature sensor that is used for thermocouple cold-junction
compensation.
two-wire matrix configuration. This terminal block creates the matrix
configuration by connecting channels (0, 6, 12, 18) (1, 7, 13, 19) …
(5, 11, 17, 23).
blocks. These analog bus plugs connect the analog bus of two cards
and terminate in banana plugs.
block with screw terminal connections you can use for all channels,
bank outputs, analog bus, and trigger signals. You can use this card
for multiplexer switching applications. The terminal block has a
temperature sensor that is used for thermocouple cold-junction
compensation. This is connected to the switch card through the
SH68-68S cable.
the TBX-68S, TBX-68LP, or TBX-68LPR.
with 68 screw terminals.
TBX-68LPR terminal block.
Contact National Instruments for more specific information about these
products.
National Instruments CorporationB-1NI 2501/2503 User Manual
Customizing Your Card
This appendix describes options for customizing your NI 2501/2503 card.
Current-Loop Receivers
The NI 2501/2503 modules have sockets for transforming individual
channels to current-to-voltage converters. National Instruments offers
a process-current pack of four 249 Ω, 0.1%, 5 ppm, 0.25 W resistors.
The reference designator format for the current-loop resistors is such that
for input channel x, the resistor is RCLx. For example, the resistor for
channel 14 is RCL14.
C
Caution
!
Before installing the resistors in your module, make sure that no signals are
connected to your module front connector.
Before installing your module in the PXI chassis, you must install the
resistors by performing the following steps:
1.Ground yourself via a grounding strap or a ground connected to
your PXI chassis. Properly grounding yourself prevents damage to
your PXI module from electrostatic discharge.
2.Bend and trim the resistor lead as shown in Figure C-1. Be sure that
the resistor does not extend more than 0.5 in. above the surface of the
circuit board.
3.Insert the resistor into the appropriate socket, labeled RCLx.
This appendix contains architecture drawings for the NI 2501 and NI 2503
switch cards. The drawings show the signal names that are used when the
boards are in two-wire mode. To make these drawings relevant for
one-wire mode, four-wire mode, or 6 x 4 matrix mode, use the signal names
shown in Figures 1-2 through 1-4, respectively, in Chapter 1, Routing
Signals with Your NI 2501/2503.
Relay or switch names are based on the signal names where applicable. For
example, the switch that connects CH9+ to COM1 and CH9– to COM1– is
named CH9.
For the other configuration relays, the names are as follows:
•For the relays that connect banks, the switch name is BCx-y, where x and y are the bank numbers that are being connected.
•For the relay that switches 1-Wire Lo Ref to COM0–, the name is
1WIRE.
•For the relay that switches CHx+ or CHx– to COM0+, the name is
HLSELECT.
•F or the Amp Select switches (NI 2501 only), the names are AMP0 and
AMP1.
National Instruments CorporationD-3NI 2501/2503 User Manual
Common Questions
This appendix addresses common questions you may have while using
your NI 2501 or NI 2503 switch card.
How fast can I scan with the NI 2501 switch card?
The NI 2501 can be scanned as fast as 250 Kscans/s. However, at faster
scan rates, the accuracy of the card declines due to the settling time of the
card. National Instruments recommends you set the scan rate to allow for
enough settling time to ensure the desired accuracy.
How fast can I scan with the NI 2503 switch card?
The NI 2503 uses relays that have typical operate and release times of 3 ms.
In addition to the operate and release times, the NI 2503 also requires from
0.5 to 1.0 ms for the relay contacts to stop bouncing. The combination of
these two times are known as debounce time. The default debounce time for
the NI 2503 switch card is set to just under 5 ms. This set tin g allows the
card to be scanned at 200 scans/s. However, if the software implements
break-before-make, this would reduce the scan rate to 100 scans/s.
Typically , when using a DMM to make accurate measurements, the DMM
requires hundreds of ms. Consequently, the DMM becomes the limiting
factor in determining the scan rate.
E
What should I do if the software detects th e board b u t the swit ches do
not switch?
•Verify that the switches do not switch. Close your application program
and then launch the soft front panel as described in the Setup and Test
document you received with your kit. The soft front panel shows the
state of each relay or FET switch on the board. Try closing and opening
the switches.
•Also be sure to check the return codes of the NI-SWITCH operation to
ensure that there are no errors (negative value) or warnings (positive
value). You can also use the NI-Spy utility to check for error codes.
National Instruments CorporationE-1NI 2501/2503 User Manual
Appendix ECommon Questions
•Finally, verify that your code is correct. For reference, see the
examples described in the NI-SWITCH Software User Manual. The
NI-SWITCH driver also ships with several examples in source code.
Compare your algorithm to the ones in the examples.
What should I do if scanning does not work?
•First, ensure that you have configured the switch card and the
instrument to match trigger lines. The output trigger of the instrument
should connect to the trigger input of the switch card. In addition, the
scanner advanced trigger of the switch card should be connected to the
input trigger of the instrument.
•If the switch card is used to initiate the scan, make sure the DMM is
waiting for a trigger before enabling scanning on the switch card. This
is the recommended method for hardware scanning.
•If the DMM is used to initiate the scan, enable scanning on the switch
card before configuring the DMM to start taking measurements.
•Also be sure to check the return codes of the NI-SWITCH operation to
ensure that there are no errors (negative value) or warnings (positive
value). You can also use the NI-Spy utility to check for error codes.
•Finally, verify that your code is correct. For reference, see the
examples described in the NI-SWITCH Software User Manual. The
NI-SWITCH driver also ships with several examples in source code.
Compare your algorithm to the ones in the examples.
Do I need to program the switch card myself?
The NI 2501/2503 comes with the NI-SWITCH driver software, which
exports the full functionality of the card. NI-SWITCH handles the complex
issues of direct memory access, interrupts, and operating system
interfacing.
For your convenience, this appendix contains forms to help you gather the information necessary
to help us solve your technical problems and a form you can use to comment on the product
documentation. When you contact us, we need the information on the Technical Support Form and
the configuration form, if your manual contains one, about your system configuration to answer your
questions as quickly as possible.
National Instruments has technical assistance through electronic, fax, and telephone systems to quickly
provide the information you need. Our electronic services include a bulletin board service, an FTP site,
a fax-on-demand system, and e-mail support. If you have a hardware or software problem, first try
the electronic support systems. If the information available on these systems does not answer your
questions, we offer fax and telephone support through our technical support centers, which are staffed
by applications engineers.
Electronic Services
Bulletin Board Support
National Instruments has BBS and FTP sites dedicated for 24-hour support with a collection of files
and documents to answer most common customer questions. From these sites, you can also download
the latest instrument drivers, updates, and example programs. For recorded instructions on how to use
the bulletin board and FTP services and for BBS automated information, call 512 795 6990. You can
access these services at:
United States: 512 794 5422
Up to 14,400 baud, 8 data bits, 1 stop bit, no parity
United Kingdom: 01635 551422
Up to 9,600 baud, 8 data bits, 1 stop bit, no parity
France: 01 48 65 15 59
Up to 9,600 baud, 8 data bits, 1 stop bit, no parity
FTP Support
To access our FTP site, log on to our Internet host, ftp.natinst.com, as anonymous and use
your Internet address, such as
documents are located in the
National Instruments CorporationF-1NI 2501/2503 User Manual
joesmith@anywhere.com, as your password. The support files and
/support directories.
Fax-on-Demand Support
Fax-on-Demand is a 24-hour information retrieval system containing a library of documents on a wide
range of technical information. You can access Fax-on-Demand from a touch-tone telephone at
512 418 1111.
E-Mail Support (Currently USA Only)
You can submit technical support questions to the applications engineering team through e-mail at the
Internet address listed below . Remember to include your name, address, and phone number so we can
contact you with solutions and suggestions.
support@natinst.com
Telephone and Fax Support
National Instruments has branch offices all over the world. Use the list below to find the technical
support number for your country. If there is no National Instruments office in your country, contact
the source from which you purchased your software to obtain support.
Photocopy this form and update it each time you make changes to your software or hardware, and use
the completed copy of this form as a reference for your current configuration. Completing this form
accurately before contacting National Instruments for technical support helps our applications
engineers answer your questions more efficiently.
If you are using any National Instruments hardware or software products related to this problem,
include the configuration forms from their user manuals. Include additional pages if necessary.
Name __________________________________________ ________________________________
Company _______________________________________________________________________
Address ________________________________________________________________________
______________________________________________________________________________ _
Fax ( ___ ) ________________Phone ( ___ ) __________________________________________
Computer brand____________ Mod e l ___________________Processor _____________________
Operating system (include version number) _________________________________ ___________
Clock speed ______MHz RAM _____MBDisplay adapter __________________________
Mouse ___yes ___no Other adapters installed_______________________________________
Hard disk capacity _____MB Brand_________________________________________________
Instruments used _____________________________________ ____________________________
______________________________________________________________________________ _
National Instruments hardware product model_____________ Revision ____________________
Configuration ______________ _____________________________________________________
National Instruments software product ________________ ___ Version _____________________
Configuration ______________ _____________________________________________________
The problem is: __________________________________________________________________
_______________________________________________________________________________
List any error messages: ___ _________________________________________ _______________
______________________________________________________________________________ _
The following steps reproduce the problem: ___________________________________________
NI 2501/2503 Hardware and Software
Configuration Form
Record the settings and revisions of your hardware and software on the line to the right of each item.
Complete a new copy of this form each time you re vise your softw are or hardw are configuration, and
use this form as a reference for your current configuration. Completing this form accurately before
contacting National Instruments for technical support helps our applications engineers answer your
questions more efficiently.
National Instruments Products
Using NI 2501 or NI 2503?___________________________________ ______________________
Hardware revision ___________ __________________________________________ ___________
Switching mode_______________________________ ___________________________________
List National Instruments Software Installed and Version
NI-SWITCH version ______________________________________________________________
LabVIEW version ________________________________________________________________
LabWindows/CVI version __________________________________________________________
Other National Instruments software version _______________ _____________________________
PXI Chassis make and model ____________________ ___________________________________
Microprocessor ______________________________________ ____________________________
Clock frequency or speed __________________________________________________________
Type of video board installed ____________________ ___________________________________
Operating system version __________________________________________________________
Operating system mode___________ _________________________________________ ________
Programming language ___________________________________________________________ _
Programming language version___________________________________________ ___________
Switch accessories________________________________________________________________
_______________________________________________________________________________
Instruments connected to switch ___________ _________________________________________ _
National Instruments encourages you to comment on the documentation supplied with our products.
This information helps us provide quality products to meet your needs.
Title: NI 2501/2503 User Manual
Edition Date:July 1998
Part Number:
Please comment on the completeness, clarity, and organization of the manual.
______________________________________________________________________________ _
If you find errors in the manual, please record the page numbers and describe the errors.
Thank you for your help.
Name _________________________________________________________________________
Title __________________________________________________________________________
Company_______________________________________________________________________
Address _____________________________________ ___________________________________
National Instruments CorporationG-1NI 2501/2503 User Manual
Glossary
busthe group of conductors that interconnect individual circuitry in a computer.
Typically, a bus is the expansion vehicle to which I/O or other devices are
connected. Examples of PC buses are the ISA and PCI bus.
C
CCelsius
channelpin or wire lead on the multiplexer to which you apply or from which you
read the analog or digital signal. Signals can be single-ended or differential.
cold-junction
compensation
contact bouncethe intermittent switching that occu rs when the movable metal parts of a
a method of compensating for inaccuracies in thermocouple circuits
relay make or break contact
D
DCdirect current
debouncedindicates when the contact bounce has ended. See contact bounce.
devicea plug-in board, card, or pad that can contain multiple channels and
conversion devices. Some examples of devices are computers,
multimeters, multiplexers, oscillators, operator interfaces, and
counters.
digital multimetera multifunction meter used to make measurements such as voltage, current,
resistance frequency, temperature, and so on
DINDeutsche Industrie Norme
DMAdirect memory access—a method by which data can be transferred to/from
computer memory from/to a device or memory on the bus while the
processor does something else. DMA is the fastest method of transferring
data to/from computer memory.
DMMSee digital multimeter.
drivers/driver softwaresoftware that controls a specific hardware device such as a switch card
sensora device that responds to a physical stimulus (heat, light, sound,
settling timethe amount of time required for a voltage to reach its final value within
soft front panela graphical program included with NI-SWITCH that you can use to
the trigger generated by the switch card when scanning. The trigger occurs
after the switch card has closed a switch and the switch has settled.
pressure, motion, flow, and so on), and produces a corresponding
electrical signal
specified limits
interactively control the switch
T
TBXTerminal Block Extension
terminal blockan accessory containing wire connection points, typically screw terminals
thermistora semiconductor sensor that exhibits a repeatable change in electrical
resistance as a function of temperature. Most thermistors exhibit a
negative temperature coefficient.
thermocouplea temperature sensor created by joining two dissimilar metals. The
junction produces a small voltage as a function of the temperature.
triggerany event that causes or starts some form of data capture
TTLTransistor-Transistor Logic
V
Vvolts
VDCvolts, direct current
VIvirtual instrument—(1) a combination of hardware and/or software
elements, typically used with a PC, that has the functionality of a classic
stand-alone instrument (2) a LabVIEW software module (VI), which
consists of a front panel user interface and a block diagram program
1_WIRE_LO_REF signal (table), 1-9
+5 V signal (table), 1-9
A
AB<0..1>± signal (table), 1-9
AB0± signal (table), 1-9
AB0A± signal (table), 1-9
AB0B± signal (table), 1-9
accessories for NI 2501/2503, B-1
amplifier for NI 2501, 1-3
analog bus, 1-2
analog bus connectors, for terminal blocks, B-1
architecture drawings, D-1 to D-3
B
block diagrams
NI 2501 module, 2-2
NI 2503 module, 2-3
bulletin board support, F-1
C
CA-1000, B-1
cable, SH68-68S, B-1
calibration data, storing in EEPROM, 1-3
CE Mark Compliance, A-4, A-7
CH<0..23>± signal (table), 1-9
CH<0..47> one-wire signal (table), 1-9
CH<0..11>A± signal (table), 1-9
CH<0..11>Β± signal (table), 1-9
CJS± signal (table), 1-9
COL<0..5>± signal (table), 1-9
cold-junction sensor channel, 1-3
COM<0..3>± signal (table), 1-9
COM<0..1>Α± signal (table), 1-9
COM<0..1>B± signal (table), 1-9
COM0± signal (table), 1-9
common questions, E-1 to E-2
connecting signals. See signal connections.
contact protection (caution), 1-10
conventions used in this manual, v
current-loop receivers, C1 to C-2
customer communication, F-1 to F-2
customizing NI 2501/2503, C1 to C-2
D
debounced switches, 1-2
dynamic characteristics
NI 2501, A-2 to A-3
NI 2503, A-6
E
electrical hazards
exceeding maximum settings (warning), 1-4
static electricity (caution), 1-4
electronic support services, F-1 to F-2
e-mail support, F-2
environmental specifications
NI 2501, A-4
NI 2503, A-7
external trigger input, 1-2, 2-6 to 2-7
EXT_TRIG_IN signal (table), 1-9, 2-6
F
fax and telephone support numbers, F-2
Fax-on-Demand support, F-2
flyback voltages (caution), 1-10
four-wire multiplexer, 1-7, 2-5
NI 2503 module, 2-3
common questions, E-1 to E-2
customizing, C1 to C-2
features, 1-1 to 1-2
functional overview, 2-1
maximum voltage (note), 1-2
overview, 1-1to1-2
signal connections, 1-4 to 1-9
software choices, 1-10 to 1-11
specifications
NI 2501, A-1 to A-4
NI 2503, A-5 to A-7
NI-SWITCH driver software, 1-10, E-1 to E-2
O
one-wire multiplexer, 1-6, 2-4
operation of NI 2501/2503, 2-1 to 2-8
block diagrams
NI 2501 module, 2-2
NI 2503 module, 2-3
functional overview, 2-1
multiplexer, 2-4 to 2-5
PXI interface, 2-6 to 2-8
initiating scanning, 2-8
multicard triggering, 2-8
triggers, 2-6 to 2-7
random scanning, 2-5 to 2-6
switch control circuitry, 2-5
CE mark compliance, A-4
dynamic characteristics, A-2 to A-3
environment, A-4
input characteristics, A-1
physical, A-3
power requirements, A-3
PXI bus interface, A-3
PXI trigger bus, A-3
shock and vibration, A-4
transfer characteristics, A-2