Instruments Corporation. National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and other intellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.
Page 4
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...
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. Conventions The following conventions appear in this manual: »...
Getting Started with the NI 17xx Smart Camera—Contains important safety information and information about installing and configuring NI Smart Cameras and accessories. You can access this manual by navigating to Start»All Programs»National Instruments»Vision» Documentation»NI-IMAQ. NI Developer Zone—Contains example programs, tutorials, technical...
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.
Page 12
Chapter 1 NI Smart Camera Overview For more information about the image sensors, refer to Chapter 3, Camera Image Appendix A, Specifications. All smart cameras have an RS-232 serial port, Gigabit Ethernet ports, and use a standard C-mount lens. Some smart camera models also include the Direct Drive lighting controller and support for quadrature encoders.
Chapter 1 NI Smart Camera Overview Software Overview Developing applications with the NI Smart Camera requires one of the following software options: The installation and configuration process for each development environment is different. Refer to Getting Started with the NI 17xx Smart Camera for installation and configuration instructions.
Chapter 1 NI Smart Camera Overview NI Vision Acquisition Software The NI Vision Acquisition Software CD contains Measurement & Automation Explorer (MAX) configuration software and NI-IMAQ driver software. Use MAX to configure the NI Smart Camera. You can set the IP address, update software on the smart camera, configure triggering, and set up the lighting features.
Chapter 2 Power and I/O Table 2-1. POWER-I/O Connector Signal Descriptions (Continued) Connector Diagram 15 (COM) 5 (+24 V) NI Smart Camera Power Requirements Caution Use the NI Smart Camera only with a 24 VDC, UL listed, limited power source (LPS) supply.
Chapter 2 Power and I/O Sensor Power NPN (Sinking) Output Device Sensor Common Isolated Outputs Do not power the load connected to the isolated outputs with any external power Caution supply greater than 30 VDC. Voltages greater than 30 VDC may damage the NI Smart Camera.
NI-Serial software on LabVIEW Real-Time targets, such as the smart camera. To open this document, navigate to Start»All Programs» National Instruments»NI-Serial»NI-Serial Help. Communicating with the Console When the CONSOLE DIP switch is in the ON position, you can read device information from the NI Smart Camera during startup, such as the IP address and firmware version, through a serial port terminal program.
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–...
Page 24
Chapter 2 Power and I/O Figure 2-5 shows an example of connecting the quadrature encoder differential line drivers. Encoder Phase A Phase A– Phase B Phase B– Figure 2-6 shows the internal quadrature encoder/RS-422 input circuit. Phase A+ Phase A– Phase B+ Phase B–...
Page 26
Chapter 3 NI Smart Camera Image Sensor Figure 3-1 illustrates horizontal field of view and working distance. 1 Horizontal Imaging Width 2 Working Distance 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 Similarly, the field of view in the vertical direction is Based on the result of Equations 3-2 and/or 3-3, you can see that you might...
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.
Page 30
Chapter 3 NI Smart Camera Image Sensor image pixels to black. 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 reverses the assigned bit numbers of the particle region and the background region.
Chapter 4 Lighting Additional/replacement plugs for use with the lighting connector, part number Note 780260-01, are available from NI. Direct Drive Lighting Controller This section applies only to the following NI Smart Cameras: • • 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. Digitally Signed by a Third-Party Company—The information contained within the lighting file has been verified as correct and safe by the specified third-party company.
• • 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 • The voltage drop of a light can vary significantly with environmental conditions, Note such as ambient temperature, current supplied, and strobe time. Refer to Appendix A, Specifications, for complete specifications for the Direct Drive lighting controller. Connecting a Light to the Direct Drive Lighting Controller This section applies only to the following NI Smart Cameras: •...
Chapter 4 Lighting cycle that do not violate the limits of the external controller and/or light(s). Refer to the Maximum Frame Rate Enable the 5 V and 24 V lighting outputs as follows: • • • Connecting an External Lighting Controller to the NI Smart Camera Figure 4-3 illustrates how to connect an external lighting controller to the 5 V TTL output on the NI Smart Camera.
Chapter 5 Image Acquisition can be used to calculate the maximum exposure. Assuming the object is moving horizontally across the field of view, use Equation 5-1 to calculate the maximum exposure time. where 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 43
Chapter 5 Image Acquisition Figure 5-1 illustrates the relationship between an external trigger, a lighting strobe, and the exposure time. 1 User-Configurable Trigger Delay 2 Lighting Turn-On Time The trigger shown in Figure 5-1 represents an external trigger, configured to use the rising edge as the active edge. The time between the active edge of the trigger and the assertion of the lighting strobe is a user-configurable trigger delay.
Chapter 5 Image Acquisition end of the exposure pulse. The end of an exposure starts the image readout from the sensor. The maximum trigger rate is determined by the maximum frame rate for your configuration. Refer to the Maximum Frame Rate section for information about the factors that affect the maximum frame rate.
Chapter 5 Image Acquisition Determining the Exposure Time The minimum frame period depends on exposure time, lighting mode, and trigger delay. A longer exposure time results in a longer frame period, and a slower maximum frame rate. Determining the Lighting Mode If you are not strobing a light using the Direct Drive or the external strobe outputs of the smart camera, the smart camera can expose one image while it is reading out the previous image, allowing for the highest possible frame...
Page 49
Chapter 5 Image Acquisition Refer to Equations 5-5 and 5-6 to calculate the minimum frame period for triggered acquisitions with and without strobing. min frame period min frame period where Tables 5-1 and 5-2 list the values for the trigger synchronization variability and the lighting turn-on time, respectively.
Chapter 6 LEDs and DIP Switches Device Initialization While the NI Smart Camera initializes, the POWER LED lights solid green and the STATUS, IMG ACQ, PASS, and FAIL LEDs exhibit a scrolling pattern. When the smart camera finishes initializing, the STATUS LED lights solid green.
Page 52
After the second exception, the smart camera remains in the exception state, alerting you to resolve the problem. 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 IMG ACQ LED The IMG ACQ LED briefly lights green when an image is captured and ready for analysis. Fast frame rates can give this LED the appearance of being continuously lit. If the IMG ACQ LED and the FAIL LED both flash red, it indicates that the NI Smart Camera has shut down because the maximum internal temperature was exceeded.
Chapter 6 LEDs and DIP Switches NO APP Switch Move the NO APP switch to the ON position to prevent a startup application from running when the NI Smart Camera powers on. If you want to permanently disable the application from running when the smart camera powers on, you can disable the startup application in software.
Chapter 7 Ethernet Ports A CAT 5e or CAT 6 1000Base-T Ethernet cable is required to achieve maximum Note 1,000 Mbps (Gigabit) Ethernet performance. CAT 5e and CAT 6 Ethernet cables adhere to higher electrical standards required for Gigabit Ethernet communication. CAT 5 cables are not guaranteed to meet necessary electrical requirements.
Chapter 7 Ethernet Ports Firewall Considerations If you are having difficulty detecting the system and setting up the NI Smart Camera on your network, you must configure the firewall to open the TCP/UDP ports used by the smart camera and the host machine. The smart camera uses the ports listed in Table 7-2.
Chapter 8 Thermal Considerations and Mounting Operating the smart camera above the specified ambient temperature or above the specified case temperature will degrade image quality and can cause permanent damage to the device. The smart camera also has a internal temperature sensor that provides an internal temperature measurement.
Page 63
Chapter 8 Thermal Considerations and Mounting NI 17xx Smart Camera User Manual 117.66 mm (4.632 in.) 44.14 mm (1.738 in.) Figure 8-4. Side View of the NI Smart Camera with Dimensions 33.12 mm (1.304 in.) 21.41 mm (0.843 in.) 24.78 mm (0.975 in.) 25.45 mm (1.002 in.)
Page 67
Appendix A Specifications Maximum frame rate Optical format...1/2 in. Sensor readout ...Progressive scan Bits per pixel...8 bits; 256 gray levels Minimum exposure time...76.68 μs Exposure time increment ...71.6 μs Spectral characteristics ...Refer to Figure A-2 Gamma...1.0 fixed Refer to the Maximum Frame Rate maximum frame rate for your application.
Appendix A Specifications Safety The NI Smart Camera meets the requirements of the following standards for safety and electrical equipment for measurement, control, and laboratory use: • • Note For UL and other safety certifications, refer to the product label or visit , search by model number or product line, and click the appropriate link certification in the Certification column.
Waste Electrical and Electronic Equipment (WEEE) At the end of their life cycle, all products must be sent to a WEEE recycling EU Customers center. For more information about WEEE recycling centers and National Instruments WEEE initiatives, visit National Instruments...
Appendix B Troubleshooting • The NI Smart Camera Restarts Unexpectedly Possible causes and solutions: • • • NI 17xx Smart Camera User Manual The cable you are using may be inappropriate for the speed of your network, causing network communication dropout. While 1,000 Mbps communication over short cables lengths can be achieved with the CAT5 cable commonly used for 10 and 100 Mbps, CAT5e and CAT6 cables are more reliable and recommended for 1,000 Mbps links.
Appendix B Troubleshooting You must remove power, bring the temperature within specifications, and reapply power to the smart camera to recover from this condition. Refer to smart camera. Refer to Appendix A, Specifications, for complete temperature specifications. Lighting Problems The Light Does Not Illuminate When Using the Direct Drive Controller In the event that your light does not illuminate, verify the following: •...
Appendix B Troubleshooting • Vision Builder AI Triggering Problems No Trigger is Received If you are not receiving a trigger, verify the following: • • • • NI 17xx Smart Camera User Manual Make sure that you have enabled the corresponding external lighting strobe in MAX or Vision Builder AI.
Page 82
Appendix D Technical Support and Professional Services • If you searched 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 office Web sites, which provide up-to-date contact information, support phone numbers, email addresses, and current events.
Page 84
Glossary exposure time The amount of time that light is allowed to strike the imaging sensor to produce an image. falling edge The digital signal transition from the high state to the low state. field of view The area of inspection that the camera can acquire. Frames per second.
Page 85
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. pulse train A signal consisting of a series of continuous pulses. quadrature encoder...
Page 86
Glossary Transmission Control Protocol. A set of standard protocols for communicating across a single network or interconnected set of networks. TCP is for high-reliability transmissions. trigger Any event that causes or starts some form of data capture. Volts direct current. VGA sensor Video Graphics Array sensor.
Page 88
4-1 connector, 4-1 controller, 4-2 files, 4-4 turn-on time, 5-5 LUT (lookup table) See hardware binarization National Instruments support and services, D-1 NI 17xx acquiring images, 5-2 assigning an IP address, 7-3 binning, 3-4 communicating with the console, 2-6...
Need help?
Do you have a question about the NI Vision NI 17xx and is the answer not in the manual?
Questions and answers