National Instruments NI 1450 User Manual

TM
IMAQ

NI 1450 Series Compact Vision System User Manual

NI 1450 Series Compact Vision System User Manual
June 2003 Edition
Part Number 323610A-01

Support

ni.com

National Instruments Corporate Headquarters

11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100

Worldwide Offices

Australia1800300800, Austria4306624579900, Belgium32027570020, Brazil551132623599, Canada (Calgary) 403 274 9391, Canada (Montreal) 514 288 5722, Canada (Ottawa) 613 233 5949, Canada (Québec) 514 694 8521, Canada (Toronto) 905 785 0085, Canada (Vancouver) 514 685 7530, China 86 21 6555 7838, Czech Republic 420 2 2423 5774, Denmark 45 45 76 26 00, Finland3850972572511, France330148142424, Germany490897413130, Greece302104296427, India918051190000, Israel972036393737, Italy3902413091, Japan81354722970, Korea820234513400, Malaysia60391310918, Mexico0018000100793, Netherlands310348433466, NewZealand1800300800, Norway47066907660, Poland480223390150, Portugal351210311210, Russia 7 095 238 7139, Singapore 65 6226 5886, Slovenia 386 3 425 4200, South Africa 27 0 11 805 8197, Spain34916400085, Sweden460858789500, Switzerland41562005151, Taiwan886225287227, Thailand 662 992 7519, United Kingdom 44 0 1635 523545
For further support information, refer to the Technical Support and Professional Services appendix. To comment on the documentation, send email to techpubs@ni.com.
© 2003 National Instruments Corporation. All rights reserved.

Important Information

Warranty

The NI 1450 Series Compact Vision System 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 instructions if National Instruments receives notice of such defects during the warranty period. National Instruments does not warrant that the operation of the software shall be uninterrupted or error free.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty.
National Instruments believes that the information in this document is accurate. The document has been carefully reviewed for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition. The reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it.
E
XCEPT AS SPECIFIED HEREIN, NATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF
N
ATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTO MER. NATIONAL INSTRUMENTS WILL NOT BE LIA BLE FOR DAMAGES RESULTIN G FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR CONSEQUENTIAL DAMAGES, EVEN IF ADVI SED OF THE POSSIB ILITY THEREOF. 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.

Trademarks

IMAQ™, LabVIEW™, National Instruments™, NI™, ni.com™, NI Developer Zone™, and NI-IMAQ™ are trademarks of National Instruments Corporation.
Product and company names mentioned herein are trademarks or trade names of their respective companies.

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

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 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 h armful interference in which case the use r is required to correct the int erference 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 to EU Directives
Readers in the European Union (EU) must refer to the manufacturer’s Declaration of Conformity (DoC) for information* pertaining to the CE marking compliance scheme. The manufacturer includes a DoC for most hardware products except for those bought from OEMs. In addition, DoCs are usually not provided if compliance is not required, for example electrically benign apparatus or cables.
To obtain the DoC for this product, click Declarations of Conformity Information at lists the DoCs by product family. Select the appropriate product family, followed by your product, and a link to the DoC appears in Adobe Acrobat format. Click the Acrobat icon to download or read the DoC.
* The CE marking Declaration of Conformity contains important supplementary information and instructions for the user or
installer.
ni.com/hardref.nsf/. This Web site

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 tip, which alerts you to advisory information.
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.
bold Bold text denotes items that you must select or click in the software, such
as menu items and dialog box options. Bold text also denotes hardware labels and parameter names.
italic Italic 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.
monospace Text in this font denotes text or characters that you should enter from the
keyboard, sections of code, programming examples, and syntax examples. This font is also used for the proper names of disk drives, paths, directories, programs, subprograms, subroutines, device names, functions, operations, variables, filenames and extensions, and code excerpts.
monospace bold Bold text in this font denotes the messages and responses that the computer
automatically prints to the screen. This font also emphasizes lines of code that are different from the other examples.

Contents

