Summary of Contents for Interface Device NI PCI-1426

Page 1: ...NI Vision NI PCI 1426 User Manual Base Configuration Camera Link Image Acquisition Device NI PCI 1426 User Manual February 2007 374040C 01 ...

Page 2: ...00 Lebanon 961 0 1 33 28 28 Malaysia 1800 887710 Mexico 01 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 495 783 6851 Singapore 1800 226 5886 Slovenia 386 3 425 42 00 South Africa 27 0 11 805 8197 Spain 34 91 640 0085 Sweden 46 0 8 587 895 00 Switzerland 41 56 2005151 Taiwan 886 02 2377 2222 Thailan...

Page 3: ...r transmitted in any form electronic or mechanical including photocopying recording storing in an information retrieval system or translating in whole or in part without the prior written consent of National Instruments Corporation National Instruments respects the intellectual property of others and we ask our users to do the same NI software is protected by copyright and other intellectual prope...

Page 4: ...nt 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 ha...

Page 5: ...tes parameter names italic Italic text denotes variables emphasis a cross reference or an introduction to a key concept Italic text also denotes text that is a placeholder for a word or value that you must supply 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 pro...

Page 6: ...amera Link and the NI 1426 2 2 Base Configuration 2 2 Data Transmission 2 2 Hardware Binarization 2 3 Multiple Tap Data Formatter 2 4 SDRAM 2 4 Trigger Control and Mapping Circuitry 2 4 Wiring an Isolated Input to Output Devices 2 5 Connecting to a Quadrature Encoder 2 6 High Speed Timing 2 7 Acquisition and Region of Interest ROI 2 7 Scatter Gather DMA Controllers 2 8 Bus Master PCI Interface 2 8...

Page 7: ...Contents NI PCI 1426 User Manual viii ni com Appendix A Cabling Appendix B Technical Support and Professional Services Glossary Index ...

Page 8: ...he Camera Link and the NI 1426 section of Chapter 2 Hardware Overview The 15 pin D SUB connector has four external TTL input output I O lines you can use as triggers or as high speed digital I O lines Should you choose not to use the TTL I O lines the 15 pin D SUB connector also provides access to two optically isolated inputs and two RS 422 inputs These inputs can be individually selected in soft...

Page 9: ...cquisition 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 Refer to the National Instruments Application Software section for image analysis functionality NI IMAQ is also the interface between the NI 1426 and LabVIEW LabWindows CVI or a text based programming environment The NI IMAQ...

Page 10: ...70 functions for the following common machine vision tasks Pattern matching Particle analysis Gauging Taking measurements Grayscale color and binary image display You can use the Vision Development Module functions individually or in combination With the Vision Development Module you can acquire display and store images as well as perform image analysis and processing Using the Vision Development ...

Page 11: ...ns of the Camera Link Interface Standard for Digital Cameras and Frame Grabbers manual for more detailed information about Camera Link specifications This manual is available on several Web sites including the Automated Imaging Association site at www machinevisiononline org Overview Developed by a consortium of camera and image acquisition device manufacturers Camera Link is a standard for interf...

Page 12: ...ng and formatting video data from Camera Link cameras Figure 2 1 illustrates the key functional components of the NI 1426 Figure 2 1 NI 1426 Block Diagram Data MDR 26 Pin Connector Channel Link Receiver Enables Pixel Clock Camera Control UART PCI Bus PCI Interface and Scatter Gather DMA Controllers Data SDRAM Interface Synchronous Dynamic RAM Advanced Timing Acquisition ROI and Triggering External...

Page 13: ...te precise timing signals for controlling digital camera acquisition Base configuration includes the following bit allocations 8 bit 1 2 and 3 taps channels 10 bit 1 and 2 taps 12 bit 1 and 2 taps 14 bit 1 tap 16 bit 1 tap 24 bit RGB Data Transmission A 28 to 4 serializing Channel Link chip drives the data and camera enable signals across the Camera Link cable and the camera s pixel clock controls...

