Page 2
NI Vision NI 17xx Smart Camera User Manual For NI 1722/1742/1744/1762/1764 Smart Cameras NI 17xx Smart Camera User Manual September 2013 374174A-01...
Page 3
11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100 Technical Support and Professional Services For further support information, refer to the appendix. To comment on National Instruments documentation, refer to the National Instruments Web site at and enter the Info Code ni.com/info...
Page 4
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.
Page 5
™ The ExpressCard word mark and logos are owned by PCMCIA and any use of such marks by National Instruments is under license. The mark LabWindows is used under a license from Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation in the United States and other countries.
Page 6
Operation of this hardware in a residential area is likely to cause harmful interference. Users are required to correct the interference at their own expense or cease operation of the hardware. Changes or modifications not expressly approved by National Instruments could void the user’s right to operate the hardware under the local regulatory rules.
Page 8
Contents Chapter 4 Lighting Lighting Connector ......................4-1 Direct Drive Lighting Controller ..................4-2 Lighting Files ......................4-3 Selecting a Light ....................... 4-4 Connecting a Light to the Direct Drive Lighting Controller ........4-5 External Lighting Controllers ...................4-6 Connecting an External Lighting Controller to the NI Smart Camera ..... 4-7 Chapter 5 Image Acquisition Exposure ...........................
About This Manual This manual describes the electrical and mechanical aspects of the National Instruments 17xx Smart Camera. Refer to Getting Started with the NI 17xx Smart Camera for smart camera and accessory installation information. Related Documentation The following documents contain information that you may find helpful as you read this manual: Hardware Documents Getting Started with the NI 17xx Smart Camera—Contains important safety information...
About This Manual LabVIEW and NI Vision Development Module Documents LabVIEW Help—Includes information about LabVIEW programming concepts, • step-by-step instructions for using LabVIEW, and reference information about LabVIEW VIs, functions, palettes, menus, and tools. Getting Started with LabVIEW—Use this manual as a tutorial to familiarize yourself with •...
NI Smart Camera Overview This chapter provides an overview of the features and components of the National Instruments Smart Camera. Refer to Getting Started with the NI 17xx Smart Camera for smart camera and accessory installation information. Hardware Overview The NI Smart Camera is available in several different configurations. When a feature pertains only to specific smart camera models, a list at the beginning of the section shows which smart camera models support the feature.
Page 13
Chapter 1 NI Smart Camera Overview NI Smart Camera Image For more information about the image sensors, refer to Chapter 3, Sensor. For complete smart camera specifications, refer to Appendix A, Specifications. All smart cameras have an RS-232 serial port, Gigabit Ethernet ports, and use a standard C-mount lens.
Chapter 1 NI Smart Camera Overview LabVIEW Real-Time Module The LabVIEW Real-Time Module combines LabVIEW graphical programming with the power of Real-Time (RT) hardware, enabling you to build deterministic, real-time systems. You develop VIs in LabVIEW and embed the VIs on RT targets, such as the NI Smart Camera. The RT target runs VIs without a user interface and offers a stable platform for real-time VIs.
Table 2-1 lists the signal names and pin numbers for the 15-pin POWER-I/O connector. The table also lists the wire colors for the 15-pin D-SUB pigtail cable (part number 197818-05), sold separately by National Instruments. Cables sold by other manufacturers could have different wire colors.
Chapter 2 Power and I/O Table 2-1. POWER-I/O Connector Signal Descriptions (Continued) Connector Diagram Signal Name Pin Number Wire Color TrigIn- Light Green IsoIn(0)- IsoIn(1)- IsoOut(0)+ Yellow IsoOut(0)- Green 15 (COM) IsoOut(1)+ Light Blue IsoOut(1)- Gray 5 (+24 V) PhaseA+ Blue PhaseA- Brown/White...
Chapter 2 Power and I/O Figure 2-2. Connecting External Sinking Output Sensors to Isolated Inputs Sensor TrigIn+ Power IsoIn(0)+ NPN (Sinking) IsoIn(1)+ Output Device TrigIn– IsoIn(0)– Sensor NI 17xx IsoIn(1)– Common Isolated Outputs Do not power the load connected to the isolated outputs with any external Caution power supply greater than 30 VDC.
National Instruments does not recommend the use of single-ended encoders with the smart camera. This configuration would require the ground for a single-ended encoder to be connected to the COM pin of the smart camera, and the PhaseA- and PhaseB- signals would be left unconnected.
Page 24
Chapter 3 NI Smart Camera Image Sensor Figure 3-1 illustrates horizontal field of view and working distance. Figure 3-1. Parameters of an Imaging System Horizontal Imaging Width Working Distance Horizontal Field of View For example, if the working distance of your imaging setup is 100 mm, and the focal length of the lens is 8 mm, then the field of view in the horizontal direction of a smart camera using the VGA sensor in full scan mode is 0.0074 mm 640...
Chapter 3 NI Smart Camera Image Sensor Binning Binning can improve the light sensitivity of the sensor by treating adjacent pixels as a single pixel. Binning allows the image sensor to collect more electrons per pixel, which reduces the amount of required light and exposure time. Binning results in higher frame rates and lower spatial resolution in the vertical direction.
Page 28
Chapter 3 NI Smart Camera Image Sensor You can enable hardware binarization in the following ways: • In Vision Builder AI, configure the Lookup Table attribute on the Advanced tab of the Acquire Image (Smart Camera) step. Refer to the NI Vision Builder for Automated Inspection: Configuration Help for more information.
Chapter 4 Lighting Direct Drive Lighting Controller This section applies only to the following NI Smart Cameras: • NI 1742 • NI 1744 • NI 1762 • NI 1764 The NI Smart Camera offers an innovative lighting controller that directly powers third-party current controlled lights.
• Digitally Signed by National Instruments—The information contained within the lighting file has been verified as correct and safe by National Instruments. Contact National Instruments for support regarding this lighting data file or the light to which it refers. •...
• NI 1764 National Instruments software provides support for a variety of lights from major machine vision lighting companies. However, if your light is not in the list of supported lights, you may still be able to use your light with the Direct Drive lighting controller.
Chapter 4 Lighting Figure 4-2 illustrates how to connect a light to the Direct Drive lighting controller. Do not use the GND signal when connecting a light to the Direct Drive lighting controller. Figure 4-2. Connecting a Light to the Direct Drive Lighting Controller LED –...
Page 36
Chapter 4 Lighting Figure 4-4 illustrates how to connect an external lighting controller to the 24 V output on the NI Smart Camera. Figure 4-4. Connecting an External Lighting Controller to the 24 V Strobe Output 24 V Strobe Output (~ 18 V –...
Chapter 5 Image Acquisition × Horizontal (5-1) ---------------------------------------------------------------------------- - ⁄ Horizontal Horizontal where is the maximum exposure time without blurring, R is the rate of motion of the object either horizontally or vertically, FOV is the field of view in the direction of motion, and N is the number of sensor pixels in the direction of motion For many applications that include moving objects, additional lighting is necessary to achieve good image contrast due to the short exposure time required to avoid motion blur.
Page 40
Chapter 5 Image Acquisition The incoming trigger is synchronized to the line rate of the smart camera. This adds an additional delay that can vary on a frame by frame basis. The maximum variability is shown in Table 5-1. Table 5-1. Trigger Synchronization Variability Smart Camera Model Trigger Synchronization Variability 31.2 μs...
Chapter 5 Image Acquisition Determining the Scan Mode The maximum frame rate for selected scan mode is determined by the partial scan mode and binning mode. Because the amount of data read out of the sensor is less in 1/2 or 1/4 scan mode, the readout takes less time, and you can achieve faster frame rates.
Page 44
Chapter 5 Image Acquisition The image readout duration varies depending on the smart camera configuration, as shown in Table 5-3. Table 5-3. Image Readout Duration Smart Camera Model Full Scan 1/2 Scan 1/4 Scan Binning NI 1722 16.38 ms 8.86 ms 5.49 ms 8.17 ms NI 1742...
Chapter 6 LEDs and DIP Switches The initialization scrolling pattern will last longer than usual if the smart camera is configured to acquire an IP address from a DHCP server but no DHCP server is available on the network. When acquiring an IP address from a DHCP server, the smart camera waits up to 60 seconds to acquire an IP address.
Reinstall software on the smart camera or contact National Instruments for assistance. Refer to Getting Started with the NI 17xx Smart Camera for information about installing software on the smart camera.
Chapter 6 LEDs and DIP Switches FAIL LED The FAIL LED is a red LED that is user-configurable through the IMAQ property node in LabVIEW or the Read/Write I/O step in Vision Builder AI. If the IMG ACQ LED and the FAIL LED both flash red, it indicates that the NI Smart Camera Thermal has shut down because the maximum internal temperature was exceeded.
Chapter 6 LEDs and DIP Switches CONSOLE Switch With a serial port terminal program, you can use the CONSOLE switch to read device information from the NI Smart Camera during startup, such as the IP address and firmware version. When the CONSOLE switch is in the ON position, the serial port outputs device information and is not available for applications.
Chapter 7 Ethernet Ports Ethernet LEDs Figure 7-2 shows the Ethernet LEDs on the NI Smart Camera. Figure 7-2. NI Smart Camera Ethernet LEDs Port 1 ACTIVITY/LINK LED Port 2 ACTIVITY/LINK LED Port 1 SPEED LED Port 2 SPEED LED ACTIVITY/LINK LED The ACTIVITY/LINK LED indicates whether a link is established between the NI Smart Camera and the device connected at the other end of the Ethernet cable.
Chapter 7 Ethernet Ports Table 7-2. TCP/UDP Ports Used by the NI Smart Camera (Continued) Port Type Details 7750 Used for NI-IMAQ remote configuration (not reserved). 3363 TCP/UDP Reserved as nati-vi-server (NATI VI Server). Used by Vision Builder for Automated Inspection to configure a remote NI Smart Camera.
Chapter 8 Thermal Considerations and Mounting If the internal temperature sensor reads 70 °C or more, the smart camera immediately halts operation and becomes unresponsive. The IMG ACQ LED and the FAIL LED flash red. You must remove and reapply power to the smart camera to recover from this condition. To maximize the cooling efficiency of the smart camera, mount it to a thermally conductive structure, as specified in the Mounting the NI Smart Camera section.
Page 61
Appendix A Specifications Lighting Direct Drive lighting controller (NI 1742/1744/1762/1764 Only) Maximum current ........500 mA continuous; 1 A strobed Minimum current ........50 mA Light requirements Maximum voltage drop across LED+/LED- terminals ......30 V, with ±10% input power supply 25 V, with +20%/-15% input power supply Minimum voltage drop across LED+/LED- terminals ......7 V...
Page 63
Appendix A Specifications Environmental The NI Smart Camera is intended for indoor use only. Operating temperature Ambient temperature ........0 to 45 °C Maximum camera housing temperature........65 °C Storage temperature ..........-15 to 45 °C Humidity ............10% to 90% RH, noncondensing IP rating.............40 Pollution degree ..........2 Operating shock (IEC 60068-2-27) ....50 g, 3 ms half sine, 18 shocks at 6 orientations;...
Page 64
At the end of the product life cycle, all products must be sent to EU Customers a WEEE recycling center. For more information about WEEE recycling centers, National Instruments WEEE initiatives, and compliance with WEEE Directive 2002/96/EC on Waste and Electronic Equipment, visit ni.com/environment/...
Page 66
Appendix B Troubleshooting The NI Smart Camera Restarts Unexpectedly Possible causes and solutions: • The smart camera is configured to acquire an IP address from a DHCP server, but no DHCP server is available on the network. When the smart camera is configured to acquire an IP address from a DHCP server, it waits for up to 60 seconds for the IP address to be acquired successfully.
Page 68
Appendix B Troubleshooting • You have properly configured the maximum light settings in MAX or Vision Builder AI. For safety reasons, the default configuration of the smart camera does not enable lighting until you configure the maximum lighting current settings that are appropriate for your light.
Page 70
Appendix B Troubleshooting • The sensor power supply is of appropriate voltage for interfacing to NI Smart Camera Isolated Inputs Power and I/O, for isolated inputs. Refer to the section of Chapter 2, information about isolated inputs. Refer to Appendix A, Specifications, for complete specifications.
Page 72
You can also register for instructor-led, hands-on courses at locations around the world. • System Integration—If you have time constraints, limited in-house technical resources, or other project challenges, National Instruments Alliance Partner members can help. To learn more, call your local NI office or visit ni.com/alliance •...
Page 73
Appendix D Technical Support and Professional Services You also can visit the Worldwide Offices section of to access the branch ni.com/niglobal office Web sites, which provide up-to-date contact information, support phone numbers, email addresses, and current events. D-2 | ni.com...
Page 75
Glossary Ethernet cable, CAT 5, CAT 5e, or CAT 6 Ethernet cable used to connect a Real-Time standard target to a network port or between the development computer and the Real-Time target. exposure time The amount of time that light is allowed to strike the imaging sensor to produce an image.
Page 76
Measurement & Automation Explorer. A controlled, centralized configuration environment that allows you to configure all of your NI devices. NI-IMAQ Driver software for National Instruments image acquisition devices and smart cameras. Programmable Logic Controller. An industrial computer used for factory automation, process control, and manufacturing systems.
Page 77
Glossary subnet A set of systems whose IP addresses are configured such that they can communicate directly with one another. Data will not flow through an intermediate router. SXGA sensor Super eXtended Graphics Array sensor. Image sensor that features a resolution of 1,280 ×...