Chapter 1 NI 1450 Overview
About the NI 1450 Series Compact Vision System.......................................................1-1
Hardware Overview.......................................................................................................1-1
Available Camera Bandwidth........................................................................................1-3
Software Overview ........................................................................................................1-4
NI-IMAQ for IEEE 1394 Cameras Driver Software.......................................1-4
National Instruments Application Software....................................................1-5
Vision Builder for Automated Inspection.........................................1-5
LabVIEW RT with the Vision Development Module ......................1-5
Chapter 2 Setup and Configuration
Required Items...............................................................................................................2-1
Hardware .........................................................................................................2-1
Software...........................................................................................................2-2
Accessories ....................................................................................................................2-2
Hardware .........................................................................................................2-2
Documentation...............................................................................................................2-3
Hardware Documents ......................................................................................2-3
Vision Builder AI Documents.........................................................................2-3
LabVIEW Real-Time Module with the Vision Development Module
Documents....................................................................................................2-3
NI-IMAQ for IEEE 1394 Cameras Driver Software Documents ..... 2-3
LabVIEW Real-Time Module and Vision Development Module
Documents......................................................................................2-4
Safety Information .........................................................................................................2-4
Connection Overview ....................................................................................................2-6
Before Getting Started: Connecting the NI 1450 to a Network ......................2-7
Subnet Considerations.......................................................................2-8
Hardware Setup ...............................................................................................2-8
Connecting a Camera and Monitor to the NI 1450...........................2-8
Wiring Power to the NI 1450............................................................2-9
Connecting the NI 1450 to the Development Computer...................2-11
Vision Builder AI: Setting up the Development Computer...........................................2-12
Installing Vision Builder AI and NI-IMAQ for IEEE 1394 Cameras.............2-13
Configuring the IP Address and Downloading Software onto the NI 1450....2-13
Acquiring an Image in Vision Builder AI .......................................................2-14
© National Instruments Corporation vii NI 1450 Series Compact Vision System User Manual
Contents
LabVIEW Real-Time with the Vision Development Module: Setting up the
Development Computer.............................................................................................. 2-15
Installing LabVIEW Real-Time, Vision Development Module,
and NI-IMAQ for IEEE 1394 Cameras ....................................................... 2-15
Configuring the IP Address using LabVIEW Real-Time ............................... 2-16
Downloading Software onto the NI 1450 ....................................................... 2-17
Acquiring an Image Using LabVIEW Real-Time .......................................... 2-17
Chapter 3 LEDs, DIP Switches, and Connectors
LED Indicators ..............................................................................................................3-1
POWER OK LED ........................................................................................... 3-2
STATUS LED................................................................................................. 3-2
ACT/LINK LED ............................................................................................. 3-2
100 Mbps LED................................................................................................ 3-2
DIP Switches ................................................................................................................. 3-3
SAFE MODE Switch ...................................................................................... 3-4
IP RESET Switch............................................................................................ 3-5
NO APP Switch .............................................................................................. 3-5
USER 1 Switch (LabVIEW RT Users)........................................................... 3-5
Connectors..................................................................................................................... 3-6
Power Connector............................................................................................. 3-6
Earth Ground Connection.................................................................3-7
IEEE 1394....................................................................................................... 3-8
VGA ................................................................................................................ 3-8
COM1..............................................................................................................3-10
Ethernet ........................................................................................................... 3-11
TRIG 0 ............................................................................................................ 3-11
TRIG 1 and TRIG 2 ........................................................................................ 3-11
General-Purpose Digital I/O ........................................................................... 3-11
Chapter 4 Digital I/O Functionality
Overview ....................................................................................................................... 4-1
TTL Inputs and Outputs.................................................................................. 4-2
Isolated Inputs and Outputs............................................................................. 4-2
Trigger Inputs.................................................................................................. 4-3
Timed Pulse Output ........................................................................................ 4-4
Initiating a Timed Pulse.................................................................... 4-4
Pulse Modes...................................................................................... 4-5
Pulse Delay .......................................................................................4-5
NI 1450 Series Compact Vision System User Manual viii ni.com
Chapter 5 Deployment
Connecting Multiple NI 1450s ......................................................................................5-1
Contents
Pulse Width .......................................................................................4-5
Trigger Polarity.................................................................................4-5
Quadrature Encoder.........................................................................................4-6
Product Selection Port .....................................................................................4-7
Using ISO Input 5 as a Latch............................................................4-7
General-Purpose I/O........................................................................................4-8
General-Purpose Inputs.....................................................................4-8
General-Purpose Outputs ..................................................................4-8
Fault Conditions ..............................................................................................4-9
Shutdown.........................................................................................................4-9
Disabling Shutdown Mode................................................................4-10
Watchdog.........................................................................................................4-10
Overheat ..........................................................................................................4-11
Considerations When Connecting the Digital I/O...........................................4-11
Wiring an Isolated Input to a Sourcing Output Device.....................4-11
Wiring an Isolated Output to an External Load ................................4-12
Protecting Inductive Loads ...............................................................4-13
Transmission Line Effects ................................................................4-13
Typical System Setup......................................................................................4-14
Appendix A Troubleshooting
Appendix B Specifications
Appendix C Technical Support and Professional Services
Glossary
Index
© National Instruments Corporation ix NI 1450 Series Compact Vision System User Manual
NI 1450 Overview
This chapter provides an overview of the features and components on the
National Instruments 1450 Series Compact Vision System.