Page 14: ...etting all image pixels that fall within the threshold interval to the image white value and setting all other image pixels to 0 Pixels inside the threshold interval are considered part of the particle region Pixels outside the threshold interval are considered part of the background region Inverse binarization flips the assigned bit numbers of the particle region and the background region Thus al...

Page 15: ... a complete acquisition Even when the data rate from the camera exceeds PCI throughput you can acquire without interruption until the onboard RAM is full Trigger Control and Mapping Circuitry The trigger control and mapping circuitry routes monitors and drives the external and RTSI bus trigger lines You can configure each line to start an acquisition on a rising or falling edge and drive each line...

Page 16: ...s Caution Do not apply a voltage greater than 30 VDC to the isolated inputs Voltage greater than 30 VDC may damage the NI 1426 Note Isolated inputs are compatible with 5 V logic if the external circuit meets the voltage and current requirements listed in Getting Started with the NI PCI 1426 Figure 2 3 Example of Connecting an Isolated Input to a Sourcing Output Device Table 2 1 Trigger Configurati...

Page 17: ...ecommended for all applications Unshielded cables are more susceptible to noise and can corrupt the encoder signals Refer to Figure 2 5 for an example of connecting differential line drivers Figure 2 5 Example of Connecting Differential Line Drivers Vcc Sensor Power IN Current Limiter NI 1426 IN NPN Sinking Output Device Sensor Common 26LS32 Phase A Phase A Phase A Phase A 7 8 Twisted Pair 26LS32 ...

Page 18: ...Region of Interest ROI The acquisition and ROI circuitry monitors incoming video signals and routes the active pixels to the multiple tap data formatter and SDRAM The NI 1426 can perform ROI acquisitions on all video lines and frames In an ROI acquisition select an area within the acquisition window to transfer across the PCI bus to system memory Configure the following parameters on the NI 1426 t...

Page 19: ...The PCI interface can transfer data at a theoretical maximum rate of 133 MB s in bus master mode Start Conditions The NI 1426 can start acquisitions in the following ways Software control The NI 1426 supports software control of a start acquisition You can configure the NI 1426 to capture a fixed number of frames This configuration is useful for capturing a single frame or a sequence of frames Tri...

Page 20: ...rammed serial commands does not exist for your camera With clsercon exe you can still communicate serially with your camera Go to NI IMAQ bin to access clsercon exe Programmatically LabVIEW Use the serial interface programmatically through calls to the NI IMAQ driver using the IMAQ Serial Write and IMAQ Serial Read VIs Go to LabVIEW vi lib vision driver imaqll llb to access these files C Use the s...

Page 21: ...poration 3 1 NI PCI 1426 User Manual 3 Signal Connections Figure 3 1 shows the connectors on the front panel of the NI 1426 Figure 3 1 NI 1426 Connectors 1 MDR 26 Pin Connector 2 15 Pin D SUB Connector TRIGGERS CAMERA LINK 2 1 ...

Page 22: ...fer to the Camera Link Cables section of Appendix A Cabling for additional information about Camera Link cables including available cable lengths and ordering information Figure 3 2 shows the NI 1426 MDR 26 pin connector assignments Refer to Table 3 1 for a description of the MDR 26 pin and 15 pin D SUB signal connections Figure 3 2 MDR 26 Pin Connector Assignments 1 2 3 4 5 6 7 8 9 10 11 12 13 14...

Page 23: ...tor out into 15 color coded wires for easy connectivity Refer to the 15 Pin D SUB Cable Specifications section of Appendix A Cabling for information about ordering a cable assembly kit If you require twisted pair wiring you must build a custom cable Refer to the connector pin assignments in Figure 3 3 and the 15 Pin D SUB Cable Specifications section of Appendix A Cabling to build a custom cable f...

