Home
NI 177x Smart Camera User Manual
Contents
1. 1 Image Sensor 5 O Connector 2 C Mount 6 100 1G Connector 3 Lens Cover Mount 7 VGA USB Connector 4 LED Indicators Figure 1 1 NI 177x Smart Camera National Instruments Corporation 1 1 NI 177x Smart Camera User Manual Chapter 1 Hardware Overview and Installation Hardware Overview NI 177x Smart Cameras incorporate an Intel Atom Z530 1 60 GHz processor image sensor and digital I O M12 connectors in a compact rugged IP67 rated housing Refer to the 7 0 Connector section of Chapter 3 Connectors for more information about the digital I O capabilities of the device NI 177x Smart Cameras are available with the following image sensor configurations Table 1 1 NI 177x Smart Camera Models Color Model Resolution Support NI 1772 640 x 480 pixels VGA No NI 1774 1 280 x 960 pixels SXGA No NI 1776 1 600 x 1 200 pixels UXGA No NI 1778 2 448 x 2 050 pixels 5 MP No NI 1772C 640 x 480 pixels VGA Yes NI 1774C 1 280 x 960 pixels SXGA Yes NI 1776C 1 600 x 1 200 pixels UXGA Yes For more information about the image sensors refer to Chapter 5 Image Sensor For complete device specifications refer to Appendix A Specifications NI 177x Smart Cameras use a standard C mount lens and include 4 opto coupled inputs 4 open collector outputs an optically isolated trigger input and a constant curren
2. 1 179 in 29 95 mm dod 0 157 in 4mm 0 83 in 0 83in 21mm 21 mm Figure 8 3 Bottom View of the NI 177x Smart Camera with Dimensions NI 177x Smart Camera User Manual 6 4 ni com Chapter 8 Mounting Information 4 331 in 110 mm 3 99 in 101 35 mm REF Ns m A 5 gu ze oT O2 1 zZ i t CN p ES i IL i 1 96 in i 49 78 mm 1 National Instruments Corporation Figure 8 4 Side View of the NI 177x Smart Camera with Dimensions 8 5 NI 177x Smart Camera User Manual Specifications The following specifications apply to these devices NI 1772 1772C Smart Camera NI 1774 1774C Smart Camera e NI 1776 1776C Smart Camera e NI 1778 Smart Camera These specifications are typical at 25 C unless otherwise stated Power Requirements A Caution Use the NI 177x Smart Camera only with a 12 W 24 VDC 10 UL listed limited power source LPS supply The power supply should bear the UL listed mark LPS The power supply must meet any safety and compliance requirements for the country of use Typical power consumption 12 W 24 VDC 1
3. NI 177x Smart Camera User Manual Figure A 2 1772C VGA Sensor Spectral Response Curves A 4 ni com Appendix A Specifications SXGA Sensor Spectral Characteristics NI 1774 monochrome Refer to Figure A 3 1 0 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 Relative Response 0 400 500 600 700 800 900 1000 Wavelength nm Figure A 3 1774 SXGA Sensor Spectral Response Curves NI 1774C color Refer to Figure A 4 Blue Green Red 1 0 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 Relative Response 0 400 500 600 700 Wavelength nm Figure A 4 1774C SXGA Sensor Spectral Response Curves National Instruments Corporation A 5 NI 177x Smart Camera User Manual Appendix A Specifications UXGA Sensor Spectral Characteristics NI 1776 monochrome Refer to Figure A 5 Relative Response 1 0 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 0 ee ee ee S 400 500 600 700 800 900 1000 Wavelength nm NI 1776C color Figure A 5 1776 UXGA Sensor Spectral Response Curves I M Refer to Figure A 6 Relative Response Blue Green Red 400 500 600 700 Wavelength nm NI 177x Smart Camera User Manual Figure A 6 1776C UXGA Sensor Spectral Response Curves A 6 ni com Appendix A Specifications 5 MP Sensor Spectral Ch
4. After the second exception the NI 177x Smart Camera remains in the exception state alerting you to resolve the problem Reinstall software on the NI 177x Smart Camera or contact National Instruments for assistance User Indicator The User indicator is a user configurable LED For example you can use the indicator to indicate the PASS FAIL status of an inspection Configure the LED through the UserLEDState attribute in LabVIEW or the Read Write I O step in Vision Builder AI National Instruments Corporation 7 3 NI 177x Smart Camera User Manual Chapter 7 LED Indicators 100 1G Indicator The 100 1G indicator is a multicolor LED that indicates the status of any network connection The following table describes the behavior of the 100 1G indicator Table 7 4 100 1G LED Indicator Behavior LED Color Description Off No link or a 10 Mbps link is negotiated Yellow A 100 Mbps link is negotiated Green A 1 000 Mbps link is negotiated A blinking LED indicates network activity NI 177x Smart Camera User Manual 7 4 ni com Mounting Information This chapter provides information about mounting the NI 177x Smart Camera or attaching a light mount A Caution If you choose not to mount the NI 177x Smart Camera to a thermally conductive structure do not position the device with the heat sinks resting on any surface Doing so may violate the thermal requirements of the
5. Configure the IP Address 2 eet ee en Reged etg entes 2 5 Install Software on the NI Smart Camera 2 6 Acquire an Images e eer Lees 2 6 National Instruments Corporation V NI 177x Smart Camera User Manual Contents Part Il NI 177x Smart Camera Technical Reference Chapter 3 Connectors W O Connector cece cevscl evens Wiss ices eueesedeseneasshdestteesstcesey A E NI Smart Camera Power Requirements essere e eene 100 1G Gonnector eee EISE their eee e dee o Te ede e e RaT VGA USB Connectot iuo teer ectetur T eec pr ite e etes Chapter 4 Connecting Lighting and External Devices Connecting Lighting Devices Connecting a Light Controller ss Open Collector Outputs ins miennes Matane Connecting to NPN Device es iere ep eor PE itg Connecting to a PNP Device Protecting Against Inductive Loads eese Connecting to a Triggering Device nenne eene nennen Connecting to Serial Devices e o thi te i e ei re t etes Chapter 5 Image Sensor Field of Views iles nm GRE ER WEGEN TIR TTE EN ER es UR Auto White Level NI 177xC Smart Cameras Black Level NI 177xC Smart Cameras Look Up Table cs saat erepti te e pr mta tede ede ri EIDEM M Chapter 6 Image Acquisition BXpOSUfe iu eredi eode ope a e era ei Acquirng Images5 5 2 DN RENDIR Ut X dentaires Internal Taming 5 rar tr E I
6. National Instruments recommends using a shielded twisted pair cable for maximum signal integrity Direct Connection To connect the NI 177x Smart Camera directly to the development computer complete the following steps 1 Connect the 8 pin female M12 connector to the 100 1G connector on the NI 177x Smart Camera 2 Connect the Ethernet connector to an Ethernet port on the development computer The NI 177x Smart Camera is now connected directly to the development computer Network Connection To connect the NI 177x Smart Camera to the development computer through a network complete the following steps 1 Verify that the development computer is connected to the network and powered on 2 Connect the 8 pin female M12 connector to the 100 1G connector on the NI 177x Smart Camera 3 Connect the Ethernet connector to an Ethernet port The NI 177x Smart Camera is now connected through a network and is available for additional configuration with the development computer National Instruments Corporation 1 5 NI 177x Smart Camera User Manual Chapter 1 Hardware Overview and Installation Subnet Considerations To use the NI 177x Smart Camera on a subnet other than the one on which the development computer resides first connect and configure the NI 177x Smart Camera on the same subnet as the development computer Next physically move the NI 177x Smart Camera Contact your network administrator for assistance in determini
7. RELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS IN ANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANT INJURY TO A HUMAN 2 IN ANY APPLICATION INCLUDING THE ABOVE RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE IMPAIRED BY ADVERSE FACTORS INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY COMPUTER HARDWARE MALFUNCTIONS COMPUTER OPERATING SYSTEM SOFTWARE FITNESS FITNESS OF COMPILERS AND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION INSTALLATION ERRORS SOFTWARE AND HARDWARE COMPATIBILITY PROBLEMS MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES TRANSIENT FAILURES OF ELECTRONIC SYSTEMS HARDWARE AND OR SOFTWARE UNANTICIPATED USES OR MISUSES OR ERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER ADVERSE FACTORS SUCH AS THESE ARE HEREAFTER COLLECTIVELY TERMED SYSTEM FAILURES ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OF HARM TO PROPERTY OR PERSONS INCLUDING THE RISK OF BODILY INJURY AND DEATH SHOULD NOT BE RELIANT SOLELY UPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE TO AVOID DAMAGE INJURY OR DEATH THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES INCLUDING BUT NOT LIMITED TO BACK UP OR SHUT DOWN MECHANISMS BECAUSE EACH END USER SYSTEM IS CUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS TES
8. T technical support D 1 training and certification NI resources D 1 troubleshooting NI resources D 1 U USB connector 3 5 User indicator 7 3 V VGA USB connector 3 5 M12 to 15 pin DSUB signal connections 3 6 M12 to USB signal connections 3 6 pin numbers 3 5 video connector 3 5 W Web resources D 1 NI 177x Smart Camera User Manual
9. only BlackLevelRaw U32 0 to 255 Specifies the camera black level Coding Enum Raw Mono BGRAPacked Controls the pixel coding in the image Raw outputs the data in the native format of the sensor Color pixel formats are only available for NI 177xC Smart Cameras CounterEventSource Enum Input 0 Input 1 Input 2 Input 3 Indicates the source for the selected counter Each counter maps to the input line with the same index CounterEventActivation Enum Rising Edge Falling Edge Gets or sets the activation for the selected counter CounterReset Command Resets the selected counter National Instruments Corporation B 1 NI 177x Smart Camera User Manual Appendix B Camera Attributes Table B 1 Camera Attributes Continued Attribute Name Data Type Range Unit Description CounterSelector Enum Counter 0 Specifies the counter to configure Counter 1 Counter 2 Counter 3 CounterValue U32 0 to 4294967295 Counts Indicates the value of the selected counter DecimationHorizontal U32 1 to 16 Gets or sets the horizontal decimation of the image Valid values depend on the sensor Decimation Vertical U32 1 to 16 Gets or sets the vertical decimation of the image Valid values depend on the sensor ExposureActivePolarity Enum Active High Gets or sets the polarity of the Active Low Expo
10. 3 sinking devices 4 4 sourcing devices 4 3 connectors 3 1 100 1G 3 4 I O 3 2 National Instruments Corporation l 1 overview 3 1 power 3 2 3 4 VBA USB 3 5 conventions used in the manual ix D Declaration of Conformity NI resources D 2 DHCP server 1 6 diagnostic tools NI resources D 1 documentation conventions used in manual ix NI resources D 1 related documentation x drivers NI resources D 1 E Ethernet connector 3 4 examples NI resources D 1 exposure 6 1 6 5 external trigger 6 3 F firewall configuration 1 7 fixed frame rate mode 6 2 frame rate 6 5 maximum 6 5 free run mode 6 2 G gain 5 3 H help technical support D 1 NI 177x Smart Camera User Manual Index T O connector 3 2 pin numbers 3 2 signal descriptions 3 3 image sensor 5 1 field of view 5 1 gain 5 3 maintenance 5 6 spectral response 5 3 image acquisition 6 1 instrument drivers NI resources D 1 IP address assigning 1 6 configuring for LabVIEW 2 5 configuring with Vision Builder AI 2 2 using a DHCP server 1 6 K KnowledgeBase D 1 L LabVIEW acquiring an image 2 6 configuring the IP address 2 5 documents xi installing software on the smart camera 2 6 smart camera configuration 2 4 LED indicators 7 1 100 1G 7 4 blink codes 7 3 initialization behavior 7 2 overview 7 1 Power 7 2 Status 7 2 User 7 3 look up table 5 5 NI 177x Smart Camera User Ma
11. All Programs National Instruments LabVIEW LabVIEW Manuals 2 LabVIEW Real Time Module Refer to the LabVIEW Real Time Module Release and Upgrade Notes for installation instructions and information about getting started with the LabVIEW Real Time Module Documentation for the LabVIEW Real Time Module is available by selecting Start All Programs National Instruments Lab VIEW LabVIEW Manuals 3 NI IMAQdx Refer to the M Vision Acquisition Software Release Notes on the NI Vision Acquisition Software installation media for system requirements and installation instructions for the NI IMAQdx driver NI 177x Smart Camera User Manual 2 4 ni com Chapter 2 Software Overview Documentation for the NI IMAQdx driver software is available by selecting Start All Programs National Instruments Vision Documentation NI IMAQdx NI Vision Development Module Refer to the NI Vision Development Module Readme on the NI Vision Development Module installation media for system requirements and installation instructions Documentation for the NI Vision Development Module is available by selecting Start All Programs National Instruments Vision Documentation NI Vision Configure the IP Address Complete the following steps to configure IP address settings for the NI 177x Smart Camera in MAX oc Launch MAX by double clicking the Measurement amp Automation icon on the desktop or selecting Start All Programs National Instru
12. Camera on a conveyor belt a trigger delay is required to ensure that the image is not exposed until the part to be inspected passes in front of the NI 177x Smart Camera In this case specifying the trigger delay in terms of edge counts allows the NI 177x Smart Camera to expose the image when the part is in position regardless of changes in conveyor belt speed For other applications a delay specified in milliseconds is sufficient If you are strobing a light there is a delay of 500 us while the lighting controller turns on the light After the lighting turn on time the exposure begins The width of the exposure pulse determines how long the sensor is exposed The exposure time can be adjusted by setting the Exposure Time control in Vision Builder AI setting the ExposureTime attribute in LabVIEW or by setting the Exposure Time control in MAX The lighting strobe deasserts at the 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 NI 177x Smart Camera User Manual 6 4 ni com Chapter 6 Image Acquisition Maximum Frame Rate Frame rate is the inverse of the frame period The frame period is the time from the start of exposure on one frame to the start of exposure on the next frame as shown in Figure
13. Commission A standard setting body Institute of Electrical and Electronics Engineers A standard setting body Input output The transfer of data to from a computer system involving communications channels operator interface devices or data acquisition and control interfaces Light emitting diode Maps pixel values in a source image to other values in a transformed image Measurement amp Automation Explorer A controlled centralized configuration environment that allows you to configure all of your NI devices 1 million pixels NI 177x Smart Cameras with a 5 MP sensor feature a resolution of 2 448 x 2 050 Megapixel NI 177x Smart Camera User Manual G 2 ni com NI IMAQdx 0 open collector opto coupled optically coupled P pixel pitch PLC pulse train R reference card rising edge RS 232 National Instruments Corporation G 3 Glossary Driver software for National Instruments image acquisition devices and NI 177x Smart Cameras NI IMAQdx is installed as part of NI Vision Acquisition Software An output mechanism that grounds or does not ground a connection to a powered device An open collector output cannot supply voltage Optically coupled An input mechanism that provides current protection by using a light emitter to transmit signals to a light receiver which then enables a signal current The distance between the centers of adjacent pixels in either the horizontal or vertical
14. NI 177x Smart Camera output directly to the TRIG_IN input you must add a pull up resistor to 24 V as illustrated in Figure 4 6 National Instruments recommends a 3 K ohm 1 4 W resistor Wire the TRIG IN input to GND 24 V max External pull up resistor TRIG_IN 6 TRIG IN 4 1 0 connector NI 177x Smart Camera Figure 4 6 Connecting to an External Triggering Device NI 177x Smart Camera User Manual 4 6 ni com Chapter 4 Connecting Lighting and External Devices The Power amp I O Accessory for NI 177x Smart Cameras includes a 24 V output so that no additional wiring is required Connecting to Serial Devices Use the RxD_RS232 and TxD_RS232 signals on the I O connector for serial communication Connect the RxD_RS232 signal on the NI 177x Smart Camera to the Tx signal on your serial device Connect the TxD_RS232 signal on the NI 177x Smart Camera to the Rx signal on your serial device Connect COM on the NI 177x Smart Camera to the ground of your serial device You must install the NI Serial software on the NI 177x Smart Camera it is not installed by default Refer to the Serial Hardware and Software Help for information about installing the NI Serial software on LabVIEW Real Time targets such as the NI 177x Smart Camera To open this document navigate to Start All Programs National Instruments NI Serial NI Serial Help National Instruments Corporation 4 7 NI 177
15. Using the NI Smart Camera with LabVIEW Contains basic installation and configuration instructions for using the NI Smart Camera with LabVIEW e NI177xSeries Smart Camera Using the NI Smart Camera with Vision Builder AI Contains basic installation and configuration instructions for using the NI Smart Camera with Vision Builder AI e Power and I O Accessory for NI 177x Smart Cameras User Guide Contains installation and operation instructions and feature descriptions for the power and I O accessory 781993 01 e NI Developer Zone Contains example programs tutorials technical presentations the Instrument Driver Network a measurement glossary an online magazine a product advisor and a community area where you can share ideas questions and source code with developers around the world The NI Developer Zone is located on the National Instruments Web site at ni com zone NI Vision Builder for Automated Inspection Documents e NI Vision Builder for Automated Inspection Tutorial Describes Vision Builder for Automated Inspection and provides step by step instructions for solving common visual inspection tasks such as inspection gauging part presence guidance and counting NI Vision Builder for Automated Inspection Configuration Help Contains information about using the Vision Builder for Automated Inspection Configuration Interface to create a machine vision application e NI Vision Builder for Automated Inspecti
16. adjacent pixels in either the horizontal or vertical direction Active Pixels is the number of pixels in either the horizontal or vertical direction Working Distance is the distance from the front element external glass of the lens to the object under inspection and Focal Length measures how strongly a lens converges focuses or diverges diffuses light Figure 5 1 illustrates horizontal field of view and working distance 1 Horizontal Imaging Width 3 Horizontal Field of View 2 Working Distance Figure 5 1 Parameters of an Imaging System Because NI 177x Smart Camera sensors have square pixels pixel pitch corresponds to the pixel size for the appropriate sensor NI 177x Smart Camera User Manual 5 2 ni com Chapter 5 Image Sensor 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 NI 177x Smart Camera using the VGA sensor is _ 0 0074 mm x 640 x 100 mm FO Vrorizonta 8 mm 59 2 mm 5 2 Similarly the field of view in the vertical direction is FOV uut 0 0074 mm x 480 x 100 mm _ 44 4 mm 5 3 8 mm Based on the result of Equations 5 2 or 5 3 you can see that you might need to adjust the various parameters in the FOV equation until you achieve the right combination of components that match your inspection needs This might include increasing your working distance choosing a
17. both static IP addresses and IP addresses managed by a DHCP server the DHCP server must be configured to not use reserved static IP addresses If the DHCP server is not configured this way the DHCP server can assign a reserved IP address to another device causing address conflicts on the network which results in some devices being unreachable NI 177x Smart Camera User Manual 1 6 ni com Chapter 1 Hardware Overview and Installation When a NI 177x Smart Camera configured for DHCP starts it must be able to connect to the DHCP server If the NI 177x Smart Camera cannot connect to the DHCP server and is not connected to the same subnet as the development computer it does not appear in MAX or Vision Builder AI 3 Note A NI 177x Smart Camera connected directly to the development computer or to the same subnet as the development computer is always configurable from MAX or Vision Builder AI regardless of the IP address settings Firewall Configuration If you are having difficulty detecting the NI 177x Smart Camera on your network you must configure the firewall to open the TCP UDP ports used by the NI 177x Smart Camera and the host machine The required ports are listed in Table 1 2 Table 1 2 TCP UDP Ports Used by the NI 177x Smart Camera Port Type Details 3580 TCP UDP Reserved as nati svrloc NAT ServiceLocator Used by Measurement amp Automation Explorer MAX to locate remote targets 7749 TCP Used for remote i
18. controller Use a power supply with tolerances that meet the requirements of the controller National Instruments Corporation 4 1 NI 177x Smart Camera User Manual Chapter 4 Connecting Lighting and External Devices To connect a lighting controller connect the OUT signal to the digital input signal of the lighting controller The OUT1 signal is an unmodulated signal that can turn the lighting controller on or off Connect the ground of the NI 177x Smart Camera and the lighting controller to a common ground Refer to Figure 4 1 and for wiring examples ER Note Each open collector output can sink up to 100 mA 24 V max External ull up resistor peces DEDE P P i 1 Power pee Sn Se ee ry i gt supply Light GND NI 177x Smart Camera 1 0 connector Figure 4 1 Connecting to an External Light Controller NI 177x Smart Camera User Manual 4 2 ni com Chapter 4 Connecting Lighting and External Devices Open Collector Outputs You can wire an open collector output to both sourcing and sinking output devices Refer to Figures 4 2 and 4 3 for wiring examples by output type Refer to Appendix A Specifications for current requirements Connecting to a NPN Device Connect the ground of the NI 177x Smart Camera and the NPN input device to a common ground 3 Note Each open collector output can sink up to 100 mA 24 V max OUTO j i input GND d b GND NI 177x Smart Camera NPN compatible O connector
19. electromagnetic compatibility EMC and product safety You can obtain the DoC for your product by visiting ni com certification 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 NI 177x Smart Camera User Manual D 2 ni com Glossary Symbol Prefix Value p pico 10 12 n nano 10 u micro 10 6 m milli 10 3 k kilo 103 M mega 106 G giga 10 A active pixels The number of light sensitive pixels on a CCD sensor B black level The value that corresponds to true black in the image CCD Charge Coupled Device A chip that converts light into electronic signals E edge count A specified number of assertions rising falling or both in a signal exposure time The amount of time that light is allowed to strike the imaging sensor to produce an image National Instruments Corporation G 1 NI 177x Smart Camera User Manual Glossary F falling edge field of view fps G gain TEC TEEE IO L LED lookup table MAX megapixel MP The digital signal transition from the high state to the low state The area of inspection that the camera can acquire Frames per second The amount of increase in signal power voltage or current expressed as the ratio of output to input International Electrotechnical
20. lens with a shorter focal length or changing to a high resolution camera image Sensor Spectral Response The spectral response curve describes the relative sensitivity of the sensor to different wavelengths of light If you are imaging a dim scene this information can be useful when selecting a light source to use in your application as the camera is most sensitive at its peak responsiveness It also helps determine if your application might require filters to remove undesired wavelengths of light from the scene Refer to Appendix A Specifications to find the normalized spectral response curves for each image sensor Gain Gain is a multiplier applied to the analog signal prior to digitization Increasing the gain increases the amplitude of the signal Gain allows you to trade off between making smaller signals more visible at the cost of increased noise and no longer being able to differentiate between larger signals For most applications the NI 177x Smart Camera default gain setting optimizes the balance between small signals and large signals National Instruments Corporation 5 3 NI 177x Smart Camera User Manual Chapter 5 Image Sensor Figure 5 2 shows what happens when gain is applied to a signal D a a L p Pixel Value AA TTA gt ol D Qo oa nf gt gt gt Pixel Value Pixel Value a Low Gain b Medium Gain c High Gain Figure 5 2 Effect of Gai
21. 0 Processing and Memory CPU aan eter etes Intel Atom Z530 1 60 GHz processor DDR RAM steam 512 MB SOTA ZE m 2 GB solid state Opto Coupled Inputs Channels Eee 4 Input type oet Opto coupled Input current epe een 1 6 mA On voltage level esses Greater than 15 V Off voltage level Less than 0 8 V National Instruments Corporation A 1 NI 177x Smart Camera User Manual Appendix A Specifications On current minimum Off to on responsiveness On to off responsiveness Open Collector Outputs Channels ede een Output type etre ect Operating voltage range Sinking current range eee Maximum current leakage On voltage drop sess Maximum inrush current Off to on responsiveness On to off responsiveness Controlled Current Output Operating voltage sess Output voltage esee Output current range Network Connector etienne tas Network interface sseeeeeeeee NI 177x Smart Camera User Manual A 2 0 5 mA Open collector 24 V max 0 to 100 mA 2 4to21 V 0 to 500 mA 8 pin female M12 Ethernet 10 100 1 000 Mbps Full half ni com Serial Image Sensor Auto MDI MDI X correction DHCP Support Baud rates cette htnc Default baud r
22. 0 the selected pulse generator Input 1 Input 2 Input 3 PulseGeneratorTriggerSoftware Command Sends a software trigger to the pulse generator ReverseX Boolean Flips the image horizontally along the Y axis NI 177x Smart Camera User Manual ni com Appendix B Camera Attributes Table B 1 Camera Attributes Continued Attribute Name Data Type Range Unit Description Reverse Y Boolean Flips the image vertically along the horizontal axis TestImageSelector Enum Off Grey Specifies the type of test image Horizontal Ramp that is generated by the camera Grey Horizontal Ramp Moving Frame Counter TriggerActivation Enum Rising Edge Specifies the activation mode of Falling Edge the selected trigger TriggerDelay DBL 0 to 4294967280 us Specifies the delay between trigger reception and activation TriggerDelayEdgeCounts U32 0 to 268435455 Edge Specifies the delay between Counts trigger reception and activation TriggerDelaySource Enum Internal Clock Specifies the counter source for Input 0 Edges the trigger delay Input 1 Edges Input 2 Edges Input 3Edges TriggerDelayEdgeActivation Enum Rising Edge Specifies the activation for the Falling Edge trigger delay when configured for a delay TriggerMode Enum Off On Enables or disables the specified trigger TriggerOverlap Enum Readout Off Specifies the t
23. 6 2 Trigger Exposure Image Readout 1 Frame Period Figure 6 2 Frame Period The frame period is affected by the following factors Exposure time as described in the Exposure section of this chapter e Trigger delay as described in the External Trigger section of this chapter Determining the Maximum Frame Rate You can determine the maximum frame rate for your configuration in software by reading the Max Frame Rate indicator in Vision Builder AI reading the AcquisitionFrameRateLimit attribute in LabVIEW or reading the Max Frame Rate indicator in MAX When external triggering is enabled do not trigger faster than the maximum frame rate If a trigger occurs faster than the maximum frame rate the camera exhibits the following behavior If an incoming trigger is received during exposure the incoming trigger is ignored If an incoming trigger is received during readout the trigger is delayed until readout concludes National Instruments Corporation 6 5 NI 177x Smart Camera User Manual Chapter 6 Image Acquisition Use Equation 6 2 to understand how software determines the maximum frame rate max frame rate TM cm 6 2 min frame period where min frame period is the minimum amount of time for the strobe and trigger mode as described in the Calculating the Minimum Frame Period section Determining the Exposure Time The minimum fr
24. 782023 01 f 2 0 2 3 in 3 MP Computar M1620 MPV Ultra low distortion 25 mm lens 782024 01 f 1 8 2 3 in 3 MP Computar M2518 MPV Ultra low distortion 35 mm lens 782025 01 f 2 0 2 3 in 3 MP Computar M3520 MPV Red ring light 782026 01 Advanced Illuminations RL 127 White ring light 782027 01 Advanced Illuminations RL 127 Red ring light 782028 01 Advanced Illuminations RL 4260 White ring light 782029 01 Advanced Illuminations RL 4260 Light bracket for NI 177x Smart Cameras 782031 01 For part numbers 782026 01 782027 01 782028 01 and 782029 01 Replacement Parts National Instruments offers the following replacement parts Table C 4 Replacement Parts Description Part Number Notes IP67 M12 connector caps and plugs 782021 01 Includes 5 connector caps and 5 plugs NI 177x Smart Camera User Manual C 2 ni com Technical Support and Professional Services Visit the following sections of the award winning National Instruments Web site at ni com for technical support and professional services National Instruments Corporation Support Technical support at ni com support includes the following resources Self Help Technical Resources For answers and solutions visit ni com support for software drivers and updates a searchable KnowledgeBase product manuals step by step troubleshooting wizards thousands of example programs tutorials applicati
25. E 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 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 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
26. EE 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 weee AF ERIT mis Risa SED ChE ROHS REA National Instruments 4AF E 445 RME Sg 8 dS ROHS KF National Instruments Fl RoHS GHA SK ni com environment rohs china For information about China RoHS compliance go to ni com environment rohs_china National Instruments Corporation A 9 NI 177x Smart Camera User Manual Camera Attributes The following table provides a partial list of the available NI 177x Smart Camera attributes for use in LabVIEW applications Table B 1 Camera Attributes Attribute Name Data Type Range Unit Description AcquisitionFrameRate DBL Specifies the maximum frame rate in fixed frame mode Range depends on the sensor AcquisitionFrameRateLimit DBL Indicates the maximum frame rate in the current configuration Range depends on the sensor AutoWhiteBalance Command Initiates an auto white balance NI 177xC Smart Cameras only BalanceRatio DBL 0 000 to 3 999 Specifies the balance ratio of the selected component NI 177xC Smart Cameras only BalanceRatioSelector Enum Red Green Blue Specifies the balance ration to control NI 177xC Smart Cameras
27. NI Vision NI 177x Smart Camera User Manual September 2011 7 NATIONAL 373491A 01 NANSTRUMENTS Worldwide Technical Support and Product Information ni com Worldwide Offices Visit 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 National Instruments Corporate Headquarters 11500 North Mopac Expressway Austin Texas 78759 3504 USA Tel 512 683 0100 For further support information refer to the Technical Support and Professional Services appendix To comment on National Instruments documentation refer to the National Instruments Web site at ni com info and enter the Info Code feedback 2011 National Instruments Corporation All rights reserved Important Information Warranty NI 177x Smart Cameras are 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 opti
28. TING PLATFORMS AND BECAUSE A USER OR APPLICATION DESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOT EVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS THE USER OR APPLICATION DESIGNER IS ULTIMATELY RESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVER NATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION INCLUDING WITHOUT LIMITATION THE APPROPRIATE DESIGN PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION Compliance Electromagnetic Compatibility Information This product was tested and complies with the regulatory requirements and limits for electromagnetic compatibility EMC as stated in the product specifications These requirements and limits are designed to provide reasonable protection against harmful interference when the product is operated in its intended operational electromagnetic environment This product is intended for use in industrial locations There is no guarantee that harmful interference will not occur in a particular installation when the product is connected to a test object or if the product is used in residential areas To minimize the potential for the product to cause interference to radio and television reception or to experience unacceptable performance degradation install and use this product in strict accordance with the instructions in the product documentation Furthermore any changes or modifi
29. Use Vision Builder AI to add and configure additional inspection steps to create your application Refer to the Related Documentation section in the introduction to this manual for a list of documentation and other resources to help you set up and use the NI 177x Smart Camera in an application Configuring the NI Smart Camera with LabVIEW iaa LabVIEW is a graphical programming environment for developing flexible Ta and scalable applications The following add on modules are required for developing machine vision applications LabVIEW Real Time Module Programming library for developing distributed deterministic applications NI Vision Development Module Programming library for developing machine vision and scientific imaging applications e NI Vision Acquisition Software Includes Measurement amp Automation Explorer MAX the National Instruments configuration utility and NI IMAQdx driver software for acquiring images and controlling I O using the NI 177x Smart Camera The latest version of NI Vision Acquisition software is included with the NI 177x Smart Camera Install the software in the following order 1l LabVIEW Refer to the LabVIEW Release Notes for installation instructions for LabVIEW and system requirements for the LabVIEW software Refer to the LabVIEW Upgrade Notes for additional information about upgrading to the most recent version of LabVIEW Documentation for LabVIEW is available by selecting Start
30. across a single network or interconnected set of networks TCP is for high reliability transmissions Any event that causes or starts some form of data capture The time between the active edge of a trigger and the assertion of a lighting strobe Video Graphics Array sensor Image sensor that features a resolution of 1 600 x 1 200 pixels NI 177x Smart Camera User Manual G 4 ni com V VDC VGA sensor VI W white level working distance Glossary Volts direct current Video Graphics Array sensor Image sensor that features a resolution of 640 x 480 pixels Virtual Instrument A combination of hardware and or software elements typically used with a PC that has the functionality of a classic stand alone instrument The point at which values in the red green and blue color planes converge to produce white The distance from the front of the camera lens to the object under inspection National Instruments Corporation G 5 NI 177x Smart Camera User Manual Index Numerics 100 1G connector 3 4 M12 to Ethernet signal connections 3 5 pin numbers 3 4 100 1G indicator 7 4 A acquiring images 6 1 6 2 external trigger 6 3 fixed frame rate mode 6 2 free run mode 6 2 internal timing 6 2 assigning an IP address 1 6 auto white level 5 4 black level 5 5 C connecting external devices 4 1 I O 1 3 light controller 4 1 lighting devices 4 1 NPN devices 4 3 outputs 4 3 power 1
31. ame 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 Trigger Delay If the trigger delay is set longer than the untriggered minimum frame period the trigger delay value further limits the min frame period When the trigger delay is specified in milliseconds the software includes this in the calculation of the maximum frame rate indicator Calculating the Minimum Frame Period Refer to Equations 6 3 and 6 4 to calculate the minimum frame period for untriggered acquisitions with and without strobing min frame period yos ose No Trigger T L E 6 3 min frame period wir strobeNoTrigger T L E R 6 4 Refer to Equations 6 5 and 6 6 to calculate the minimum frame period for triggered acquisitions with and without strobing min frame period YoStrobeWithTrigger Max T L E Trigger Delay 6 5 min frame period witnstrobeWithTrigger MaX T L E R Trigger Delay 6 6 where Tis the trigger synchronization variability Lis the lighting turn on time E is the exposure time and R is the image readout duration NI 177x Smart Camera User Manual 6 6 ni com LED Indicators This chapter provides information about the location and functionality of the LED indicators on the NI 177x Smart Camera Understanding the LED Indicators The NI 177x Smart Camera includes four multicolor indicators The follo
32. aracteristics NI 1778 monochrome Refer to Figure A 7 1 0 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 Relative Response 400 500 600 700 800 900 1000 Wavelength nm Figure A 7 1778 5 Megapixel Sensor Spectral Response Curves Physical Characteristics Lens mount C mount Camera housing Painted aluminium Dimensions without lens cover 11 cm x 7 5 cm x 4 98 cm 4 33 in x 2 95 in x 1 96 in Environmental The NI Smart Camera is intended for indoor use only Operating ambient temperature 0 to 50 C Hunudity 1 eee 10 to 90 RH noncondensing IP r ting ate eret het 67 Pollution degree ssss 2 National Instruments Corporation A 7 NI 177x Smart Camera User Manual Appendix A Specifications Operating shock IEC 60068 2 27 50 g 3 ms half sine 18 shocks at 6 orientations 30 g 11 ms half sine 18 shocks at 6 orientations Operating vibration Random IEC 60068 2 34 10 Hz to 500 Hz 5 Grms Swept sine IEC 60068 2 6 10 Hz to 500 Hz 5g Approved at altitudes up to 2 000 m 3 Note For UL and other safety certifications refer to the product label or visit ni com certification search by model number or product line and click the appropriate link in the Certification column Electromagnetic Compatibility NI 177x S
33. ate Hardware flow control Appendix A Up to 115 2 Kbps 9 600 bps Specifications All NI 177x Smart Cameras use a progressive scan CCD sensor The following table describes sensor characteristics for each camera Table A 1 NI 177x Smart Camera Sensor Characteristics Maximum Optical Usable Minimum Camera Format Pixel Size FrameRate Exposure Model Sensor in Active Pixels um fps Time us NI 1772 Kodak 1 3 640 x 480 7 4 x 7 4 110 34 KAI 0340S VGA NI 1772C Kodak KAI 65 0340SCM NI 1774 Sony 1 280 x 960 3 75 x 3 75 22 5 58 ICX445AL SXGA NI 1774C Sony 17 ICX445AQ NI 1776 Sony 1 1 8 1 600 x 1 200 4 4 x 4 4 15 88 ICX274AL UXGA NI1776C Sony 10 ICX274AQ NI 1778 Sony 2 3 2 448 x2 050 3 45 x 3 45 15 58 ICX625AL 5 MP Sensor readout National Instruments Corporation A 3 Progressive scan NI 177x Smart Camera User Manual Appendix A Specifications VGA Sensor Spectral Characteristics NI 1772 monochrome Refer to Figure A 1 Relative Response 1 0 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 500 600 700 800 900 1000 Wavelength nm NI 1772C color Figure A 1 1772 VGA Sensor Spectral Response Curves Relative Response sees RR ve EHE ed Refer to Figure A 2 Blue Green Red 1 0 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 400 500 600 700 Wavelength nm
34. ation about a using a LUT transformation to improve images in LabVIEW To open this document navigate to Start All Programs National Instruments Vision Documentation NI Vision 3 Note Vision Builder AI does not support LUT editing for NI 177x Smart Cameras National Instruments Corporation 5 5 NI 177x Smart Camera User Manual Chapter 5 Image Sensor Maintenance Do not touch the CCD sensor by hand or with other objects The sensor can be damaged by electrostatic discharge ESD body oils and particulate matter Use a lens mount cover whenever a lens is not mounted on the camera to protect the sensor from dust and dirt Avoid drastic temperature changes to prevent dew condensation When necessary use the following procedure to clean the sensor at a workstation equipped with anti ESD facilities If dust sticks to the CCD first attempt to blow it off from the side of the sensor using ionized air If oils are present on the sensor clean the sensor with a cotton bud and ethyl alcohol Be careful not to scratch the glass Use only one pass over the glass per cotton bud to minimize the risk of recontamination and scratching NI 177x Smart Camera User Manual 5 6 ni com Image Acquisition This chapter contains information about acquiring images with the NI 177x Smart Camera and explains the relationships between triggering lighting and exposure Exposure The NI 177x Smart Camera provides control of the image
35. cations to the product not expressly approved by National Instruments could void your authority to operate it under your local regulatory rules Contents About This Manual CONVENTIONS eso EO AERE ERI UN Re vd ne RU teak e ve ix Related Documentation 2 ssh in red rid eter X Hardware Documents ederet terere ation X NI Vision Builder for Automated Inspection Documents X LabVIEW and NI Vision Development Module Documents xi NI Vision Acquisition Software Documents xi Part Getting Started with the NI 177x Smart Camera Chapter 1 Hardware Overview and Installation Hardware OVvervie W rt cr mr mentir toes ava ote ve ive aevo Ree Pr doen ss 1 2 Connect the Power Supply and I O essere ener 1 3 Connect to the Development Computer 1 5 Direct Connections oer nei pe SERERE UO e ma tens ania IRURE 1 5 Network Connection etd epe pce prine 1 5 Subnet Considerations etie trente eei den 1 6 IP Address Assignment eee 1 6 Firewall Configuration rte ee edere eee tret edid 1 7 Chapter 2 Software Overview Configuring the NI Smart Camera with Vision Builder AI sss 2 2 Configure the IP Address tee baee Re eret 2 2 Install Software on the NI Smart Camera 2 3 Acquire an Image with Vision Builder AI eee 2 3 Configuring the NI Smart Camera with LabVIEW sseeseeeee 2 4
36. ckbox Click the Browse button next to the Software Image to Install on the Target control Navigate to the Vision Builder AI software image you want to use and click OK Software images provided by National Instruments are installed to the lt vision Builder AI gt RT Images directory where Vision Builder AI is the location where Vision Builder AI is installed Click OK to apply the IP configuration settings and download software to the device Click OK to close the Remote Target Configuration Successful dialog box Acquire an Image with Vision Builder Al Complete the following steps to acquire an image using Vision Builder AI 1 2 5 7 National Instruments Corporation On the Vision Builder AI welcome screen select the NI 177x Smart Camera in the list of targets Click Acquire Image Smart Camera Example The image acquisition example opens in the Vision Builder AI Configuration Interface Click the Run Inspection Once button to acquire a single image In the State Configuration Window select the Acquire Image Smart Camera step Click the Edit Step button The property page for the step opens Use the controls on the Main Color Trigger Lighting or Advanced tabs to configure additional settings for your application Click OK to save the step configuration 2 3 NI 177x Smart Camera User Manual Chapter 2 Software Overview The NI 177x Smart Camera is now configured and acquiring images
37. device and cause the device to overheat Refer to Appendix A Specifications for temperature specifications Figures 8 1 through 8 4 provide the dimensional drawings necessary to create a custom mount for the NI 177x Smart Camera National Instruments Corporation 8 1 NI 177x Smart Camera User Manual Chapter 8 Mounting Information 4 2 953 in 75 mm 4X M4 x 0 7 10 138 3 5 mm T NATIONAL INSTRUMENTS NI 177x Smart Camera User Manual Figure 8 1 Front View of the NI 177x Smart Camera with Dimensions 8 2 ni com Chapter 8 Mounting Information 1 006 in 25 25 mm m n _ ou 72 55 mm XO OX Vd k o 9 PEERS Y CEA Et ET a 1 969 in 50 mm 28mm 4X M4 x 0 7 70 315 8 0 mm 0 234 in E 5 95 mm L 2 Q National Instruments Corporation Figure 8 2 Back View of the NI 177x Smart Camera with Dimensions 8 3 NI 177x Smart Camera User Manual Chapter 8 Mounting Information 2 953 in 75 mm
38. direction Programmable Logic Controller An industrial computer used for factory automation process control and manufacturing systems A signal consisting of a series of continuous pulses An object of a solid neutral color typically gray in the image which functions as a reference during image correction The digital signal transition from the low state to the high state Standard electrical interface for serial data communications NI 177x Smart Camera User Manual Glossary S sensor resolution sensor size sinking sourcing spectral response subnet SXGA sensor syntax TCP trigger trigger delay U UXGA sensor The number of columns and rows of CCD pixels in the camera sensor The size of the active area of an image sensor A device that requires a powered signal as an input A device that provides a powered signal The ability of a sensor to detect light expressed as a value between 0 and 1 for a given wavclength 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 Super eXtended Graphics Array SXGA may refer to multiple resolutions SXGA sensors used with NI 177x Smart Cameras feature a resolution of 1 280 x 960 pixels Set of rules to which statements must conform in a particular programming language Transmission Control Protocol A set of standard protocols for communicating
39. down the Options menu select the Settings item and select General 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 it denotes a warning advising you to take precautions to avoid electrical shock 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 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 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 Italic text in this font denotes text that is a placeholder for a word or value that you must supply National Instruments Corporation ix NI 177x Smart Camera User Manual About This Manual Related Documentation The following documents contain information that you may find helpful as you read this manual Hardware Documents e NI 177x Series Smart Camera
40. e NI 177x Smart Camera User Manual 4 4 ni com Chapter 4 Connecting Lighting and External Devices Use this protection method if you connect any of the open collector outputs directly to an inductive load Connect the NI 177x Smart Camera output and the negative side of the load to the diode anode and connect the positive side of the load to a 24 V power supply and the diode cathode as illustrated in Figure 4 4 Connect the ground of the NI 177x Smart Camera and the inductive load device to a common ground 3 Note Each open collector output can sink up to 100 mA 24 V max External OUTO i i Sinking input GND e GND NI 177x Smart Camera PNP compatible O connector i i PLC device Figure 4 4 Connecting to an External Inductive Load Device National Instruments Corporation 4 5 NI 177x Smart Camera User Manual Chapter 4 Connecting Lighting and External Devices Connecting to a Triggering Device To connect to an external triggering device connect the ground of the NI 177x Smart Camera to the ground of the triggering device Connect the triggering device output to the NI 177x Smart Camera TRIG_IN input 24 V max TRIG_IN 6 e Trigger out TRIG IN NI 177x Smart Camera 1 0 connector GND Trigger generator Figure 4 5 Connecting to an External Triggering Device To wire a
41. e P ICD GEO nement External Trg Sef asics ii nee e nin ERR RD Ra Re HERE ER ERE e EE GARS Maximum Frame Rate eie eei gesti ht ea Determining the Maximum Frame Rate eese Determining the Exposure Time ss NI 177x Smart Camera User Manual vi ni com Determining the Trigger Delay Calculating the Minimum Frame Period Chapter 7 LED Indicators Understanding the LED Indicators Device Initialization cccccccccccesssseeceesesseceeeeees PowertIndiCator tie et a doen Status Indicator essen User Indicator a5 eee ere aree 100 1G Indicator eee Chapter 8 Mounting Information Appendix A Specifications Appendix B Camera Attributes Appendix C Accessories Appendix D Technical Support and Professional Services Glossary Index National Instruments Corporation vil Contents NI 177x Smart Camera User Manual About This Manual Conventions This manual contains detailed installation instructions and electrical and mechanical information for the National Instruments 177x Smart Camera 3 AN A bold italic monospace monospace italic The following conventions appear in this manual The symbol leads you through nested menu items and dialog box options to a final action The sequence Options Settings General directs you to pull
42. er Pin Number 1 5 2 7 3 8 4 2 5 3 6 1 7 8 6 VGA USB Connector The VGA USB connector is a 12 pin male connector that transmits RGB analog video output and USB signals Figure 3 4 VGA USB Connector National Instruments Corporation 3 5 NI 177x Smart Camera User Manual Chapter 3 Connectors The following table lists pin numbers signal names and signal descriptions for the VGA USB connector Table 3 4 VGA USB Connector Signals and USB Connector Signals 12 Pn M12 Connector USB Connector Pin Number Signal Name Function Pin Number 1 USB_PWR 5 V supplied from camera 1 2 USB_DATA USB data positive 3 3 USB_DATA USB data negative 2 4 GND Ground 4 GND Table 3 5 VGA USB Connector Signals and 15 Pin DSUB Connector Signals 12 Pn M12 15 Pin DSUB Connector Connector Pin Number Signal Name Function Pin Number 5 RED VID OUT Red component of the RGB 1 video signal 6 BLUE VID OUT Blue component of the RGB 3 video signal 7 VSYNC Vertical sync of the RGB video 14 signal 8 HSYNC Horizontal synch of the RBG 13 video signal 9 GREEN VID OUT Green component of the RGB 2 video signal 10 GND Ground GND 11 GND Ground GND 12 GND Ground GND NI 177x Smart Camera User Manual 3 6 ni com Connecting Lighting and External Devices This chapter provides information about connecting the NI 177x Smart Camera to e
43. era User Manual Chapter 1 Hardware Overview and Installation Figure 1 2 Connecting the NI 177x Smart Camera to the Power and 1 0 Accessory 1 Connect and secure the 17 pin M12 connector on the I O cable to the I O connector on the NI 177x Smart Camera 2 Connect and secure the 25 pin D SUB connector on the I O cable to the CAMERA connector on the terminal block 3 Connect the power supply output to the 24 V in connector on the terminal block 4 Connect any additional I O signals necessary for your application to the appropriate terminal block connector Refer to the O Connector section of Chapter 3 Connectors for pin information 5 Plug the power supply into an outlet When power is first applied to the device the Power and Status LED indicators flash red once while internal systems power up The Power LED then lights green if power is wired correctly NI 177x Smart Camera User Manual 1 4 ni com Chapter 1 Hardware Overview and Installation Connect to the Development Computer The NI 177x Smart Camera can connect to the development computer directly or through a network To configure the NI 177x Smart Camera through a network the NI 177x Smart Camera and the development computer must be connected to the same subnet A Caution To prevent data loss and to maintain the integrity of your Ethernet installation do not use a cable longer than 100 m
44. gger available for output lines Not all Exposure Active output lines support all signal Lighting Strobe sources LineStatus Bool Indicates the status of the selected line LineStatusAll U32 0 to 4294967295 Indicates the status of all available line signals LineDebouncerTime DBL 0 25 to 25000 00 Gets or sets the debounce time for the selected line The specified value is rounded to the nearest valid hardware value LUTEnable Bool Specifies or indicates whether the LUT is enabled LUTIndex U32 0 to 255 Specifies a LUT element The element corresponds to the source pixel value LUTSelector Enum Luminance Red Specifies the LUT to control The Green Blue Luminance value is only available for monochrome sensors The Red Green and Blue values are only available for NI 177xC Smart Cameras LUTValue U32 0 to 255 Gets or sets the replacement value of the specified LUT element OffsetX U32 Pixels Gets or sets the vertical offset of the image Range depends on the specified image width OffsetY U32 Pixels Gets or sets the horizontal offset of the image Range depends on the specified image height National Instruments Corporation B 3 NI 177x Smart Camera User Manual Appendix B Camera Attributes Table B 1 Camera Attributes Continued Attribute Name Data Type Range Unit Description PixelFormat Enum Mono8 Gets or sets the pixel format
45. i i PLC device Figure 4 2 Connecting to an External NPN Input Device National Instruments Corporation 4 3 NI 177x Smart Camera User Manual Chapter 4 Connecting Lighting and External Devices Connecting to a PNP Device 3 Because a PNP input device requires a sourcing input you must use an external pull up resistor Note that the resistor will invert the output signal so that the open collector output disables the PNP input device Connect the ground of the NI 177x Smart Camera and the PNP input device to a common ground Note Each open collector output can sink up to 100 mA 24 V max External pull up resistor i OUTO e Input GND b GND i NI 177x Smart Camera PNP compatible PLC device O connector Figure 4 3 Connecting to an External PNP Input Device Protecting Against Inductive Loads When an inductive load such as a relay or solenoid is connected to an output energy stored in the inductor may cause a voltage spike when power is removed This flyback voltage can damage the outputs and the power supply The Power amp I O Accessory for NI 177x Smart Cameras 781993 01 includes integrated flyback diodes so that no additional wiring is required If you are not using the Power amp I O Accessory for NI 177x Smart Cameras you must install a flyback diode to limit flyback voltages at the inductive load Mount the flyback diode as close to the load as possibl
46. llowing table describes the behavior of the Status indicator Table 7 2 Status LED Indicator Behavior LED Color Description Off The camera has no power or software is not installed Red The camera is initializing Orange Software initialized successfully and is ready for use Green The camera is acquiring an image NI 177x Smart Camera User Manual 7 2 ni com Chapter 7 LED Indicators The NI 177x Smart Camera indicates specific conditions by flashing the Status indicator as described in the following table Table 7 3 Status LED Indicator Messages LED LED Behavior Color Description Solid Orange Software initialized successfully and is ready for use 1 Flash Orange The NI 177x Smart Camera is configured for DHCP and no DHCP server is available Use MAX or Vision Builder AI to configure the NI 177x Smart Camera 2 Flashes Orange The NI 177x Smart Camera detects an error in the software configuration This usually occurs when an attempt to upgrade the software is interrupted or if system files are deleted from the NI 177x Smart Camera Reinstall software on the NI 177x Smart Camera 3 Flashes Orange The NI 177x Smart Camera is in safe mode Safe mode is enabled when the SAFE_MODE signal is connected and grounded 4 Flashes Orange The NI 177x Smart Camera has experienced two consecutive software exceptions The NI 177x Smart Camera automatically restarts after an exception
47. mage display not reserved 7750 TCP Used for NI IMAQdx 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 If your firewall is controlled remotely or you are unsure about configuring the firewall contact your network administrator National Instruments Corporation 1 7 NI 177x Smart Camera User Manual Software Overview National Instruments provides two options for developing applications for the NI 177x Smart Camera ti or Vision Builder LabVIEW for LabVIEW Real Time Module Automated Inspection NI Vision Development Module NI Vision Acquisition Software 3 Note Vision Builder for Automated Inspection and NI Vision Acquisition Software are included with the NI 177x Smart Camera LabVIEW the LabVIEW Real Time Module and the NI Vision Development Module are sold separately The following sections describe the installation and configuration process for each development environment e Refer to Configuring the NI Smart Camera with Vision Builder AI for information about using the NI 177x Smart Camera with Vision Builder AI e Refer to Configuring the NI Smart Camera with LabVIEW for information about using the NI 177x Smart Camera with LabVIEW The installation and configuration process for each development environment is different Complete only the i
48. mart Cameras meet the following EMC standards for information technology equipment e EN 55022 Emissions Group 1 Class A e EN 55024 Immunity Basic Levels CE C Tick ICES and FCC Part 15 Emissions Class A CE Compliance C NI 177x Smart Cameras meet the essential requirements of applicable European Directives as amended for CE marking as follows e 2004 108 EC Electromagnetic Compatibility Directive EMC kp Note 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 certification search by model number or product line and click the appropriate link in the Certification column NI 177x Smart Camera User Manual A 8 ni com Appendix A Specifications Environmental Management Dx NI is committed to designing and manufacturing products in an environmentally responsible manner NI recognizes that eliminating certain hazardous substances from our products is beneficial to the environment and to NI customers For additional environmental information refer to the NI and the Environment Web page at ni com environment This page contains the environmental regulations and directives with which NI complies as well as other environmental information not included in this document Waste Electrical and Electronic Equipment WEEE EU Customers At the end of the product life cycle all products must be sent to a WE
49. ments Measurement amp Automation Expand the Remote Systems branch of the configuration tree and select the device you want to configure To uniquely identify multiple unconfigured devices connect and configure one device at a time If the NI 177x Smart Camera does not appear in the list of targets verify that the device has power and is connected to an Ethernet port on the same subnet as the development computer Refer to Chapter 7 LED Indicators for information about LED status messages In the Name field enter a name for the device Use the Comment field to enter any additional information or a brief description of the device Device names are limited to 31 characters with no spaces or special characters except hyphens The first and last characters must be alphanumeric Verify the IP address configuration e Ifthe network is configured to issue IP addresses using DHCP select Obtain IP address from DHCP server e Otherwise configure the IP address manually Select Edit the IP settings click Suggest Values and click OK iyi Note Ifthe IP address is 169 254 x x 0r 0 0 0 0 the device is only accessible from the local subnet To access the device from a remote subnet configure the device to obtain an IP address from a DHCP server or manually assign a static IP address National Instruments Corporation 2 5 NI 177x Smart Camera User Manual Chapter 2 Software Overview If you want to prevent other users from reset
50. n on the Video Signal In Figure 5 2a low gain has been applied to the signal The pixel values in the image are grouped close together In Figure 5 2b medium gain has been applied to the signal there are now more notable differences in pixel value within the image In Figure 5 2c high gain has been applied to the signal at high gain mid range and bright portions of the image are now both represented as white the highest pixel value In Figure 5 2c several bright areas of the image have been clipped to the maximum pixel value and you can no longer distinguish subtle shading in the brightest areas of the image Gain can be useful when there is not enough available light and you need to increase the brightness of your images However increasing gain multiplies both the signal and noise When possible it is preferable to add additional lighting Auto White Level NI 177xC Smart Cameras NI 177xC Smart Cameras allow you to adjust the gain for each color plane in the RGB color space The white level specifies the point at which values in the red green and blue color planes converge to produce white To obtain an accurate white level either adjust each gain value manually or use automatic white level adjustment with a test image For best results the image should contain a neutral reference such as a gray piece of paper or a reference card NI 177x Smart Camera User Manual 5 4 ni com Chapter 5 Image Sensor There are multiple ways
51. ng which network ports reside on the same subnet IP Address Assignment If the NI 177x Smart Camera is connected directly to the development computer the device will use a link local IP address If the NI 177x Smart Camera is connected to a network that has a DHCP server the device will automatically obtain an IP address You can also configure the NI 177x Smart Camera to use a static IP address If you cannot locate the NI 177x Smart Camera on the network first refer to the Firewall Configuration section then assign a static IP address or contact your network administrator iyi Note Ifthe NI 177x Smart Camera IP address is 169 254 x x the device is only accessible from the local subnet To access the smart camera from a remote subnet configure the smart camera to obtain an IP address from a DHCP server or manually assign a static IP address DHCP IP Addresses Using a DHCP server to assign an IP address has the following advantages The DHCP server manages the IP addresses of the network You do not need to know the IP address of the NI 177x Smart Camera The DHCP server does not allow other devices to use the IP address that is already assigned to your NI 177x Smart Camera Although using a DHCP server simplifies IP address configuration using a static IP address can be more reliable Consider the following potential issues before using a DHCP server to assign an IP address to the NI 177x Smart Camera e Ifthe network has
52. nnector 17 pin male M12 Power and I O connection 100 1G connector 8 pin female M12 10 100 1000 Mb s Ethernet connection VGA USB connector 12 pin male M12 Analog video and USB connection National Instruments Corporation NI 177x Smart Camera User Manual Chapter 3 Connectors 1 0 Connector The I O connector is a 17 pin male M12 connector that provides power to the camera and transmits digital I O signals Figure 3 2 1 0 Connector The I O connector includes 4 open collector output connections including 2 output connections which can be used as strobe signals An open collector output is not capable of providing voltage to a connected device Instead power is provided by the connected device and is either grounded or not grounded by the open collector connection Each connection is protected by a 100 mA fuse The I O connector also includes a controlled current output capable of providing current to a LED light The I O connector includes 4 independent opto coupled input connections which share a common ground connection with the NI 177x Smart Camera Each input can be configured to generate interrupts and reject signals that are shorter than a specified width The I O connector also includes an optically isolated trigger input NI 177x Smart Camera User Manual 3 2 ni com Chapter 3 Connectors The following table lists pin numbers signal names and signal descrip
53. nstructions for your chosen development environment A Caution National Instruments software may require you to update the firmware for this device Do not remove power from the device until the software indicates that the firmware update is complete Removing power during a firmware update could cause your device to become unusable National Instruments Corporation 2 1 NI 177x Smart Camera User Manual Chapter 2 Software Overview Configuring the NI Smart Camera with Vision Builder Al developing benchmarking and deploying machine vision applications E Vision Builder AI is interactive menu driven configuration software for With Vision Builder AI you can perform powerful visual inspection tasks and make decisions based on the results of individual tasks You can also migrate your inspection to LabVIEW to extend the capabilities of your application if necessary The latest version of Vision Builder AI is included with the NI 177x Smart Camera Complete the following steps to install Vision Builder AI and configure the NI 177x Smart Camera 1 Install and activate Vision Builder AI on the development computer Refer to the NI Vision Builder for Automated Inspection Readme for installation instructions Launch Vision Builder AI On the Vision Builder AI welcome screen select the NI 177x Smart Camera in the list of targets If the NI 177x Smart Camera does not appear in the list of targets verify that the device has p
54. nual 1 2 mounting information 8 1 National Instruments support and services D 1 network connection 1 5 NI 177x acquiring images 6 2 assigning an IP address 1 6 black level 5 5 connecting I O 1 3 light controller 4 1 lighting devices 4 1 NPN devices 4 3 outputs 4 3 power 1 3 sinking devices 4 4 sourcing devices 4 3 connectors 3 1 dimensions 8 1 exposure 6 1 gain 5 3 hardware comparison 1 2 connectors 3 1 overview 1 2 installation 1 5 look up table 5 5 maintenance 5 6 mounting 8 1 network connection 1 5 outputs open collector 4 3 protecting against inductive loads 4 4 NI 177xC auto white level 5 4 NI Vision Acquisition Software documents xi ni com NI Vision Builder for Automated Inspection acquiring an image 2 3 configuring the IP address 2 2 documents x installing on the smart camera 2 3 smart camera configuration 2 2 NI Vision Development Module documents xi NI IMAQdx documents xi 0 outputs open collector 4 3 P Power indicator 7 2 power requirements 3 4 power connecting 1 3 programming examples NI resources D 1 protecting against inductive loads 4 4 R related documentation x S software LabVIEW smart camera configuration 2 4 NI resources D 1 NI Vision Builder for Automated Inspection smart camera configuration 2 2 Status indicator 7 2 blink codes 7 3 support technical D 1 National Instruments Corporation 1 3 Index
55. of the BGRA8Packed source sensor Color pixel formats are only available for NI 177xC Smart Cameras PulseGeneratorDelay DBL us Specifies the delay of the selected pulse generator PulseGeneratorDelayEdgeCounts U32 0 to 4294967295 Edge Specifies the delay of the pulse Counts generator PulseGeneratorDelaySource Enum Internal Clock Specifies the counter source for Input 0 Edges the pulse generator delay Input 1 Edges Input 2 Edges Input 3 Edges PulseGeneratorDuration DBL 0 to 68719476 us Specifies the duration of the generated pulse PulseGeneratorEdgeActivation Enum Rising Edge Specifies the activation for the Falling Edge pulse generator delay when configured for a delay PulseGeneratorEnable Bool Enables the specified pulse generator PulseGeneratorMode Enum Single Pulse Gets or sets the mode of the Rearmed Pulse selected pulse generator Pulse Train PulseGeneratorPolarity Enum Active High Gets or sets the polarity of the Active Low sepected pulse generator PulseGeneratorSelector Enum Pulse Generator 0 Specifies the pulse generator to Pulse Generator 1 configure Each pulse generator Pulse Generator 2 maps to the output line with the Pulse Generator 3 same index PulseGeneratorTriggerActivation Enum Rising Edge Gets or sets the trigger activation Falling Edge of the selected pulse generator PulseGeneratorTriggerSource Enum Immediate Gets or sets the trigger source of Software Input
56. on Inspection Help Contains information about running applications created with Vision Builder for Automated Inspection in the Vision Builder Automated Inspection Interface NI 177x Smart Camera User Manual X ni com 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 the LabVIEW graphical programming environment and the basic LabVIEW features you use to build data acquisition and instrument control applications Getting Started with the LabVIEW Real Time Module Use this manual as a tutorial to familiarize yourself with the LabVIEW Real Time Module and the basic Real Time Module features you use to build real time applications NI Vision Concepts Help Describes the basic concepts of image analysis image processing and machine vision This document also contains in depth discussions about imaging functions for advanced users NI Vision for LabVIEW Help Describes how to create machine vision and image processing applications in LabVIEW using the Vision Development Module The help file guides you through tasks beginning with setting up your imaging system to taking measurements It also describes how to create a real time
57. on repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defects during the warranty period National Instruments does not warrant that the operation of the software shall be uninterrupted or error free A Return Material Authorization RMA number must be obtained from the factory and clearly marked on the outside of the package before any equipment will be accepted for warranty work National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty National Instruments believes that the information in this document is accurate The document has been carefully reviewed for technical accuracy In the event that technical or typographical errors exist National Instruments reserves the right to make changes to subsequent editions of this document without prior notice to holders of this edition The reader should consult National Instruments if errors are suspected In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it 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 TH
58. on notes instrument drivers and so on Registered users also receive access to the NI Discussion Forums at ni com forums NI Applications Engineers make sure every question submitted online receives an answer Standard Service Program Membership This program entitles members to direct access to NI Applications Engineers via phone and email for one to one technical support as well as exclusive access to eLearning training modules at ni com eLearning NI offers complementary membership for a full year after purchase after which you may renew to continue your benefits 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 training and certification program information 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 D 1 NI 177x Smart Camera User Manual Appendix D Technical Support and Professional Services Declaration of Conformity DoC A DoC is our claim of compliance with the Council of the European Communities using the manufacturer s declaration of conformity This system affords the user protection for
59. ource to ensure reproducible results Acquiring Images Internal Timing You can configure the NI 177x Smart Camera to acquire images based on internal timing or an external trigger signal In both cases the NI 177x Smart Camera can acquire images at the camera s maximum frame rate Refer to the Maximum Frame Rate section for information about factors that affect the maximum frame rate The NI 177x Smart Camera features two types of internally timed modes free run mode and fixed frame rate mode In free run mode the device acquires images at the maximum frame rate allowed by the configuration In fixed frame rate mode you can specify a frame rate that is less than or equal to the maximum frame rate NI 177x Smart Camera User Manual 6 2 ni com Chapter 6 Image Acquisition External Trigger Use the trigger input to synchronize the NI 177x Smart Camera with an external event such as the assertion of a signal generated by a proximity sensor You can trigger the NI 177x Smart Camera at rates up to the maximum frame rate Refer to the Maximum Frame Rate section for information about factors that affect the maximum frame rate To use an external trigger the trigger signal must be provided on the TRIG_IN and TRIG IN inputs to the camera and triggering must be enabled in the software Refer to the Connecting to a Triggering Device section of Chapter 4 Connecting Lighting and External Devices for information about connecting exte
60. ower and is connected to an Ethernet port on the same subnet as the development computer then click Refresh Target List Refer to Chapter 7 LED Indicators for information about LED status messages Click Install Software The Remote Target Configuration Wizard launches in a new window In the Name field enter a name for the device Use the Description field to enter any additional information or a brief description of the device Device names are limited to 31 characters with no spaces or special characters except hyphens The first and last characters must be alphanumeric Click Next Configure the IP Address Complete the following steps to configure IP address settings for the NI 177x Smart Camera in the The Remote Target Configuration Wizard 1 NI 177x Smart Camera User Manual If the network is configured to issue IP addresses using DHCP select Obtain IP address from DHCP server Otherwise configure the IP address manually by selecting Edit the IP settings and clicking Suggest Values 2 2 ni com Chapter 2 Software Overview If you want to prevent other users from configuring the device select Enable Password and click Set Password to set up password protection Click Next Install Software on the NI Smart Camera Complete the following steps to install software from the development computer to the NI 177x Smart Camera 1 In the Remote Target Configuration Wizard enable the Update Target Software che
61. pixel spatial resolution and the rate of motion of the object The per pixel spatial resolution is the field of view calculated in the Field of View section of Chapter 5 Image Sensor divided by the number of pixels in the sensor Together this information can be used to calculate the maximum exposure Assuming the object is moving National Instruments Corporation 6 1 NI 177x Smart Camera User Manual Chapter 6 Image Acquisition horizontally across the field of view use Equation 6 1 to calculate the maximum exposure time Ro 2 E Horizontal 6 1 FOV Horizontai N Horizontal where E max1s 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 Additionally in many environments the ambient light conditions vary too significantly to obtain consistent results without adding dedicated lighting For example in a building with windows the ambient light can vary significantly with weather Also standard fluorescent lighting flickers at a rate that is perceivable by the NI 177x Smart Camera In these situations the ambient light must be overridden with a dedicated light s
62. r Triggering Lighting and Camera Attributes tabs to adjust the acquisition settings The NI Smart Camera is now configured and acquiring images Use LabVIEW to create your application Refer to the Related Documentation section in the introduction to this manual for a list of documentation and other resources to help you set up and use the NI 177x Smart Camera in an application 2 6 ni com Part Il NI 177x Smart Camera Technical Reference This section provides the following information e Descriptions and pinout information for the M12 connectors e Wiring diagrams and instructions for connecting the NI 177x Smart Camera to external devices e Information about acquiring an image with the NI 177x Smart Camera e Descriptions and blink code explanations for the LED indicators e Information about mounting the NI 177x Smart Camera National Instruments Corporation Il 1 NI 177x Smart Camera User Manual Connectors This chapter provides information about the NI 177x Smart Camera connectors including pin numbers and signal names Figure 3 1 shows the NI 177x Smart Camera connectors 100 1G VGA 1 1 0 Connector 2 100 1G Connector 3 VGA USB Connector Figure 3 1 NI 177x Smart Camera Connectors The following table lists the connectors found on the NI 177x Smart Camera Table 3 1 NI 177x Smart Camera Connector Overview Connector Name Connector Type Description T O co
63. rnal signals You can enable triggering in the following software programs Vision Builder AI Select the Enable Trigger checkbox on the Trigger tab of the Acquire Image Smart Camera step e LabVIEW Set the value of the TriggerSource attribute to External Trigger and set the value of the TriggerMode attribute to On e MAX Select the Enable Trigger checkbox on the Triggering tab of the device configuration page Figure 6 1 illustrates the relationship between an external trigger a lighting strobe and the exposure time Trigger Lighting Strobe Exposure Image Readout PL 1 User Configurable Trigger Delay 3 Beginning of Image Readout 2 Lighting Turn On Time Figure 6 1 Externally Triggered Mode National Instruments Corporation 6 3 NI 177x Smart Camera User Manual Chapter 6 Image Acquisition The trigger shown in Figure 6 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 The trigger delay can be configured in either milliseconds or edge counts The amount of time required from the assertion of a trigger to the start of the light strobe and image exposure varies by application For example if a sensor that detects the presence of a part is positioned before the NI 177x Smart
64. rty 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 Trademarks LabVIEW National Instruments NI ni com the National Instruments corporate logo and the Eagle logo are trademarks of National Instruments Corporation Refer to the Trademark Information at ni com trademarks for other National Instruments trademarks Other product and company names mentioned herein are trademarks or trade names of their respective companies Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments and have no agency partnership or joint venture relationship with National Instruments Patents For patents covering National Instruments products technology refer to the appropriate location Help Patents in your software the patents txt file on your media or the National Instruments Patent Notice at ni com patents Export Compliance Information Refer to the Export Compliance Information at ni com legal export compliance for the National Instruments global trade compliance policy and how to obtain relevant HTS codes ECCNs and other import export data WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS 1 NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OF
65. sensor exposure time through software The exposure time is the amount of time that light is allowed to strike the sensor to produce an image When light strikes the surface of the sensor it dislodges electrons As more light strikes the sensor more electrons are freed creating a charge on the sensor For a given amount of light the sensor collects more charge during a longer exposure time than a shorter exposure time Because the charge is what is read out to produce the image it is important to have an optimal amount of light and exposure time for your application Exposing the image sensor for too short of a time relative to the amount of light in the environment results in a dark low contrast image Exposing the image sensor for too long of a time relative to the amount of light in the environment results in a bright low contrast image When the image sensor is exposed for an appropriate amount of time relative to the light in the environment acquired images will exhibit appropriate contrast to easily distinguish both dark and light features Contrast is a key factor in obtaining good results from image processing algorithms In applications where the object under inspection is moving the exposure time must be carefully considered If the object moves significantly during the exposure the resulting image is blurry and unsuitable for processing The maximum exposure time for imaging a moving object without blurring depends on the per
66. ssories Part Description Number Notes Starter Kit for NI 177x Smart Cameras 782043 01 Includes all parts listed in table C 1 Power and I O accessory for NI 177x Smart 781993 01 Includes M12 to 25 pin D SUB cable Cameras 782032 01 Power supply for NI 177x Smart Cameras 782032 01 100 240 VAC IN 24 V 1 25 A M12 to 25 pin D SUB 152919 03 3 mcable included with the Power and I O accessory for NI 177x Smart Cameras 781993 01 M12 to VGA USB cable 153064 01 1 mcable M12 to RJ45 cable 153130 05 5m cable M12 to pigtail cable 153131 03 3 mcable National Instruments offers the following accessories for applications that require a custom I O cable Table C 2 Custom Cabling Parts Part Description Number Notes M12 to pigtail cable 153131 03 3 mcable National Instruments Corporation C 1 NI 177x Smart Camera User Manual Appendix C Accessories Lights Lenses and Brackets National Instruments offers the following lenses and lighting accessories Table C 3 Lights Lenses and Brackets Part Description Number Notes 8 mm lens Computar M08 14 MP 780024 01 f 1 4 1 MP 12 mm lens Computar M1214 MP 780025 01 f 1 4 1 MP 16 mm lens Computar M1614 MP 780026 01 f 1 4 1 MP 25 mm lens Computar M2514 MP 780027 01 f 1 4 1 MP 35 mm lens Computar M3514 MP 780033 01 f 1 4 1 MP Ultra low distortion 16 mm lens
67. sure Active output line source ExposureMode Enum Timed Specifies the operation mode of the exposure ExposureTime DBL us Specifies the camera exposure time Range depends on the sensor Height U32 Pixels Gets or sets the height of the image Range depends on the sensor Gain U32 0 to 255 Specifies the input gain level Gamma DBL 0 to 1 0 Specifies the gamma correction level NI 177xC Smart Cameras only LightingCurrent DBL mA Indicates the lighting current output level LightingMaxCurrent DBL 0 to 500 mA Indicates the maximum possible current that can be sourced in the current configuration LightingMode Enum Off Strobe Specifies the mode for the lighting Continuous current output LightingStrobePolarity Enum Active High Gets or sets the polarity of the Active Low Light Strobe output light source LineMode Enum Input Output Indicates the mode of the selected line NI 177x Smart Camera User Manual ni com Appendix B Camera Attributes Table B 1 Camera Attributes Continued Attribute Name Data Type Range Unit Description LineSelector Enum Input 0 Input 1 Specifies the digital I O line to Input 2 Input 3 configure Output 0 Output 1 Output 2 Output 3 External Trigger LineSource Enum User Output Indicates the source of the Pulse Generator selected line This attribute is only Frame Tri
68. t output for connecting to external devices For complete device specifications refer to Appendix A Specifications NI 177x Smart Cameras includes 4 LED indicators for communicating system status Refer to Chapter 7 LED Indicators for more information about the LED indicators NI 177x Smart Camera User Manual 1 2 ni com Chapter 1 Hardware Overview and Installation Connect the Power Supply and 1 0 National Instruments provides the following two cable options for connecting a power supply 782032 01 and I O to the NI 177x Smart Camera Power and I O Accessory 781993 01 A terminal block that simplifies power and I O signal configuration for the NI 177x Smart Camera The accessory uses a 25 pin D SUB connector and a 17 pin M12 to 25 pin D SUB cable e 17 pin M12 Pigtail Cable 153131 03 An open ended cable that you can use to create your own custom cable Refer to the O Connector section of Chapter 3 Connectors for wiring information A Caution Use the NI 177x Smart Camera only with a 12 W 24 VDC 10 UL listed limited power source LPS supply The power supply will bear the UL listed mark LPS The power supply must also meet any safety and compliance requirements for the country of use To connect a power supply to the NI 177x Smart Camera using the Power and I O Accessory for NI 177x Smart Cameras refer to Figure 1 2 and complete the following steps National Instruments Corporation 1 3 NI 177x Smart Cam
69. ted to a LED lighting device 0 to 500 mA generated using exposure timer 2 The negative component of this signal is internally connected to the power supply GND National Instruments Corporation 3 3 NI 177x Smart Camera User Manual Chapter 3 Connectors NI Smart Camera Power Requirements A Caution Use the NI 177x Smart Camera only with a 12 W 24 VDC 10 UL listed limited power source LPS supply The power supply should bear the UL listed mark LPS The power supply must meet any safety and compliance requirements for the country of use The NI 177x Smart Camera uses a nominal 24 VDC power source The device accepts power within the range of 24 V 10 with an additional allowance for an AC peak of 5 Refer to Appendix A Specifications for complete power requirement specifications 100 1G Connector The 100 1G connector is an 8 pin female connector that provides Ethernet communication capabilities at 10 Mbit sec 100 Mbit sec or 1 Gbit sec 1000 Mbit sec The pinout of this connector follows the 100 1000 BaseT Ethernet standard found in the IEEE 802 3 2002 standard Figure 3 3 100 1G Connector NI 177x Smart Camera User Manual 3 4 ni com Chapter 3 Connectors The following table lists pin numbers signal names and signal descriptions for the 100 1G connector Table 3 3 100 1G Connector and Ethernet Connector Signals Ethernet Connector 100 1G Connector Pin Numb
70. ting the NI 177x Smart Camera click the Lock button on the MAX toolbar to set up password protection To require users to enter the password before restarting the device enable the Password protect Resets checkbox Click Apply on the MAX toolbar When prompted click Yes to restart the NI 177x Smart Camera The initialization process may take several minutes Install Software on the NI Smart Camera Complete the following steps to install software from the development computer to the NI 177x Smart Camera Acquire an Image NI 177x Smart Camera User Manual 1 In the Remote Systems branch of the MAX configuration tree expand the folder for your device and select Software Click Add Remove Software on the MAX toolbar to launch the LabVIEW Real Time Software Wizard Select NI Vision RT and NI IMAQdx RT The software wizard will automatically select any other required software Click Next Verify your software installation choices and click Next When the installation is complete click Finish Complete the following steps to acquire an image using MAX 1 In the Remote Systems branch of the MAX configuration tree expand the folder for your device Click cam0 NI 177x where 77x is replaced by the actual model number of your NI 177x Smart Camera Click Snap to acquire a single image or click Grab to acquire continuous images Click Grab again to stop a continuous acquisition Use the controls on the Sensor Colo
71. tions for the I O connector Table 3 2 1 0 Connector Signals 17 Pin M12 Pin Pigtail Cable Number Signal Name Function Wire Color 1 RxD_RS232 RS 232 receive Brown 2 OUT3 Open collector output signal 3 Blue 3 OUTI Open collector output signal 1 White Provides an exposure signal trigger signal bypass or programmable unmodulated strobe signal generated using exposure timer 2 4 SAFE MODE Initializes the camera in safe mode Safe mode is Green enabled when the signal is grounded 5 IN2 Opto coupled auxiliary input signal 2 positive Pink 6 INI Opto coupled auxiliary input signal 1 positive Yellow 7 TRIG_IN Opto isolated trigger input signal positive Black 8 PWR Supplies power to the camera Use the NI 177x Gray Smart Camera only with a 12 W 24 VDC 10 2 FAR UL listed limited power source LPS supply Red 10 TxD_RS232 RS 232 transmit Violet 11 OUT2 Open collector ouput signal 2 Gray Pink 12 OUTO Open collector ouput signal 0 Red Blue Provides an exposure signal generated using exposure timer or trigger signal bypass 13 IN3 Opto coupled auxiliary input signal 3 positive White Green 14 INO Opto coupled auxiliary input signal 0 positive Brown Green 15 TRIG_IN Opto isolated trigger input signal negative White Yellow 16 GND Power supply ground Yellow Brown 17 LED_DRV Controlled current output designed to be White Gray connec
72. to adjust gain values or enable automatic white balance adjustment e MAX Use the settings on the Color tab of the device configuration page to adjust gain levels or enable automatic white level adjustment e Vision Builder AI Use the settings on the Color tab of the Acquire Image Smart Camera step to adjust gain levels or enable automatic white level adjustment Black Level NI 177xC Smart Cameras Look Up Table The black level specifies the image brightness Set the black level to the pixel value which corresponds to true black If the black level is innacurate near black pixels may be displayed as black or black objects may appear gray in the output image There are multiple ways to adjust gain values or enable automatic white balance adjustment e MAX Use the settings on the Camera Attributes tab of the device configuration page e Vision Builder AI Use the settings on the Advanced tab of the Acquire Image Smart Camera step A look up table LUT transformation maps pixel values in the source image into other values in the transformed image For example you can use a LUT transformation to improve the contrast and brightness of an image iyi Note NI 177xC Smart Cameras allow you to define a LUT for each color plane in the RGB color space To enable a LUT in MAX use the LUT Controls on the Camera Attributes tab of the device configuration page Refer to the MI Vision for LabVIEW Basics Help for inform
73. vision application using NI Vision with the LabVIEW Real Time Module and contains reference information about NI Vision for LabVIEW palettes and VIs NI Vision Acquisition Software Documents National Instruments Corporation NI IMAQdx VI Reference Help Contains reference information about the LabVIEW VIs and properties for NI IMAQdx driver software Measurement amp Automation Explorer Help for NI IMAQdx Describes how to configure NI IMAQdx driver software NI image acquisition devices and NI Smart Cameras using Measurement amp Automation Explorer Xi NI 177x Smart Camera User Manual Part I Getting Started with the NI 177x Smart Camera This section provides the following information e Basic information about the NI 177x Smart Camera hardware e nstructions for configuring the NI 177x Smart Camera hardware e Basic information about software options for application development e nstructions for acquiring your first image with the NI 177x Smart Camera using the selected application development software National Instruments Corporation l 1 NI 177x Smart Camera User Manual Hardware Overview and Installation This chapter provides an overview of the features and components of the NI 177x Smart Camera Figure 1 1 shows the NI 177x Smart Camera b 4 NATIONAL p INSTRUMENTS Li v NI 177X SMART CAMERA A 4 im O 100 1G VGA USB
74. wing figure illustrates the location of the LED indicators 1 LED Indicators Figure 7 1 NI 177x Smart Camera LED Indicators National Instruments Corporation 7 1 NI 177x Smart Camera User Manual Chapter 7 LED Indicators Device Initialization Power Indicator Status Indicator While the NI 177x Smart Camera initializes the Power and Status LED indicators exhibit behavior described in the following table Table 7 1 LED Indicator Behavior during Device Initialization Indicator Name LED Behavior Power Red for 0 5 seconds then solid green Status Red for 0 5 seconds then off If both the Power and Status indicators continuously display solid red your device has experienced a critical error and you should contact NI support The Power indicator provides information about the power supply The Power indicator is green while the camera is properly powered on When no power is being supplied to the NI Smart Camera the Power indicator is unlit When power is first applied to the device the Power indicator flashes red for one second while internal systems power up If the Power indicator stays red for longer than one second it indicates that the voltage is out of range The Status indicator provides information about the status of the camera The fo
75. x Smart Camera User Manual Image Sensor This chapter provides an overview of the NI 177x Smart Camera image sensors field of view spectral response and imaging settings NI 177x Smart Cameras are available with the following image sensor configurations Table 5 1 NI 177x Smart Camera Models Color Model Resolution Support NI 1772 640 x 480 pixels VGA No NI 1774 1 280 x 960 pixels SXGA No NI 1776 1 600 x 1 200 pixels UXGA No NI 1778 2 448 x 2 050 pixels 5 MP No NI 1772C 640 x 480 pixels VGA Yes NI 1774C 1 280 x 960 pixels SXGA Yes NI 1776C 1 600 x 1 200 pixels UXGA Yes Refer to Appendix A Specifications for information about each image sensor Field of View The field of view is the area under inspection that will be imaged by the NI 177x Smart Camera It is critical to ensure that the field of view of your system includes the object you want to inspect National Instruments Corporation 5 1 NI 177x Smart Camera User Manual Chapter 5 Image Sensor To calculate the horizontal and vertical field of view FOV of your imaging system use Equation 5 1 and the specifications for the image sensor of your device as listed in Appendix A Specifications POF Pixel Pitch x Active Pixels x Working Distance 5 1 Focal Length where FOV is the field of view in either the horizontal or vertical direction Pixel Pitch measures the distance between the centers of
76. xternal devices including external lighting and triggering devices Connecting Lighting Devices To connect a light directly to the NI 177x Smart Camera connect the LED DRV signal to the positive terminal on the lighting device Connect the ground of the NI 177x Smart Camera and the lighting device to a common ground The controlled current output sources current for a LED lighting device You can control the amount of current by specifying a value between 0 and 500 mA in 256 steps To configure a light you can enter the lighting data manually in MAX or Vision Builder AI e MAX Select the Lighting tab of the NI Smart Camera configuration page and click Configure Light The light must be configured in MAX before you can use it in LabVIEW e Vision Builder AI Select the Lighting tab of the Acquire Image Smart Camera step and click Configure Light Connecting a Light Controller You can connect a light controller to the NI 177x Smart Camera in order to control any connected lighting devices A Caution The controlled current output is an unregulated output dependent on the range of the power supply provided to the device If the power provided to the device is 10 with 5 AC ripple the controlled current output could be as high as 27 6 V If the provided power exceeds the input voltage specifications of the third party lighting controller do not connect the controlled current output to the controller to prevent damage to the
77. ype of overlap permitted with the previous frame TriggerSelector Enum Frame Start Specifies the trigger to modify TriggerSoftware Command Sends a software trigger TriggerSource Enum External Trigger Specifies the source of the Fixed Rate selected trigger Software UserLEDState Enum Off Green Red Gets or sets the state of the user Orange LED UserOutputSelector Enum User Output 0 Specifies which bit in the User User Output 1 Output register to set User Output 2 User Output 3 UserOutputValue Bool Gets or sets the status of the selected user output National Instruments Corporation B 5 NI 177x Smart Camera User Manual Appendix B Camera Attributes Table B 1 Camera Attributes Continued Attribute Name Data Type Range Unit Description UserOutputValueAll U32 0 to 4294967295 Gets or sets the value of all bits in the User Output register Width U32 Pixels Gets or sets the width of the image Range depends on the sensor NI 177x Smart Camera User Manual B 6 ni com Accessories The following sections provide a partial list of the NI 177x Smart Camera accessories available from National Instruments For a list of all available accessories visit ni com smartcamera Power and 1 0 Cables and Accessories National Instruments offers the following cables and accessories for power or I O configuration Table C 1 Power and 1 0 Cables and Acce
Download Pdf Manuals
Related Search
Related Contents
Jenway 6850 Spectrophotometer Manual ZyXEL USG110 Owner`s Manual ludovice_cab_dr_arafcl - Repositório Institucional UNESP Samsung Blu-ray BD-D5100 Lietotāja rokasgrāmata 28, 29 & 30 Benutzerhandbuch DCM3260/12 Chapter Three: Using Powergold 2000 and UDS II Copyright © All rights reserved.
Failed to retrieve file