About the NI 1450 Series Compact Vision System

The NI 1450 Series Compact Vision System is an easy-to-use, distributed,
real-time imaging system that acquires, processes, and displays images
from IEEE 1394 cameras conforming to the IIDC 1394-based Digital
Camera Specification, Version 1.30. The NI 1450 also provides multiple
digital input/output (I/O) options for communicating with external devices
to configure and start an inspection and to indicate results.
An Ethernet connection between the NI 1450 and a development computer
allows you to display measurement results and status information and to
configure the NI 1450 settings. Once configured, the NI 1450 can run
applications without a connection to the development computer.
Each NI 1450 ships with documentation and the NI-IMAQ for IEEE 1394
Cameras driver software, which is licensed for one development system
and one deployment system.
1

Hardware Overview

The NI 1450 front panel consists of a VGA connector, an RS-232 serial
port, a 10/100 Ethernet connector, and three IEEE 1394a ports.
The NI 1450 also includes LEDs for communicating system status, DIP
switches for mode control for specifying startup options, TTL inputs and
outputs for triggering, and isolated inputs and outputs for connecting to
external devices, such as PLCs, sensors, LED indicators, and start/stop
buttons. The isolated inputs and outputs on the NI 1450 provide an easy
means for preventing ground loops that could degrade signal integrity.
Caution The isolation on the NI 1450 is not safety isolation.
© National Instruments Corporation 1-1 NI 1450 Series Compact Vision System User Manual
Chapter 1 NI 1450 Overview
Figure 1-1 shows the NI 1450 front panel.
1 2
11
10
9
8
1 Power LED 2 Status LED 3 Isolated Digital Input 4 TTL Digital Outputs
NI 1454 Compact Vision System
7
5 IEEE 1394a Ports 6 TTL I/O and Isolated I/O 7 Reset Button 8 DIP Switches
3
4
5
6
9VGA 10 RS-232 Serial 11 RJ-45 Ethernet Port

Figure 1-1. NI 1450 Series Compact Vision System Front Panel

NI 1450 Series Compact Vision System User Manual 1-2 ni.com

Available Camera Bandwidth

The IEEE 1394 bus provides a fixed amount of bandwidth that is shared
among the three IEEE 1394a ports on the NI 1450. These ports provide
direct connection to up to three 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.
Table 1-1 shows the maximum number of cameras the NI 1450 supports for
three common video formats. Use this table as a guide when determining
the combination of cameras to use in your application. The maximum
number of cameras listed in the table does not include processing time.
By triggering your cameras slower than the frame rates listed in the table,
you can operate more cameras simultaneously. If the camera combination
exceeds the amount of available bandwidth, the software returns an
Insufficient Resources error.

