Home
IMAQTM IMAQ PCI-1405 User Manual
Contents
1. National Instruments Corporation 1 IMAQ PCI 1405 User Manual Appendix B Introduction to Color The perception of a color depends on many factors such as the following e Hue which is the perceived dominant color Hue depends directly on the wavelength of a color e Saturation which is dependent on the amount of white light present in a color Pastels typically have a low saturation while very rich colors have a high saturation For example pink typically has a red hue but has a low saturation e Luminance which is the brightness information in the video picture The luminance signal amplitude varies in proportion to the brightness of the video signal and corresponds exactly to the monochrome picture e Intensity which is the brightness of a color and is usually expressed as light or dark For example orange and brown may have the same hue and saturation however orange has a greater intensity than brown Image Representations RGB Color Planes IMAQ PCI 1405 User Manual Color images can be represented in several different formats These formats can contain all color information from the image or they can consist of only one aspect of the color information such as hue or luminance The following image representations can be produced using the IMAQ 1405 The most common image representation is 32 bit RGB format In this representation the three 8 bit color planes red green and blue are packed into an arra
2. area A rectangular portion of an acquisition window or frame that is controlled and defined by software brightness A constant that is added to the red green and blue components of a color pixel during the color decoding process buffer Temporary storage for acquired data bus A group of conductors that interconnect individual circuitry in a computer such as the PCI bus typically the expansion vehicle to which I O or other devices are connected CCIR Comite Consultatif International des Radiocommunications A committee that developed standards for video signals Also used to describe signals boards and cameras that adhere to the CCIR standards color space The mathematical representation for a color For example color can be described in terms of red green and blue hue saturation and luma or hue saturation and intensity National Instruments Corporation G 1 IMAQ PCI 1405 User Manual Glossary composite video contrast DAQ DMA driver dynamic range E external trigger field IMAQ PCI 1405 User Manual A type of color video transmission where synchronization luma and chroma information are transmitted on one analog signal A constant multiplication factor applied to the luma and chroma components of a color pixel in the color decoding process Data acquisition 1 Collecting and measuring electrical signals from sensors transducers and test probes or fixtures and inputting them to a co
3. NTSC NVRAM PAL PCI pixel pixel count IMAQ PCI 1405 User Manual The brightness information in the video picture The luma signal amplitude varies in proportion to the brightness of the video signal and corresponds exactly to the monochrome picture Mean time between failure Driver software for National Instruments IMAQ hardware National Television Standards Committee The committee that developed the color video standard used primarily in North America which uses 525 lines per frame See also PAL Nonvolatile RAM RAM that is not erased when a device loses power or is turned off Phase Alternation Line One of the European video color standards uses 625 lines per frame See also NTSC Peripheral Component Interconnect A high performance expansion bus architecture originally developed by Intel to replace ISA and EISA PCI offers a theoretical maximum transfer rate of 132 Mbytes s Picture element The smallest division that makes up the video scan line for display on a computer monitor a pixel s optimum dimension is square aspect ratio of 1 1 or the width equal to the height The total number of pixels between two horizontal synchronization signals The pixel count determines the frequency of the pixel clock G 4 ni com R real time resolution RGB ROI RS 170 RSE S saturation scatter gather DMA SDRAM T transfer rate trigger National Instruments Corporation G 5
4. scatter gather 3 3 documentation conventions used in the manual v NI resources C 1 drivers NI resources C 1 E environment specifications A 3 equipment optional 2 1 examples NI resources C 1 external connection specifications A 2 F formats supported A 1 functional overview 3 1 H hardware overview acquisition and ROI circuitry 3 2 acquisition window control 3 3 block diagram of IMAQ 1405 3 1 bus master PCI interface 3 3 functional overview 3 1 scatter gather DMA controllers 3 3 SDRAM 3 2 start conditions 3 3 trigger control and mapping circuitry 3 2 video acquisition 3 1 video decoder 3 2 IMAQ PCI 1405 User Manual Index help technical support C 1 hue 32 bit HSL and HSI B 3 definition B 2 hue saturation luminance and intensity planes B 3 connector figure 4 1 image representations 32 bit HSL and HSI B 2 color planes B 2 hue saturation luminance and intensity planes B 3 RGB 2 IMAQ 1405 hardware overview 2 1 optional equipment 2 1 overview 1 1 requirements for getting started 2 1 safety information 2 2 software programming choices 1 2 unpacking 2 2 installation IMAQ 1405 procedure 2 4 unpacking IMAQ 1405 2 2 instrument drivers NI resources C 1 integration with DAQ and motion control 1 4 intensity 32 bit HSL and HSI B 3 definition B 2 hue saturation luminance and intensity planes B 3 K KnowledgeBase C 1 IMAQ PCI 1405 Use
5. Communities using the manufacturer s declaration of conformity This system affords the user protection for electronic compatibility EMC and product safety You can obtain the DoC for your product by visiting ni com hardref nsf National Instruments Corporation C 1 IMAQ PCI 1405 User Manual Appendix C Technical Support and Professional Services Calibration Certificate If your product supports calibration you can obtain the calibration certificate for your product at ni com calibration If you searched ni com and could not find the answers you need contact your local office or NI corporate headquarters Phone numbers for our worldwide offices are listed at the front of this manual You also can visit the Worldwide Offices section of ni com niglobal to access the branch office Web sites which provide up to date contact information support phone numbers email addresses and current events IMAQ PCI 1405 User Manual C 2 ni com Glossary A acquisition window The image size specific to a video standard or camera resolution active line region The region of lines actively being stored Defined by a line start relative to the vertical synchronization signal and a line count active pixel region The region of pixels actively being stored Defined by a pixel start relative to the horizontal synchronization signal and a pixel count address Value that identifies a specific location or series of locations in memory
6. Glossary A property of an event or system in which data is processed as it is acquired instead of being accumulated and processed at a later time The smallest signal increment that can be detected by a measurement system Resolution can be expressed in bits in proportions or in percent of full scale For example a system has 12 bit resolution one part in 4 096 resolution and 0 0244 percent of full scale Color encoding scheme using red green and blue RGB color information where each pixel in the color image is encoded using 32 bits 8 bits for red 8 bits for green 8 bits for blue and 8 bits for the alpha value unused Region of interest A hardware programmable rectangular portion of the acquisition window The U S standard used for black and white television Referenced single ended All measurements are made with respect to a common reference measurement system or a ground Also called a grounded measurement system The amount of color pigment present The lower the saturation the more white is present in the color Pink is a red with low saturation A type of DMA that allows the DMA controller to reconfigure on the fly Synchronous dynamic RAM The rate measured in bytes s at which data is moved from source to destination after software initialization and set up operations The maximum rate at which the hardware can operate Any event that causes or starts some form of data capture IMAQ PCI 1405 User Manu
7. You can also program the triggers to be programmatically asserted or unasserted similar to the function of a digital I O line or to drive internal status signals by using the onboard events IMAQ PCI 1405 User Manual 4 2 ni com Specifications This appendix lists the specifications of the IMAQ 1405 These specifications are typical at 25 C unless otherwise stated Formats Supported Input formats RS 170 NTSC eee 30 frames s 25 frames s Output formats RGB 24 bit Ry G L essen 8 bit Pixel aspect Square pixel Video Input Quanity eter tte 1 NIdCO 3 ies Composite video on BNC RSE Input 75 x 196 Input range black to white 400 mV to 1 00 V variable gain Frequency response luminance Full range 5e ee 12 MHz 3 dB typ all filters off Programmable Decimation and lowpass filters Accuracy Absolute accuracy Lima gam x dee 2 5 of reading Chroma gait isn crainici 2 5 of reading Temperature drift 250 ppm C National Instruments Corporation A 1 IMAQ PCI 1405 User Manual Appendix A Specifications A D Conversion R soli tion etc eret Dynamic range eere Sampling frequency RS 170 NTSC
8. 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 Measurement Studio MITE National Instruments NI ni com NI DAQ 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 T
9. 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 EXCEPT AS SPECIFIED HEREIN NATIONAL INSTRUMENTS MAKES NO WARRANTIES EXPRESS OR IMPLIED AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE CUSTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA PROFITS USE OF PRODUCTS OR INCIDENTAL OR CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY 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
10. number of lines to be acquired relative to the assertion edge of the vertical or frame enable signal e Region of interest The IMAQ 1405 uses a second level of active pixel and active line regions for selecting a region of interest When you disable the region of interest circuitry the device stores the entire acquisition window into onboard or system memory However when you enable the region of interest circuitry the device acquires only a selected subset of the image frame IMAQ PCI 1405 User Manual 3 4 ni com Signal Connections This chapter describes cable connections for the IMAQ 1405 1 0 Connectors The IMAQ 1405 uses two BNC connectors on the front panel to connect to video data input and the external trigger signal Figure 4 1 shows the position of the connectors CO VIDEO TRIG Figure 4 1 IMAQ 1405 Connectors National Instruments Corporation 4 1 IMAQ PCI 1405 User Manual Chapter 4 Signal Connections Signal Descriptions Table 4 1 describes the signal connections on the 1405 device connectors Table 4 1 1 0 Connector Signals Signal Name Description VIDEO Composite Video This signal allows you to make a referenced single ended RSE connection to the video channel TRIG External trigger You can use this TTL I O line to start an acquisition or to control external events You can program the triggers to be rising or falling edge sensitive
11. sese CCIR PAL uide Color Decoding Composite video Luma path motus Chroma Onboard External Connections Trigger input Voltage Input high voltage Input low voltage 24 54 MHz double rate of square pixel 29 5 MHz double rate of square pixel Chroma trap filter and or line comb Bandpass filter and or line comb 16 MB synchronous dynamic RAM 0 to 5 V TTL 2 0 V 0 8 V Polarity Programmable active high or active low Trigger output Voltage range sese 0 to 5 V TTL Output high voltage 2 4 V at2 mA Output low voltage 0 4 V at2 mA Polarity iet Programmable active high or active low Power on state Input high impedance IMAQ PCI 1405 User Manual A 2 10 K Q pull up to 5 V ni com Appendix A Specifications Power Requirements I VDC E596 n terti te 1 00A 312 V DG 5596 200 mA Physical Dimensions eeeeeeee 10 7 x 17 5 cm 4 2 x 6 9 in Weight eet 0 136 kg 0 3 Ib Environment The IMAQ 1405 is intended for indoor use only Operating 0 to 55 C Maximum altitude 2 000 m St
12. the back panel of the chassis for the slot you have selected Remove and save the bracket retaining screw and the bracket cover Line up the IMAQ 1405 card edge connector with the expansion slot receptacle Using slow evenly distributed pressure press the IMAQ 1405 straight down until it seats in the expansion slot Reinstall the bracket retaining screw to secure the IMAQ 1405 to the back panel rail Visually verify the installation Replace the computer cover and plug in the computer 2 5 IMAQ PCI 1405 User Manual Hardware Overview This chapter presents an overview of the hardware functions on the IMAQ 1405 device and explains the operation of each functional unit making up the IMAQ 1405 Functional Overview The IMAQ 1405 features a flexible high speed data path optimized for the acquisition and formatting of video data from analog monochrome and color cameras The block diagram in Figure 3 1 illustrates the key functional components of the IMAQ 1405 SDRAM ZN Wade IMAQ SDRAM PCI Interface and 5 Analog Video 3 Decodor gt Memory Scatter Gather Interface DMA Controller o L Acquisition ROI and External Trigger 4 amp 3 Control N 7 Figure 3 1 IMAQ 1405 Block Diagram Video Acquisition The IMAQ 1405 can acquire analog color video in a variety of modes and then store the images in the onboard SDRAM memory o
13. 405 User Manual Platforms that support NI IMAQ also support NI DAQ and a variety of National Instruments DAQ devices This allows integration between IMAQ devices and National Instruments DAQ products Use National Instruments high performance stepper and servo motion control products with your Vision software for inspection and guidance applications such as locating alignment markers on semiconductor wafers guiding robotic arms inspecting the quality of manufactured parts and locating cells 1 4 ni com Installation This chapter lists what you need to start acquiring images with the IMAQ 1405 device describes optional equipment and custom cables and explains how to unpack configure and install the IMAQ 1405 device What You Need to Get Started To set up and use the IMAQ 1405 device you need the following C NI IMAQ for Windows 2000 NT XP Me 98 C Optional software packages and documentation NI Vision Builder for Automated Inspection NI Vision Development Module LabVIEW LabWindows CVI Measurement Studio IMAQ BNC 1 shielded 75 BNC cable for VIDEO included with the IMAQ 1405 L Video camera or other video source C Pentium based computer running Windows 2000 NT XP Me 98 Optional Equipment National Instruments offers the following products for use with the IMAQ 1405 device e National Instruments DAQ devices for enhanced triggering timing or input output e Nat
14. IMAQ IMAQ PCI 1405 User Manual Single Channel Color Image Acquisition Device for PCI Chassis Wy NATIONAL March 2004 Edition P INSTRUMENTS Part Number 323687A 01 Worldwide Technical Support and Product Information ni com National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 512 683 0100 Worldwide Offices Australia 1800 300 800 Austria 43 0 662 45 79 90 0 Belgium 32 0 2 757 00 20 Brazil 55 11 3262 3599 Canada Calgary 403 274 9391 Canada Ottawa 613 233 5949 Canada Qu bec 450 510 3055 Canada Toronto 905 785 0085 Canada Vancouver 514 685 7530 China 86 21 6555 7838 Czech Republic 420 224 235 774 Denmark 45 45 76 26 00 Finland 385 0 9 725 725 11 France 33 0 1 48 14 24 24 Germany 49 0 89 741 31 30 Greece 30 2 10 42 96 427 India 91 80 51190000 Israel 972 0 3 6393737 Italy 39 02 413091 Japan 81 3 5472 2970 Korea 82 02 3451 3400 Malaysia 603 9131 0918 Mexico 001 800 010 0793 Netherlands 31 0 348 433 466 New Zealand 0800 553 322 Norway 47 0 66 90 76 60 Poland 48 22 3390150 Portugal 351 210 311 210 Russia 7 095 783 68 51 Singapore 65 6226 5886 Slovenia 386 3 425 4200 South Africa 27 0 11 805 8197 Spain 34 91 640 0085 Sweden 46 0 8 587 895 00 Switzerland 41 56 200 51 51 Taiwan 886 2 2528 7227 Thailand 662 992 7519 United Kingdom 44 0 1635 523545 For further support information refer to the Technical Support and Professional Services appendix To
15. O 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 O
16. R 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 www fcc gov for more information FCC DOC Warnin
17. al Glossary trigger control and Circuitry that routes monitors and drives the external trigger line You can mapping circuitry configure this line to start or stop acquisition on a rising or falling edge TTL Transistor transistor logic V VI Virtual 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 IMAQ PCI 1405 User Manual G 6 ni com Index A A D conversion specifications A 2 accuracy specifications 1 acquisition acquisition and ROI circuitry 3 2 acquisition window control 3 3 start conditions 3 3 acquisition window 3 3 block diagram of IMAQ 1405 3 1 bus master PCI interface 3 3 C cables required cables 2 1 calibration certificate NI resources C 2 color decoding specifications A 2 color overview definition of color B 1 image representations 32 bit HSL and HSI B 3 color planes B 2 hue saturation luminance and intensity planes B 3 RGB B 2 perception of color B 2 visible spectrum figure B 1 color planes B 2 configuration acquisition window control 3 3 connector for IMAQ 1405 figure 4 1 conventions used in the manual v National Instruments Corporation D Declaration of Conformity NI resources C 1 diagnostic tools NI resources C 1 DMA controllers
18. comment on the documentation send email to ctechpubseni com 2004 National Instruments Corporation All rights reserved Important Information Warranty The IMAQ 1405 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
19. enerate 8 16 and 32 bit memory read and write cycles both single and multiple The interface logic ensures that the IMAQ 1405 can meet PCI loading driving and timing requirements The IMAQ 1405 can start acquisitions in a variety of conditions e Software control The IMAQ 1405 supports software control of acquisition start You can configure the IMAQ 1405 to capture a fixed number of fields or frames Use this configuration for capturing a single frame or a sequence of frames Trigger control You can start an acquisition by enabling the external trigger line This input can start a video acquisition on a rising or falling edge e Frame field selection With an interlaced camera and the IMAQ 1405 in frame mode you can program the IMAQ 1405 to start an acquisition on any odd or even field Acquisition Window Control You can configure numerous parameters on the IMAQ 1405 to control the video acquisition window A brief description of each parameter follows Acquisition window The IMAQ 1405 allows you to specify a particular region of active pixels and active lines within the incoming video data The active pixel region selects the starting pixel and number of pixels to be acquired relative to the assertion edge of the horizontal or line enable signal from the camera The active line National Instruments Corporation 3 3 IMAQ PCI 1405 User Manual Chapter 3 Hardware Overview region selects the starting line and
20. er to the Declaration of Conformity DoC for this product for any additional regulatory compliance information To obtain the DoC for this product visit ni com hardref nsf search by model number or product line and click the appropriate link in the Certification column IMAQ PCI 1405 User Manual A 4 ni com Introduction to Color Color is the wavelength of the light we receive in our eye when we look at an object In theory the color spectrum is infinite Humans however can see only a small portion of this spectrum the portion that goes from the red edge of infrared light which is the longest wavelength to the blue edge of ultraviolet light which is the shortest wavelength This continuous spectrum is called the visible spectrum as shown in Figure B 1 Figure B 1 White Light and the Visible Spectrum White light is a combination of all colors at once The spectrum of white light is continuous and goes from ultraviolet to infrared in a smooth transition You can represent a good approximation of white light by selecting a few reference colors and weighting them appropriately The most common way to represent white light is to use three reference components such as red green and blue R G and B primaries You can simulate most colors of the visible spectrum using these primaries For example video projectors use red green and blue light generators and an RGB camera uses red green and blue sensors
21. erlaced formats a frame is composed of two fields Color encoding scheme using Hue Saturation and Intensity information where each pixel in the image is encoded using 8 bits for hue 8 bits for saturation and 8 bits for intensity Color encoding scheme using Hue Saturation and Luma information where each pixel in the image is encoded using 32 bits 8 bits for hue 8 bits for saturation 8 bits for luma and 8 unused bits Represents the dominant color of a pixel The hue function is a continuous function that covers all the possible colors generated using the R G and B primaries See also RGB Input output The transfer of data to from a computer system involving communications channels operator interface devices and or data acquisition and control interfaces Image acquisition A set of high level software functions such as NI IMAQ that control specific plug in computer boards Instrument drivers are available in several forms ranging from a function callable from a programming language to a virtual instrument VI in LabVIEW The sum of the red green and blue primaries divided by three red green blue 3 A video frame composed of two interleaved fields The number of lines in a field are half the number of lines in an interlaced frame A computer signal indicating that the CPU should suspend its current task to service a designated activity IMAQ PCI 1405 User Manual Glossary luma MTBF N NLIMAQ
22. ged return it to National Instruments NI for repair Do not substitute parts or modify the module except as described in this document Use the module only with the chassis modules accessories and cables specified in the installation instructions You must have all covers and filler panels installed during operation of the module Do not operate the module in an explosive atmosphere or where there may be flammable gases or fumes If you must operate the module in such an environment it must be in a suitably rated enclosure 2 2 ni com Chapter 2 Installation If you need to clean the module use a soft nonmetallic brush Make sure that the module is completely dry and free from contaminants before returning it to service Operate the module only at or below Pollution Degree 2 Pollution is foreign matter in a solid liquid or gaseous state that can reduce dielectric strength or surface resistivity The following is a description of pollution degrees e Pollution Degree 1 means no pollution or only dry nonconductive pollution occurs The pollution has no influence e Pollution Degree 2 means that only nonconductive pollution occurs in most cases Occasionally however a temporary conductivity caused by condensation must be expected e Pollution Degree 3 means that conductive pollution occurs or dry nonconductive pollution occurs that becomes conductive due to condensation You must insulate signal connections for the maxi
23. gs 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 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
24. ich allows you to begin acquiring images quickly The IMAQ 1405 ships with NI IMAQ the National Instruments driver software you can use to directly control the IMAQ 1405 and other National Instruments IMAQ hardware products Using NI IMAQ you can quickly and easily start your applications without having to program the device at the register level The IMAQ 1405 features a precision color analog video decoder ideal for industrial and scientific environments The 1405 device supports both NTSC and PAL color standards as well as the RS 170 and CCIR monochrome standards The 1405 also provides one external input output I O line that you can use as a trigger or digital I O line If you require more advanced triggering or digital I O lines you can use the IMAQ 1405 and NI IMAQ with the National Instruments data acquisition DAQ product line Detailed specifications of the IMAQ 1405 are in Appendix A Specifications National Instruments Corporation 1 1 IMAQ PCI 1405 User Manual Chapter 1 Introduction Software Overview Programming the IMAQ 1405 device requires the NI IMAQ driver software for controlling the hardware National Instruments also offers the following application software packages for analyzing and processing your acquired images e Vision Builder for Automated Inspection AI Allows you to configure solutions for common inspection tasks e National Instruments Vision Development Module Provides customized co
25. ional Instruments motion control products for automating inspections National Instruments Corporation 2 1 IMAQ PCI 1405 User Manual Chapter 2 Installation Unpacking For specific information about these products refer to the National Instruments catalog visit or call the National Instruments office nearest you The IMAQ 1405 device ships in an antistatic package to prevent electrostatic discharge from damaging device components To avoid such damage in handling the device take the following precautions 1 Ground yourself using a grounding strap or by touching a grounded object such as the computer chassis 2 Touch the antistatic package to a metal part of the computer chassis before removing the device from the package UN Caution Never touch the exposed pins of connectors 3 Remove the device from the package and inspect it for loose components or any other signs of damage Notify National Instruments if the device appears damaged in any way Do not install a damaged device in the computer Safety Information Caution The following paragraphs contain important safety information you must follow when installing and operating the device IMAQ PCI 1405 User Manual Do not operate the module in a manner not specified in this document Misuse of the module can result in a hazard You can compromise the safety protection built into the module if the module is damaged in any way If the module is dama
26. lic 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 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 Contents Chapter 1 Introduction About the IMAQ 1405 hr een teu Ro adito d ti edd 1 1 Software ter ae AGS eR HEISE E e RELAX EVER 1 2 NI IMAQ Driver Software sss enne eene nnne 1 2 Application Software Packages seseeeeeeeneeereem eee 1 3 Vision Builder for Automated Inspection esee 1 3 Vision Development Module see 1 3 Intesration With E Y ESSERE PEERS ES 1 4 Vision and Motion oet er eene e viet cens eee ei dne e PE Geen ves 1 4 Chapter 2 Installation What You Need to Get Started ener nnne enne 2 1 Optional Equipment teet terere D e eee eig Ree teles 2 1 Utripacking eee nag teet tei eet 2 2 safety Information operta edet base eie deb igo 2 2 Installation tet rie ORE UR E ERR P RO er eie 6n 2 4 Chapter 3 Hardware Overview Functi
27. 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 ni com hardref nsf search by model number or product line 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 Conventions gt g bold italic monospace 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 When this symbol is marked on a product refer to the Safety Information section of Chapter 2 Installation for information about precautions to take 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 parameter names Ita
28. mputer for processing 2 Collecting and measuring the same kinds of electrical signals with A D or DIO boards plugged into a computer and possibly generating control signals with D A and or DIO boards in the same computer Direct memory access A method by which data can be transferred to and from computer memory from and 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 Software that controls a specific hardware device such as an image acquisition device The ratio of the largest signal level a circuit can handle to the smallest signal level it can handle usually taken to be the noise level normally expressed in decibels A voltage pulse from an external source that triggers an event such as A D conversion For an interlaced video signal a field is half the number of horizontal lines needed to represent a frame of video The first field of a frame contains all the odd numbered lines the second field contains all of the even numbered lines G 2 ni com FIFO frame HSI HSL hue I O IMAQ instrument driver intensity interlaced interrupt National Instruments Corporation G 3 Glossary First in first out memory buffer The first data stored is the first data sent to the acceptor FIFOs are used on IMAQ devices to temporarily store incoming data until that data can be retrieved A complete image In int
29. mum voltage for which the module is rated Do not exceed the maximum ratings for the module Do not install wiring while the module is live with electrical signals Do not remove or add connector blocks when power is connected to the system Avoid contact between your body and the connector block signal when hot swapping modules Remove power from signal lines before connecting them to or disconnecting them from the module Caution National Instruments measurement products may be classified as either Installation Category I or II Operate the module at or below the installation category marked on the hardware label Installation Category Measurement circuits are subjected to working voltages and transient stresses overvoltage from the circuit to which they 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 categories e Installation Category I is for measurements performed on circuits not directly connected to the electrical distribution system referred to as Installation categories as defined in electrical safety standard IEC 61010 1 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 National Instruments Corpora
30. nstallation Note You must install the NI IMAQ driver software before installing the IMAQ 1405 device You can install the IMAQ 1405 in any available PCI expansion slot in the computer However to achieve the best noise performance leave as much room as possible between the IMAQ 1405 and other devices or hardware The following are general installation instructions Consult the computer user manual or technical reference manual for specific instructions and warnings 1 Verify that the NI IMAQ driver software is installed on the computer 2 Power off and unplug the computer 1 MAINS is defined as the hazardous live electrical supply system to which equipment is designed to be connected for the purpose of powering the equipment Suitably rated measuring circuits may be connected to the MAINS for measuring purposes IMAQ PCI 1405 User Manual 2 4 ni com Chapter 2 Installation Caution protect both yourself and the computer from electrical hazards the computer must remain off and unplugged until you finish installing the IMAQ 1405 device National Instruments Corporation Remove the computer cover Make sure there are no lit LEDs on the motherboard If any are lit wait until they go out before continuing installation Touch the metal part of the power supply case inside the computer to discharge any static electricity that might be on your clothes or body Locate the metal bracket that covers the cut out in
31. ntrol over hardware and algorithms The following sections provide an overview of the driver software and application software For detailed information about individual software packages refer to the documentation specific to the package NI IMAQ Driver Software IMAQ PCI 1405 User Manual The NI IMAQ driver software ships with the IMAQ 1405 device NI IMAQ has an extensive library of functions such as routines for video configuration continuous and single shot image acquisition memory buffer allocation trigger control and device configuration you can call from your application development environment ADE NI IMAQ handles many of the complex issues between the computer and the IMAQ device such as programming interrupts and camera control NI IMAQ performs all functions required for acquiring and saving images but does not perform image analysis For image analysis functionality refer to the Application Software Packages section of this chapter NI IMAQ is also the interface path between the IMAQ 1405 device and LabVIEW LabWindows CVI or a text based programming environment The NI IMAQ software kit includes a series of image acquisition libraries for LabVIEW LabWindows CVI and Measurement Studio which contains libraries for Microsoft Visual Basic NI IMAQ features both high level and low level functions Examples of high level functions include the sequences to acquire images in multi buffer single shot or con
32. nts e 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 NI Vision Assistant is included with the Vision Development Module Vision Assistant is an interactive prototyping tool for machine vision and scientific imaging developers With Vision Assistant you can prototype National Instruments Corporation 1 3 IMAQ PCI 1405 User Manual Chapter 1 Introduction vision applications quickly and test how various vision 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 CVI or Visual Basic using the Vision Assistant machine vision and image processing libraries Using the LabVIEW VI creation wizard Vision Assistant can create LabVIEW VI block diagrams that perform the prototype you created in Vision Assistant You can then use LabVIEW to add functionality to the generated VI Integration with DAQ Vision and Motion IMAQ PCI 1
33. onal OVetVIGW eere t eene bas E 3 1 Video Acquisition iot c t rr o e o dp o P nn 3 1 Video Decoder ae eee Eee te npe ir er o edd 3 2 SDRAM 25insngGssnecuneeoee ep eite nien p eii 3 2 Trigger Control and Mapping Circuitry eee 3 2 Acquisition and ROI Circuitry essere 3 2 Scatter Gather DMA Controllers eese 3 3 Bus Master PCI Interface uei cer ri e ER ERR nd 3 3 Start CondItiOnss esee EHE E A CHEER RD ERR UE NINE Hie KE NE SERE ates 3 3 Acquisition Window Control eese 3 3 Chapter 4 Signal Connections mter ore OE EROR SOEUR EU Re pee RES e Yin ay 4 1 Signal Descriptions Gee fete tee a e p e P ps 4 2 National Instruments Corporation Vii IMAQ PCI 1405 User Manual Contents Appendix A Specifications Appendix B Introduction to Color Appendix C Technical Support and Professional Services Glossary Index IMAQ PCI 1405 User Manual Viii ni com Introduction This chapter describes the IMAQ PCI 1405 and the software programming choices About the IMAQ 1405 The IMAQ 1405 is a highly flexible PCI monochrome and color IMAQ device that supports a diverse range of analog cameras from many camera companies The IMAQ 1405 acquires images in real time and can store these images in onboard frame memory or transfer these images directly to system memory The IMAQ 1405 is easy to configure wh
34. orage temperature 20 to 70 C Relative humidity 5 to 9096 noncondensing MTBE 839 653 h at 30 C EMISSIONS EN 55011 1991 Group 1 Class A at 10 m FCC Class A at 10 Safety The IMAQ 1405 is designed to meet the requirements of the following standards of safety for electrical equipment for measurement control and laboratory use e TEC 61010 1 EN 61010 1 e UL3111 1 UL 61010B 1 e CAN CSA C222 No 1010 1 iyi Note For UL and other safety certifications refer to the product label or visit ni com hardref nsf search by model number or product line and click the appropriate link in the Certification column National Instruments Corporation A 3 IMAQ PCI 1405 User Manual Appendix A Specifications Electromagnetic Compatibility EN 55011 Class at 10 Part 15A above 1 GHz Iminunity 61326 1997 2 2001 Table 1 tmr CE C Tick and FCC Part 15 Class A Compliant Note For EMC compliance operate this device with shielded cabling CE Compliance This product meets the essential requirements of applicable European Directives as amended for CE Marking as follows Low Voltage Directive safety 73 23 EEC Electromagnetic Compatibility Directive EMC ess 89 336 EEC Note Ref
35. r Manual L LabVIEW Vision Builder AIL 1 3 luminance 32 bit HSL and HSI B 3 definition B 2 hue saturation luminance and intensity planes B 3 mapping circuitry and trigger control 3 2 memory SDRAM 3 2 specifications A 2 motion control integrating with 1 4 National Instruments support and services C 1 NI support and services C 1 NTSC video standard 3 2 0 optional equipment for IMAQ 1405 2 1 P PAL video standard 3 2 physical specifications A 3 post decoding coring 3 2 power requirement specifications A 3 programming examples NI resources C 1 ni com R RAM SDRAM 3 2 region of interest acquisition and ROI circuitry 3 2 configuring 3 4 requirements for getting started 2 1 RGB image representation B 2 S safety information 2 2 saturation 32 bit HSL and HSI B 3 definition B 2 hue saturation luminance and intensity planes B 3 scatter gather DMA controllers 3 3 SDRAM 3 2 signal connections I O connector figure 4 1 signal description table 4 2 software NI IMAQ driver software 1 2 Vision Builder for Automated Inspection 1 3 Vision Development Module 1 3 software NI resources C 1 software programming choices National Instruments IMAQ Vision 1 3 NI IMAQ driver software 1 2 specifications A D conversion A 2 accuracy A 1 color decoding A 2 National Instruments Corporation F3 Index environment A 3 external connections A 2 formats suppor
36. r transfer the images directly to PCI system memory National Instruments Corporation 3 1 IMAQ PCI 1405 User Manual Chapter 3 Hardware Overview Video Decoder SDRAM The IMAQ 1405 supports NTSC and PAL video standards in composite format The onboard video decoder converts the incoming video signal to red green and blue RGB data The video decoder allows you to control numerous parameters to optimize an acquisition You can independently adjust parameters such as analog input range brightness contrast saturation or frequency range which is controlled by different filters Refer to the Measurement amp Automation Explorer Help which is installed with NI IMAQ for a complete description of the IMAQ 1405 video parameters The video decoder also strips out all necessary clock and synchronization signals included in the video signal and controls the acquisition conditions automatically High quality circuitry can generate the synchronization signals from poor timing signals This allows you to acquire from for example a video cassette recorder VCR The IMAQ 1405 has 16 MB of onboard high speed synchronous dynamic RAM SDRAM The IMAQ 1405 can use the onboard RAM as a first in first out FIFO buffer transferring the image data as it is acquired or acquiring the image data into SDRAM and holding it for later transfer to main memory Trigger Control and Mapping Circuitry The trigger control monitors and drives the e
37. support and professional services e Support Online technical support resources include the following Self Help Resources For immediate answers and solutions visit our extensive library of technical support resources available in English Japanese and Spanish at ni com support These resources are available for most products at no cost to registered users and include software drivers and updates a KnowledgeBase product manuals step by step troubleshooting wizards conformity documentation example code tutorials and application notes instrument drivers discussion forums a measurement glossary and so on Assisted Support Options Contact NI engineers and other measurement and automation professionals by visiting ni com support Our online system helps you define your question and connects you to the experts by phone discussion forum or email Training and Certification Visit ni com training for self paced training eLearning virtual classrooms interactive CDs and Certification program information You also can register for instructor led hands on courses at locations around the world e System Integration If you have time constraints limited in house technical resources or other project challenges NI Alliance Program members can help To learn more call your local NI office or visit ni com alliance Declaration of Conformity DoC A DoC is our claim of compliance with the Council of the European
38. ted A 1 memory A 2 physical A 3 power requirements A 3 video input A 1 start conditions 3 3 support technical C 1 T technical support C 1 training and certification NI resources C 1 TRIG signal table 4 2 trigger control and mapping circuitry 3 2 troubleshooting NI resources C 1 U unpacking IMAQ 1405 2 2 V video acquisition 3 1 video decoder 3 2 video input specifications A 1 VIDEO signal table 4 2 video standards 3 2 W Web resources C 1 IMAQ PCI 1405 User Manual
39. tinuous mode An example of a low level function is configuring an image sequence which requires advanced understanding of the IMAQ device and image acquisition 1 2 ni com Chapter 1 Introduction Application Software Packages This section describes the National Instruments application software packages you can use to analyze and process the images you acquire with the IMAQ 1405 device Vision Builder for Automated Inspection NI Vision Builder for Automated Inspection AI is configurable machine vision software that you can use to prototype benchmark and deploy applications for use in LabVIEW LabWindows CVI and Measurement Studio Vision Builder AI does not require programming but it 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 With Vision Builder AI you can migrate the configured inspection to LabVIEW extending the capabilities of your applications if necessary Vision Development Module The Vision Development Module is an image acquisition processing and analysis library of more than 270 functions for common machine vision tasks such as e Pattern matching e Particle analysis e Gauging e Taking measureme
40. tion 2 3 IMAQ PCI 1405 User Manual Chapter 2 Installation MAINS 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 equipment circuits powered by regulated low voltage sources and electronics e Installation Category is for measurements performed on circuits directly connected to the electrical distribution system This category refers to local level electrical distribution such as that provided by a standard wall outlet for example 115 AC voltage for U S or 230 AC voltage for Europe Examples of Installation Category II are measurements performed on household appliances portable tools and similar modules e Installation Category is for measurements performed in the building 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 e Installation Category IV is for measurements performed at the primary electrical supply installation 1 000 V Examples include electricity meters and measurements on primary overcurrent protection devices and on ripple control units I
41. xternal trigger line You can configure this line to start an acquisition on a rising or falling edge and drive the line asserted or unasserted similar to a digital I O line You can also map many of the IMAQ 1405 status signals to this trigger line and program the trigger line in polarity and direction Acquisition and ROI Circuitry IMAQ PCI 1405 User Manual The acquisition and region of interest ROT circuitry monitors the incoming video signals and routes the active pixels to the SDRAM memory The IMAQ 1405 can perform an ROI acquisition on all video lines and frames In an ROI acquisition you select an area within the acquisition window to transfer to the PCI bus 3 2 ni com Chapter 3 Hardware Overview Scatter Gather DMA Controllers The IMAQ 1405 uses three independent onboard direct memory access DMA controllers The DMA controllers transfer data between the onboard SDRAM memory buffers and the PCI bus Each of these controllers supports scatter gather DMA which allows the DMA controller to reconfigure on the fly Thus the IMAQ 1405 can perform continuous image transfers directly to either contiguous or fragmented memory buffers Bus Master PCI Interface Start Conditions The IMAQ 1405 implements the PCI interface with a National Instruments custom application specific integrated circuit ASIC the PCI MITE The PCI interface can transfer data at a maximum rate of 132 Mbytes s in bus master mode The IMAQ 1405 can g
42. y of 32 bit integers This representation is useful for displaying the image on a monitor The 32 bit integer is organized as follows 0 RED GREEN BLUE where the high order byte is not used and the low order byte is blue The red green or blue planes can be returned individually Each plane is extracted from the RGB image and represented as an array of 8 bit integers B 2 ni com Appendix B Introduction to Color Hue Saturation Luminance and Intensity Planes The IMAQ 1405 can return an 8 bit Luminance L plane but not Hue H or Saturation S planes You can use IMAQ Vision to convert the RGB data from the IMAQ 1405 to HSL or Hue Saturation and Intensity HSI planes Luminance intensity hue and saturation are defined using the red green and blue values in the following formulas Luminance 0 299 x Red 0 587 x Green 0 114 x Blue Intensity Red Green Blue 3 Hue ATN2 Y X where Y Green Blue X 2 x Green Blue 6 3X Min R G 8 Saturation 255 R G B 32 Bit HSL and HSI You can also pack the three 8 bit HSL planes or the three HSI planes in one array of 32 bit integers which is equivalent to the 32 bit RGB representation National Instruments Corporation B 3 IMAQ PCI 1405 User Manual Technical Support and Professional Services Visit the following sections of the National Instruments Web site at ni com for technical
Download Pdf Manuals
Related Search
Related Contents
MANUEL D`UTILISATION Coagulation – Floculation User Guide - The Imaging Systems Group Inc. Pub Template A4 Service Manual for online.fm Benutzerhandbuch Copyright © All rights reserved.
Failed to retrieve file