The PCI-1411 and PXI-1411 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 equip ment
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 period of 90 days from date of sh ipmen t, as evid enced b y receipt s o r other
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 other events 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
BridgeVIEW™, ComponentWorks™, CVI™, IMAQ™, LabVIEW™, MITE™, National Instruments™, ni.com™, NI-IMAQ™, and
™
PXI
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
the user or installer.
Conventions
The following conventions are used in this manual:
♦The ♦ symbol indicates that the following text applies only to a specific
product, a specific operating system, or a specific software version.
This icon denotes a note, which alerts you to important information.
This icon denotes a warning, which advises you of precautions to take to
avoid being electrically shocked.
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.
Contents
Chapter 1
Introduction
About the PCI/PXI-1411 .................................................................................................1-1
Using PXI with CompactPCI...........................................................................................1-2
This chapter describes the PCI/PXI-1411 and describes your software
programming choices.
About the PCI/PXI-1411
The PCI/PXI-1411 is a highly flexible monochrome and color IMAQ board
for PCI, PXI, or CompactPCI chassis that supports a diverse range of
analog cameras from many camera companies. The PCI/PXI-1411 acquires
images in real time and can store these images in onboard frame memory,
or transfer these images directly to system memory.
The PCI/PXI-1411 is simple to configure so that you can easily install
the board and begin acquiring images. The PCI/PXI-1411 ships with
NI-IMAQ, the National Instruments complete IMAQ driver software
you can use to directly control the PCI/PXI-1411 and other National
Instruments IMAQ hardware products. Using NI-IMAQ, you can quickly
and easily start your applications without having to program the board at
the register level.
1
The PCI/PXI-1411 features a precision color analog video decoder ideal
for both industrial and scientific environments. The 1411 device supports
both NTSC and PAL color standards as well as the RS-170 and CCIR
monochrome standards. The 1411 also provides one external I/O line
that you can use as a trigger or as a digital input/output (I/O) line. If you
require more advanced triggering or digital I/O lines, you can use the
PCI/PXI-1411 and NI-IMAQ with the National Instruments data
acquisition (DAQ) product line.
Detailed specifications of the PCI/PXI-1411 are in Appendix A,
Using PXI-compatible products with standard CompactPCI products is an
important feature provided by the PXI Specification, Revision 1.0. If you
use a PXI-compatible plug-in device in a standard CompactPCI chassis,
you will be unable to use PXI-specific functions, but you can still use the
basic plug-in device functions.
The CompactPCI specification permits vendors to develop sub-buses that
coexist with the basic PCI interface on the CompactPCI bus. Compatible
operation is not guaranteed between CompactPCI devices with different
sub-buses nor between CompactPCI devices with sub-buses and PXI.
The standard implementation for CompactPCI does not include these
sub-buses. Your PXI-1411 device will work in any standard CompactPCI
chassis adhering to the PICMG 2.0 R2.1 CompactPCI core specification.
Software Programming Choices
Using NI-IMAQ, the National Instruments image acquisition driver
software, you can program your IMAQ board to acquire and save images.
You can use NI-IMAQ with other National Instruments software for a
complete image acquisition and analysis solution, as shown in Figure 1.
NI-IMAQ works with LabVIEW, BridgeVIEW, LabWindows/CVI, as
well as conventional programming languages. National Instruments
IMAQ Vision adds powerful image processing and analysis to these
programming environments. You can also use IMAQ Vision Builder to
quickly and easily prototype your IMAQ image analysis applications.
IMAQ PCI/PXI-1411 User Manual1-2www.ni.com
Vision Software
IMAQ Vision
Chapter 1Introduction
Image
Analysis
Filters
Blob
Analysis
BridgeVIEWLabVIEW
Pattern
Matching
Color Matching
and Analysis
Application Software
(ComponentWorks)
Driver Software
NI-DAQNI-IMAQ
Hardware
DAQIMAQ
Gauging and
Measurement
Display
and ROI
LabWindows/CVIActiveX
ValueMotion/
FlexMotion
ValueMotion/
FlexMotion
Morphology
Figure 1-1. The Relationship between the Programming Environment,
NI-IMAQ, and Your Hardware
NI-IMAQ Driver Software
The NI-IMAQ driver software is included with your IMAQ device.
NI-IMAQ has an extensive library of functions that you can call from your
application programming environment. These functions include routines
for video configuration, image acquisition (continuous and single-shot),
memory buffer allocation, trigger control, and board configuration, as
shown in Figure 1-2.
The NI-IMAQ dri ver software performs all functions required for acquiring
and saving images. The NI-IMAQ software does not perform any image
analysis. For image analysis functionality , refer to the National Instruments
IMAQ Vision section in this chapter.
NI-IMAQ has both high-level and low-level functions for maximum
flexibility and performance. Examples of high-level functions include the
functions to acquire images in single-shot or continuous mode. An example
of a low-level function is configuring an image sequence since it requires
advanced understanding of your IMAQ device and image acquisition.
NI-IMAQ internally resolves many of the complex issues between the
computer and your IMAQ device, such as programming interrupts and
DMA controllers.
NI-IMAQ is also the interface path between LabVIEW, BridgeVIEW,
LabWindows/CVI, or a conventional programming environment and your
IMAQ device. The NI-IMAQ software kit includes a series of libraries for
G, LabWindows/CVI, and ComponentWorks (ActiveX) that are
functionally equivalent to the NI-IMAQ software.
Control
IMAQ PCI/PXI-1411 User Manual1-4www.ni.com
National Instruments IMAQ Vision
IMAQ Vision is an image acquisition, processing, and analysis library of
more than 200 functions for grayscale, color, and binary image display,
image processing, pattern matching, shape matching, blob analysis,
gauging, and measurement.
You can use IMAQ Vision functions directly or in combination for unique
image processing. With IMA Q V ision you can acquire, display, manipulate,
and store images as well as perform image analysis, processing, and
interpretation. Using IMAQ Vision, an imaging novice or expert can
perform graphical programming of the most basic or complicated image
applications without knowledge of any algorithm implementations.
IMAQ V ision is a vailable for LabVIEW, BridgeVIEW, LabWindows /CVI,
Microsoft Visual C++, or ComponentWorks.
IMAQ Vision Builder
IMAQ Vision Builder is an interactive prototyping tool for machine vision
and scientific imaging developers. With IMAQ Vision Builder, you can
prototype vision software quickly or test how various vision image
processing functions work.
Chapter 1Introduction
As shown in Figure 1-3, IMAQ Vision Builder generates a Builder file,
which is a text description that contains a recipe of the machine vision and
image processing functions. This Builder file provides a guide you can use
to develop applications with IMAQ Vision in LabVIEW, BridgeVIEW,
LabWindows/CVI, and ComponentWorks.
IMAQ Vision Builder and Application Development Tools
and
Application
Software
Chapter 1Introduction
Integration with DAQ
Any platform that supports NI-IMAQ also supports NI-DAQ and a variety
of National Instruments DAQ boards, so your IMAQ device and NI-IMAQ
development can integrate with National Instruments DAQ products.
Vision and Motion
With National Instruments IMAQ hardware and IMAQ Vision pattern
matching software you can quickly and accurately locate objects in
instances where objects vary in size, orientation, focus, and even when the
part is poorly illuminated. Use National Instruments high-performance
stepper and servo motion control products with pattern matching software
in inspection and guidance applications such as locating alignment markers
on semiconductor wafers, guiding robotic arms, inspecting the quality of
manufactured parts, and locating cells.
IMAQ PCI/PXI-1411 User Manual1-6www.ni.com
Installation
This chapter lists what you need to get started acquiring images with
your IMAQ device; describes optional equipment and custom cables;
and explains how to unpack, configure, and install your IMAQ device.
What You Need to Get Started
To set up and use your PCI/PXI-1411, you will need the following:
❑ One of the following IMAQ devices:
–PCI-1411
–PXI-1411
❑ Getting Started with Your IMAQ System
❑ IMAQ PCI/PXI-1411 User Manual
❑ NI-IMAQ release notes
2
❑ NI-IMAQ for Windows 2000/NT/9x and documentation
❑ Optional software packages and documentation:
–IMAQ Vision for G, LabWindows/CVI, or ComponentWorks
–LabVIEW
–BridgeVIEW
–LabWindows/CVI
–IMAQ Vision Builder
❑ BNC cable (included with your PCI/PXI-1411)
❑ S-Video cable (optional)
❑ Your Pentium-based PCI computer, PXI chassis, or CompactPCI
chassis running Windows 2000, Windows NT, or Windows 9x