Table 1-1. Available Camera Bandwidth

Video Format Frames per Second
Chapter 1 NI 1450 Overview
Maximum Number
of Cameras for
Simultaneous Operation
640 x 480, 8-bit/pixel mono
640 x 480 YUV (4:2:2) 16-bit/pixel color
1024 x 768 16-bit/pixel mono
© National Instruments Corporation 1-3 NI 1450 Series Compact Vision System User Manual
30 3
60 1
100 1
15 3
30 1
7.5 2
15 1
Chapter 1 NI 1450 Overview

Software Overview

Programming the NI 1450 Series Compact Vision System requires the NI-IMAQ for IEEE 1394 Cameras driver software, version 1.5 or later, to control the hardware and one of the following application software packages to process images.
NI Vision Builder for Automated Inspection (AI), version 2.0 or later—To configure solutions to common inspection tasks
LabVIEW Real-Time (RT), version 7.0 or later, with the Vision Development Module, version 7.0 or later—For customizable control over acquisition hardware and algorithms
The following sections provide an overview of the driver software and the application software. For detailed information about individual software packages, refer to the documentation specific to the package.

NI-IMAQ for IEEE 1394 Cameras Driver Software

The NI-IMAQ for IEEE 1394 Cameras driver software ships with the NI 1450 Series Compact Vision System. NI-IMAQ for IEEE 1394 Cameras is the interface path between the application software and the NI 1450.
NI-IMAQ for IEEE 1394 Cameras includes an extensive library of VIs you can call from LabVIEW. These VIs include routines for video configuration, image acquisition (continuous and single-shot), trigger control, and register-level camera configuration.
The NI-IMAQ for IEEE 1394 Cameras driver software performs all functions necessary for acquiring and saving images but does not perform image analysis. For image analysis functionality, refer to the National
Instruments Application Software section.
For maximum flexibility and performance, NI-IMAQ for IEEE 1394 Cameras features both high-level and low-level functions. A function that acquires images in multi-buffer, single-shot, or continuous mode is an example of a high-level function. A function that requires advanced understanding of the NI 1450 and image acquisition, such as configuring an image sequence, is an example of a low-level function.
The NI-IMAQ for IEEE 1394 Cameras software handles many of the complex issues between the NI 1450 and the camera, such as 1394 bus communication and camera control.
NI 1450 Series Compact Vision System User Manual 1-4 ni.com

National Instruments Application Software

Vision Builder for Automated Inspection
National Instruments Vision Builder for Automated Inspection (AI) is configurable machine vision software that you can use to prototype, benchmark, and deploy applications. NI Vision Builder AI does not require programming, but is scalable to LabVIEW RT.
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. Additionally, you can communicate with external devices using an Ethernet connection, serial lines, and digital I/Os. With Vision Builder AI, you can migrate your configured inspection to LabVIEW, extending the capabilities of your applications if necessary.
LabVIEW RT with the Vision Development Module
The LabVIEW Real-Time Module and the RT Series hardware, such as the NI 1450, extend the capabilities of LabVIEW to address the need for deterministic real-time performance.
Chapter 1 NI 1450 Overview
The Real-Time Module combines LabVIEW graphical programming with the power of RT Series hardware, enabling you to build deterministic real-time systems. You develop VIs in LabVIEW and embed the VIs on RT targets. The RT target runs VIs without a user interface and offers a stable platform for real-time VIs.
For more information about LabVIEW RT, refer to the LabVIEW Real-Time Module User Manual.
The Vision Development Module is an image acquisition, processing, and analysis library of more than 270 functions for grayscale, color, and binary image display, image processing, pattern matching, particle analysis, gauging, and measurement.
For unique image processing, you can use the Vision Development Module functions individually or in combination. The Vision Development Module allows you to acquire, display, manipulate, and store images as well as perform image analysis, processing, and interpretation. Using the Vision Development Module, imaging novices and experts can program the most basic or complicated image applications without knowledge of particular algorithm implementations.
© National Instruments Corporation 1-5 NI 1450 Series Compact Vision System User Manual
Chapter 1 NI 1450 Overview
Vision Assistant is an interactive prototyping tool for machine vision and scientific imaging developers and is included with the Vision Development Module. With Vision Assistant, you can prototype vision applications quickly and test how various vision image processing functions work.
For information about how to use the Vision Development Module with LabVIEW RT, refer to the IMAQ Vision for LabVIEW User Manual.
NI 1450 Series Compact Vision System User Manual 1-6 ni.com
Setup and Configuration
This chapter provides instructions for connecting the NI 1450 Series Compact Vision System hardware. This chapter also includes instructions for installing software, configuring an IP address, and acquiring an initial image using the application software.