Page 24: ...adrature encoder Alternatively these pairs can be used as independent RS 422 trigger inputs instead of not in addition to TTL_TRIG 3 2 X 3 0 LVDS Base configuration data and enable signals from the camera to the acquisition device XCLK Transmission clock on the Base configuration chip for Camera Link communication between the acquisition device and the camera SerTC Serial transmission to the camer...

Page 25: ...sstalk TTL I O lines should be twisted together with a wire connected to DGND Isolated input and RS 422 input lines should be twisted together in their proper pairs Refer to the Connectors section of Chapter 3 Signal Connections for connector pin assignments Camera Link Cables Use a standard Camera Link cable to connect your camera to the MDR 26 pin connector on the NI 1426 Camera Link cables cons...

Page 26: ...7676 02 are available from the National Instruments Web site at ni com catalog Camera Link cables are available in 1 to 10 m lengths from the 3M Web site at www 3m com Refer to Figure A 2 for 3M part number information Figure A 2 3M Part Number Ordering Information 1 MDR 26 Pin Male Plug 2 2X Thumbscrews 2 1 14X26 SZLB XXX 0LC Length 100 1 meter 200 2 meters 300 3 meters 450 4 5 meters 500 5 meter...

Page 27: ...struments Application Engineers make sure every question receives an answer For information about other technical support options in your area visit ni com services or contact your local office at ni com contact 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 instru...

Page 28: ...om 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...

Page 29: ...ion of an acquisition window or frame that is controlled and defined by software ASIC Application Specific Integrated Circuit A proprietary semiconductor component designed and manufactured to perform a set of specific functions for specific customer needs B buffer Temporary storage for acquired data bus A group of conductors that interconnect individual circuitry in a computer such as the PCI bus...

Page 30: ...erring data to from computer memory F FIFO First in first out memory buffer The first data stored is the first data sent to the acceptor FIFOs are used on Vision devices to temporarily store incoming data until that data can be retrieved L LVDS Low Voltage Differential Signaling EIA 644 N NI IMAQ Driver software for National Instruments Vision hardware P PCI Peripheral Component Interconnect A hig...

Page 31: ...ns 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 RGB Color encoding scheme using red green and blue RGB color information where each pixel in the color image is encoded using 32 bits eight bits for red eight bits for green eight bits for blue and eight bits for the alpha value unused ROI Region of interest A har...

Page 32: ...te trigger Any event that causes or starts some form of data capture trigger control and mapping circuitry Circuitry that routes monitors and drives external and RTSI bus trigger lines You can configure each of these lines 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 u...

Page 33: ...tion A 2 overview 1 4 CC 4 1 signal table 3 4 clock signals XCLK signal table 3 4 configuration Camera Link Base configuration 2 2 connectors 15 pin D SUB connector 3 3 I O connector signals table 3 4 MDR 26 pin connector figure 3 2 NI 1426 connectors figure 3 1 signal description table 2 5 3 4 conventions used in manual v D data formatter multiple tap 2 3 2 4 data transmission 2 2 Declaration of ...

Page 34: ...nd motion control 1 4 ISO_IN signal table 3 4 K KnowledgeBase B 1 L LabVIEW Vision Builder AI 1 3 M mapping circuitry 2 4 MDR 26 pin connector 3 2 multiple tap data formatter 2 3 2 4 N National Instruments application software 1 2 support and services B 1 NI 1426 Camera Link 1 4 software programming choices 1 2 integration with DAQ 1 4 National Instruments application software 1 2 NI Vision Builde...

Page 35: ...e programming choices 1 2 integration with DAQ 1 4 NI Vision Builder for Automated Inspection 1 3 NI Vision Development Module 1 3 NI IMAQ driver software 1 2 start conditions delayed acquisition 2 8 software control 2 8 trigger control 2 8 support technical B 1 T technical support B 1 timing circuitry high speed 2 7 training and certification NI resources B 1 trigger configuration options table 2...

Reviews: