For further support information, refer to the Technical Support and Professional Servicesappendix. To comment
on National Instruments documentation, refer to the National Instruments Web site at
the info code
The NI PCI-8254R is 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 instruc tions 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.
E
XCEPTASSPECIFIEDHEREIN, NATIONAL INSTRUMENTSMAKESNOWARRANTIES, EXPRESSORIMPLIED, ANDSPECIFICALLYDISCLAIMSANYWARRANTYOF
MERCHANTABILITYORFITNESSFORAPARTICULARPURPOSE. CUSTOMER’SRIGHTTORECOVERDAMAGESCAUSEDBYFAULTORNEGLIGENCEONTHEPARTOF NATIONAL
INSTRUMENTSSHALLBELIMITEDTOTHEAMOUNTTHERETOFOREPAIDBYTHECUSTOMER. NATIONAL INSTRUMENTSWILLNOTBELIABLEFORDAMAGESRESULTING
FROMLOSSOFDATA, PROFITS, USEOFPRODUCTS, ORINCIDENTALORCONSEQUENTIALDAMAGES, 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.
Trademarks
National Instruments, NI, ni.com, and LabVIEW are trademarks of National Instruments Corporation. Refer to the Terms of Use section
on
ni.com/legal for more information about National Instruments trademarks.
®
is the registered trademark of Apple Computer, Inc. Other product and company names mentioned herein are trademarks or trade names of
FireWire
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, refer to the appropriate location: Help»Patents in your software, the patents.txt file
on your CD, or
ni.com/patents.
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
Compliance with FCC/Canada Radio Frequency Interference
Regulations
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 industrial-commercial locations only)
or Class B (for use in residential or commercial locations). All National Instruments (NI) products are FCC Class A products.
Depending on where it is operated, this Class A 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.
All Class A products display a simple warning statement of one paragraph in length regarding interference and undesired
operation. The FCC rules have restrictions regarding the locations where FCC Class A products can be operated.
Consult the FCC Web site at
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 marking 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 NI 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 is required to correct the interference
at their own expense.
www.fcc.gov for more information.
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.
Compliance with EU Directives
Users in the European Union (EU) should refer to the Declaration of Conformity (DoC) for information* pertaining to the
CE marking. Refer to the Declaration of Conformity (DoC) for this product for any additional regulatory compliance
information. To obtain the DoC for this product, visit
and click the appropriate link in the Certification column.
* The CE marking Declaration of Conformity contains important supplementary information and instructions for the user or
installer.
ni.com/certification, search by model number or product line,
Conventions
The following conventions are used in this manual:
»The » symbol leads you through nested menu items and dialog box options
to a final action. The sequence File»Page Setup»Options directs you to
pull down the File menu, select the Page Setup item, and select Options
from the last dialog box.
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 items that you must select or click in the software, such
as menu items and dialog box options. Bold text also denotes parameter
names.
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.
NI 8254RNI 8254R refers to the NI PCI-8254R interface device.
NI Vision I/O Terminal Block and Prototyping Accessory............................ 3-9
Power Requirements...................................................................................................... 3-9
Isolated Outputs Power Connector ................................................................. 3-9
Appendix A
Technical Support and Professional Services
Glossary
Index
NI PCI-8254R User Manualviiini.com
Introduction
The NI PCI-8254R is a OHCI compliant IEEE 1394a interface device with
reconfigurable I/O (RIO).
The NI 8254R device ships with NI Vision Acquisition Software, which
contains all of the drivers in the NI Vision product line. With NI Vision
Acquisition Software, you can quickly and easily start your applications
without having to program the device at the register level.
The NI 8254R includes TTL inputs and outputs for triggering, and isolated
inputs and outputs for connecting to external devices, such as lighting
controllers, proximity sensors, and quadrature encoders.
Behind the digital I/O of the NI 8254R is an FPGA which has been
preconfigured with the functionality required for most common machine
vision tasks. However, if the factory configured functionality does not
fulfill your requirements, the FPGA is user-configurable using the
LabVIEW FPGA Module. The NI 8254R provides a convenient 44-pin
D-SUB connector on its front panel to access the digital I/O.
1
For detailed specifications of the NI 8254R, refer to the Specifications
section of Getting Started with the NI PCI-8254R.
Software Overview
Programming the NI 8254R requires two drivers to control the hardware:
NI-IMAQdx and NI-IMAQ I/O. Both drivers are included with the
NI Vision Acquisition Software.
NI-IMAQdx has an extensive library of functions you can call and handles
communication between the computer and the image acquisition device,
such as programming interrupts and camera control. NI-IMAQ I/O
provides functions to control the I/O on the NI 8254R.
National Instruments also offers the following application software
packages for analyzing and processing your acquired images. For detailed
information about individual software packages, refer to the documentation
specific to each package.
NI Vision Builder for Automated Inspection (Vision Builder AI) is
configurable machine vision software that you can use to prototype,
benchmark, and deploy applications. Vision Builder AI does not require
programming, but is scalable to powerful programming environments.
Vision Builder AI allows you to easily configure and benchmark a
sequence of visual inspection steps, as well as deploy the visual inspection
system for automated inspection. With Vision Builder AI, you can perform
powerful visual inspection tasks and make decisions based on the results
of individual tasks. You also can migrate the configured inspection to
LabVIEW, extending the capabilities of the applications if necessary.
Vision Development Module
The NI Vision Development Module, which consists of NI Vision and
NI Vision Assistant, is an image acquisition, processing, and analysis
library of more than 270 functions for the following common machine
vision tasks:
•Pattern matching
•Particle analysis
•Gauging
•Taking measurements
•Grayscale, color, and binary image display
You can use the Vision Development Module functions individually or
in combination. With the Vision Development Module, you can acquire,
display, and store images, as well as perform image analysis and
processing. Using the Vision Development Module, imaging novices and
experts can program the most basic or complicated image applications
without knowledge of particular algorithm implementations.
As a part of the Vision Development Module, NI Vision Assistant is an
interactive prototyping tool for machine vision and scientific imaging
developers. With Vision Assistant, you can prototype vision applications
quickly and test how various image processing functions work.
Vision Assistant generates a Builder file, which is a text description
containing a recipe of the machine vision and image processing functions.
This Builder file provides a guide you can use for developing applications
in any ADE, such as LabWindows
Vision Assistant machine vision and image processing libraries. Using the
NI PCI-8254R User Manual1-2ni.com
™
/CVI™ or Visual Basic, using the
LabVIEW VI creation wizard, Vision Assistant can create LabVIEW VI
diagrams that perform the prototype you created in Vision Assistant.
You can then use LabVIEW to add functionality to the generated VI.
IEEE 1394 and NI 8254R
The NI 8254R uses FireWire® (IEEE 1394) technology. FireWire is a
cross-platform implementation of the high-speed serial data bus—defined
by the IEEE 1394-1995 and IEEE 1394a-2000 standards—that can move
large amounts of data between computers and peripheral devices. It
features simplified cabling using twisted pairs, hot swapping, and transfer
speeds of up to 400 megabits per second. You can support up to 63 devices
on the high-speed bus with IEEE 1394.
The IEEE 1394a standard offers up to 400 Mb/s bandwidth. The NI 8254R
provides two direct-connect IEEE 1394a ports, but more IEEE 1394
devices can be added using IEEE 1394 hubs. The NI 8254R can acquire
images from IEEE 1394 cameras conforming to the IIDC 1394-based Digital Camera Specification, Version 1.30 and later.
The IEEE 1394 bus provides a fixed amount of bandwidth that is shared
between the two IEEE 1394a ports on the NI 8254R. These ports provide
direct connection for up to two DCAM-compliant IEEE 1394 cameras,
depending on the amount of bandwidth each camera requires. Higher frame
rates and larger image sizes require a higher data transfer rate and use more
bandwidth.
Chapter 1Introduction
Functional Overview
The NI 8254R features a high-speed data path optimized for receiving and
formatting video data from IEEE 1394 cameras.
Figure 1-1 illustrates the key functional components of the NI 8254R.
The NI 8254R can start acquisitions in the following ways:
•Software control—The NI 8254R supports software control of
•Trigger control—You can start an acquisition by enabling external
ISO In
TTL In
TTL OutCPLD
ISO Out
ISO Power
Connection
Powe r
Supply
+5 V, +1.5 V
DSUB
Dust
MITE
1394A
Controller
V2 FPGA
Config ROM
1394
Conns
1394
Power Conn
Figure 1-1. NI 8254R Block Diagram
acquisition start. You can configure the NI 8254R to capture a fixed
number of frames. Use this configuration for capturing a single frame
or a sequence of frames.
trigger lines. Each of these inputs can start a video acquisition on a
rising or falling edge.
Acquisition Window Control
You can configure the following parameter on the NI 8254R to control the
video acquisition window:
•Acquisition window—The NI 8254R and the IIDC 1394-based
Digital Camera Specification allow you to specify a particular region
of active pixels and lines on a camera to acquire. In many cases,
specifying a smaller acquisition window will increase the maximum
frame rate of the camera. Valid acquisition windows, and their
corresponding frame rates, are defined by the camera.
NI PCI-8254R User Manual1-4ni.com
Hardware Overview
Digital I/O
The digital I/O functions on the NI 8254R are accessible through 2 TTL
inputs, 10 TTL outputs, 13 isolated inputs, and 4 isolated outputs.
You can use input signals as triggers, product selection ports, change
detectors, or to read quadrature encoders. Uses for output signals include
controlling camera reset and exposure, controlling strobe lighting,
outputting inspection results, or communicating with PLCs. You can also
define the functions of digital input and output signals.
For information about how to use LabVIEW to implement specific digital
I/O functions, refer to the examples at
IMAQ IO.llb
installed. For information about how to use C or Visual Basic to implement
specific digital I/O functions, refer to the examples at
<National Instruments>\NI-IMAQ IO\Examples\.
, where <LabVIEW> is the location in which LabVIEW is
2
<LabVIEW>\examples\IMAQ\
For more information about using the LabVIEW FPGA Module to
implement custom FPGA logic, refer to the examples at
examples\IMAQ\IMAQ IO FPGA.llb
to which you installed LabVIEW.
, where <LabVIEW> is the location
<LabVIEW>\
RIO and The LabVIEW FPGA Module
Behind the digital I/O of the NI 8254R is an FPGA which has been
preconfigured with the functionality required for most common machine
vision tasks. If the factory configured functionality does not fulfill your
requirements, the FPGA is user-configurable with the LabVIEW FPGA
Module. RIO allows you to develop custom FPGA logic to add triggering,
pulse-width modulation signals, or custom communications protocols to
your machine vision application.
Using National Instruments RIO hardware and the LabVIEW FPGA
Module, you can define your hardware without in-depth knowledge of
hardware design tools or hardware description languages (HDL). When the
signal requirements change, the LabVIEW code can be modified and
downloaded to the FPGA to change the I/O mix or type. This flexibility
allows you to reuse the same hardware and software at no extra expense.
NI-IMAQ I/O devices such as the such as the NI 8254R, the NI 8255R, and
the NI CVS-1450 Series have 29 digital I/O lines with built-in functionality
for communicating with external devices, such as reading quadrature
encoder inputs, generating strobe pulses, and writing to or reading from
digital lines.
NI-IMAQ I/O devices have 15 digital input lines—13 isolated 24 V lines
and two dedicated TTL lines. There are 14 digital output lines—four
isolated 24 V lines and 10 dedicated TTL lines. Using these signals, you
can dynamically control your lighting or cameras, synchronize with a
conveyor belt, or communicate with relays that control solenoids and other
actuators.
TTL Inputs and Outputs
TTL is a fast-switching 5 V digital signaling standard commonly used for
applications that require high precision, such as camera triggering. TTL
inputs and outputs do not require a separate power supply.
Caution Do not connect voltage or current sources to TTL outputs. Doing so could
damage the NI 8254R.
NI PCI-8254R User Manual2-2ni.com
Loading...
+ 30 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.