Required Items

The following items are necessary for connecting the NI 1450.

Hardware

NI 1450 Series Compact Vision System
Ethernet-equipped development computer running
Windows XP/2000/Me/98
DCAM-compliant IEEE 1394 camera
2
IEEE 1394 jackscrew-to-latch cable (part number 778796-01) or any
standard IEEE 1394 cable—for plug-and-play connection from the NI 1450 to up to three 1394 cameras. You can use a 4-pin to 6-pin converter cable with cameras that have their own external power supply and do not require power from the 1394 bus.
Note To maintain signal integrity, the IEEE 1394 cable length must be no longer
than 4.5 m.
NI desktop power supply (part number 778794-01) or any
24 VDC ±10%, 50 W power supply
Power supply cord—for connecting the NI desktop power supply to an
outlet. Refer to specific to your region.
Note If you are using the NI desktop power supply, you will need a power cord.
© National Instruments Corporation 2-1 NI 1450 Series Compact Vision System User Manual
ni.com for ordering information for the part number
Chapter 2 Setup and Configuration
4-position power connector—required if you are not using the
10 m 10/100Base-T Ethernet cable (part number
Note To maintain signal integrity, the Ethernet cable length must be no longer than 100 m.

Software

NI-IMAQ for IEEE 1394 Cameras driver software, which includes the
One of the following application software packages:
NI desktop power supply
189174-10)—standard CAT 5 10/100Base-T Ethernet cable for connecting the NI 1450 to a network port. To connect the NI 1450 directly to a local development computer, use an Ethernet crossover cable.
NI 1450 support software
National Instruments Vision Builder for Automated Inspection
(AI), version 2.0 or later
National Instruments LabVIEW Real-Time, version 7.0 or later,
with the Vision Development Module, version 7.0 or later

Accessories

National Instruments offers the following accessories for use with the NI 1450.

Hardware

VGA-resolution camera (part number 778785-01)
12 mm fixed focal length lens (part number 778789-01)
LED ring light (part number 778787-01)
DIN rail/panel mount kit (part number 189154-01)
Digital I/O cable and horizontal DIN rail terminal block (part number 778790-01)
NI 1450 Series Compact Vision System User Manual 2-2 ni.com
Digital I/O cable and vertical DIN rail terminal block (part number 778791-01)
•75 Ω SMB 111 coaxial cable (part number 763422-01)— SMB to BNC cable for connecting to triggers and light sources
10 m Ethernet crossover cable (part number 187375-10)—for connecting the NI 1450 directly to the development computer

Documentation

The documentation resources listed in this section ship with the NI 1450 and the application software. For more resources, including code examples and tutorials, visit the National Instruments Developer Zone at
ni.com/zone.

Hardware Documents

NI 1450 Series Compact Vision System User Manual
NI 1450 Series Compact Vision System Digital I/O Help

Vision Builder AI Documents

Chapter 2 Setup and Configuration
NI Vision Builder for Automated Inspection Tutorial
NI Vision Builder for Automated Inspection: Configuration Help
NI Vision Builder for Automated Inspection: Inspection Help

LabVIEW Real-Time Module with the Vision Development Module Documents

NI-IMAQ for IEEE 1394 Cameras Driver Software Documents
Getting Started with NI-IMAQ for IEEE 1394 Cameras
NI-IMAQ for IEEE 1394 Cameras User Manual (PDF)
NI-IMAQ for IEEE 1394 Cameras VI Reference Help
MAX Help for NI-IMAQ for IEEE 1394 Cameras
© National Instruments Corporation 2-3 NI 1450 Series Compact Vision System User Manual
Chapter 2 Setup and Configuration
LabVIEW Real-Time Module and Vision Development Module Documents
NI Vision Assistant Help
NI Vision Assistant Tutorial
IMAQ Vision Concepts Manual
IMAQ Vision for LabVIEW User Manual
IMAQ Vision for LabVIEW Help
LabVIEW Real-Time Module documentation

Safety Information

Caution The following paragraphs contain important safety information you must follow
when installing and operating the device.
Do not operate the device in a manner not specified in the documentation. Misuse of the device may result in a hazard and may compromise the safety protection built into the device. If the device is damaged, turn it off and do not use it until service-trained personnel can check its safety. If necessary, return the device to National Instruments for repair.
Keep away from live circuits. Do not remove equipment covers or shields unless you are trained to do so. If signal wires are connected to the device, hazardous voltages can exist even when the equipment is turned off. To avoid a shock hazard, do not perform procedures involving cover or shield removal unless you are qualified to do so. Disconnect all field power prior to removing covers or shields.
If the device is rated for use with hazardous voltages (>30 V or 60 V the device specifications for maximum voltage ratings.
Because of the danger of introducing additional hazards, do not install unauthorized parts or modify the device. Use the device only with the chassis, modules, accessories, and cables specified in the installation instructions. All covers and filler panels must be installed while operating the device.
Do not operate the device in an explosive atmosphere or where flammable gases or fumes may be present. Operate the device only at or below the pollution degree stated in the specifications. Pollution consists of any
NI 1450 Series Compact Vision System User Manual 2-4 ni.com
), it may require a safety earth-ground connection wire. Refer to
dc
, 42.4 Vpk,
rms
Chapter 2 Setup and Configuration
foreign matter—solid, liquid, or gas—that may reduce dielectric strength or surface resistivity. Pollution degrees are listed below.
Pollution Degree 1—No pollution or only dry, nonconductive pollution occurs. The pollution has no effect.
Pollution Degree 2—Normally only nonconductive pollution occurs. Occasionally, nonconductive pollution becomes conductive because of condensation.
Pollution Degree 3—Conductive pollution or dry, nonconductive pollution occurs. Nonconductive pollution becomes conductive because of condensation.
Clean the device and accessories by brushing off light dust with a soft, nonmetallic brush. Remove other contaminants with a stiff, nonmetallic brush. The unit must be completely dry and free from contaminants before returning it to service.
Yo u must insulate signal connections for the maximum voltage for which the device is rated. Do not exceed the maximum ratings for the device. Remove power from signal lines before connection to or disconnection from the device.
Caution National Instruments measurement products may be classified as either
Installation Category I or II. Operate products at or below the Installation Category level specified in the hardware specifications.
1
Installation Category
voltages
2
and transient stresses (overvoltage) from the circuit to which they
: Measurement circuits are subjected to working
are connected during measurement or test. Installation Category establishes standardized impulse withstand voltage levels that commonly occur in electrical distribution systems. The following is a description of Installation (Measurement
3
) Categories:
Installation Category I is for measurements performed on circuits not directly connected to the electrical distribution system referred to as MAINS
4
voltage. This category is for measurements of voltages from specially protected secondary circuits. Such voltage measurements include signal levels, special equipment, limited-energy parts of
1
Installation Categories as defined in electrical safety standard IEC 61010-1.
2
Working voltage is the highest rms value of an AC or DC voltage that can occur across any particular insulation.
3
Installation Category is also referred to as Measurement Category.
4
MAINS is defined as the (hazardous live) electrical supply system to which equipment is deisgned to be connected for the purpose of powering the equipment. Suitably rated measuring circuits may be connected to the MAINS for measuring purposes.
© National Instruments Corporation 2-5 NI 1450 Series Compact Vision System User Manual
Chapter 2 Setup and Configuration
Installation Category II is for measurements performed on circuits
Installation Category III is for measurements performed in the building
Installation Category IV is for measurements performed at the primary
equipment, circuits powered by regulated low-voltage sources, and electronics.
directly connected to the electrical distribution system. This category refers to local-level electrical distribution, such as that provided by a standard wall outlet (e.g., 115 V for U.S. or 230 V for Europe). Examples of Installation Category II are measurements performed on household appliances, portable tools, and similar products.
installation at the distribution level. This category refers to measurements on hard-wired equipment such as equipment in fixed installations, distribution boards, and circuit breakers. Other examples are wiring, including cables, bus-bars, junction boxes, switches, socket-outlets in the fixed installation, and stationary motors with permanent connections to fixed installations.
electrical supply installation (<1,000 V). Examples include electricity meters and measurements on primary overcurrent protection devices and on ripple control units.

Connection Overview

Figure 2-1 illustrates the sequence for connecting and getting started with the NI 1450.
NI 1450 Series Compact Vision System User Manual 2-6 ni.com
Set Up the Hardware
Chapter 2 Setup and Configuration
Set Up the Development
Computer Using
Vision Builder AI
Acquire an Image Using
Vision Builder AI
Set Up the Development
Computer Using LabVIEW
or
Real-Time with the Vision
Development Module
Acquire an Image Using
or
LabVIEW Real-Time with the Vision Development Module

Figure 2-1. Connection Sequence

Set up the hardware—This section explains how to connect a camera,
monitor, and power supply to the NI 1450.
Set up the development computer—This section explains how to use
either Vision Builder AI or LabVIEW Real-Time with the Vision Development Module to perform the following tasks:
Connect the NI 1450 to the development computer
Install application and driver software
Obtain an IP address
Acquire an image—This section explains how to use either Vision
Builder AI or LabVIEW Real-Time with the Vision Development Module to acquire an image.

Before Getting Started: Connecting the NI 1450 to a Network

Use a standard Category 5 or Category 6 Ethernet cable to connect the NI 1450 to an Ethernet network.
If the development computer is already configured on a network, you must configure the NI 1450 on the same network. If the development computer is not connected to a network, you can connect the two directly using a Category 5 or Category 6 crossover cable.
Caution To prevent data loss and to maintain the integrity of your Ethernet installation,
do not use a cable longer than 100 m. If you are using a 100 Mbps Ethernet, National Instruments recommends using a Category 5 or Category 6 shielded twisted-pair Ethernet cable.
© National Instruments Corporation 2-7 NI 1450 Series Compact Vision System User Manual
Chapter 2 Setup and Configuration
Subnet Considerations
To configure the NI 1450, it must reside on the same subnet as the development computer. Once the NI 1450 is configured, other subnets can access and use it.
To use the NI 1450 on a subnet other than the one the development computer is on, first connect and configure it on the same subnet as the development computer. Next, physically move it to the other subnet and reassign an IP address. Contact your network administrator for assistance in setting up the development computer and NI 1450 on the same subnet.

Hardware Setup

This section describes how to connect the basic hardware components of the NI 1450. When these basic components are connected for the first time, the NI 1450 runs a program that acquires images. This program verifies that all hardware components are properly connected and functioning.
The following items are necessary for hardware setup.
NI 1450 Series Compact Vision System
24 VDC ±10%, 50 W power supply
DCAM-compatible IEEE 1394 camera
IEEE 1394 cable
Ethernet cable
Monitor
Connecting a Camera and Monitor to the NI 1450
Before connecting a camera and monitor to the NI 1450, make sure that all NI 1450 DIP switches are in the OFF position.
To connect an IEEE 1394 camera and a monitor to the NI 1450, refer to Figure 2-2 while completing the following steps:
1. Connect the VGA cable from the monitor to the VGA port on the NI 1450.
2. Plug the IEEE 1394 cable into one of the IEEE 1394a ports on the NI 1450. Plug the other end of the cable into the IEEE 1394 receptacle on the camera.
NI 1450 Series Compact Vision System User Manual 2-8 ni.com
Chapter 2 Setup and Configuration
If your camera requires an external power supply, connect it to the camera and verify that the camera is powered on.
3. Plug in and power on the monitor.
1 VGA Cable 2 IEEE 1394 Cable
1
2
Figure 2-2. Basic Hardware Setup
Wiring Power to the NI 1450
This section describes how to connect the NI desktop power supply. For instructions on how to connect a separate main supply, refer to the
Connecting to a Separate Main Supply section.
Caution Do not connect the NI 1450 main power to a source other than 24 VDC ±10%.
Do not connect the NI 1450 isolated power to a source less than 5 VDC or greater than 30 VDC. Doing so could damage the NI 1450.
To connect power to the NI 1450, refer to Figure 2-3 while completing the following steps:
1. Plug the 4-position connector from the power supply into the power receptacle on the NI 1450.
2. Plug the power cord into the power supply.
3. Plug the power cord into an outlet.
© National Instruments Corporation 2-9 NI 1450 Series Compact Vision System User Manual
Chapter 2 Setup and Configuration
The NI 1450 ships with a factory-installed startup program that, when the NI 1450 is connected to a camera and powered on, acquires images and displays them on the monitor. If these images from the camera display on the monitor, continue to the Connecting the NI 1450 to the Development
Computer section. If the images from the camera are not displayed on the
monitor, refer to Appendix A, Troubleshooting.
To Outlet
1 3
1 4-Position Power Connector 2 NI Desktop Power Supply 3 Power Supply Cord (to Outlet)
Figure 2-3. Wiring Power to the NI 1450
2
Connecting to a Separate Main Supply
If you are using a power supply other than the NI desktop power supply, use this section to connect power to the NI 1450.
Caution Do not connect the NI 1450 main power to a source other than 24 VDC ±10%.
Do not connect the NI 1450 isolated power to a source less than 5 VDC or greater than 30 VDC. Doing so could damage the NI 1450.
NI 1450 Series Compact Vision System User Manual 2-10 ni.com
Chapter 2 Setup and Configuration
The NI 1450 ships with a 4-position power connector that plugs directly into the power input connector on the NI 1450. To wire power to the 4-position connector, complete the following steps:
1. Wire the voltage output of the 24 VDC ±10% power supply to the main voltage input, labeled V, on the 4-position connector.
2. Wire the common (ground) output of the power supply to the common input, labeled C, on the 4-position connector.
If you are using a separate power supply for the NI 1450 isolated outputs, connect the voltage output on the power supply to the isolated power (Viso) on the 4-position connector. Connect the common (ground) on the power supply to the isolated common (Ciso) on the connector.
Note If you do not require a separate power supply for the NI 1450 isolated outputs,
you can daisy-chain the V to the Viso and the C to the Ciso on the connector.
For information about grounding the NI 1450 chassis to earth ground, refer to the Earth Ground Connection section of Chapter 3, LEDs, DIP Switches,
and Connectors.
Connecting the NI 1450 to the Development Computer
The development computer communicates with the NI 1450 over an Ethernet connection. Use a standard Ethernet cable to connect from the network port to the NI 1450. To connect the NI 1450 directly to the development computer, use an Ethernet crossover cable.
To connect the NI 1450 to the development computer, refer to Figure 2-4 while completing the following steps:
1. Verify that the development computer is connected to the network and is powered on.
2. Using a standard CAT 5 Ethernet cable, connect from the network port to the Ethernet port on the NI 1450.
3. Using a standard CAT 5 Ethernet cable, connect from the network port to the Ethernet port on the development computer.
Note If you are not connecting through a network, use an Ethernet crossover cable to
connect the NI 1450 directly to the development computer.
© National Instruments Corporation 2-11 NI 1450 Series Compact Vision System User Manual
Loading...
+ 58 hidden pages