background image

©

 National Instruments Corporation

4-1

NI 177x Smart Camera User Manual

4

Connecting Lighting and 
External Devices

This chapter provides information about connecting the NI 177x Smart 
Camera to external 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:

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.

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. 

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 controller. 
Use a power supply with tolerances that meet the requirements of the controller.

Summary of Contents for NI Vision 177x

Page 1: ...NI Vision NI 177x Smart Camera User Manual NI 177x Smart Camera User Manual September 2011 373491A 01...

Page 2: ...d 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 an...

Page 3: ...rporation National Instruments respects the intellectual property of others and we ask our users to do the same NI software is protected by copyright and other intellectual property laws Where NI soft...

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

Page 5: ...w and Installation Hardware Overview 1 2 Connect the Power Supply and I O 1 3 Connect to the Development Computer 1 5 Direct Connection 1 5 Network Connection 1 5 Subnet Considerations 1 6 IP Address...

Page 6: ...necting to a NPN Device 4 3 Connecting to a PNP Device 4 4 Protecting Against Inductive Loads 4 4 Connecting to a Triggering Device 4 6 Connecting to Serial Devices 4 7 Chapter 5 Image Sensor Field of...

Page 7: ...6 Chapter 7 LED Indicators Understanding the LED Indicators 7 1 Device Initialization 7 2 Power Indicator 7 2 Status Indicator 7 2 User Indicator 7 3 100 1G Indicator 7 4 Chapter 8 Mounting Informati...

Page 8: ...this symbol is marked on a product it denotes a warning advising you to take precautions to avoid electrical shock bold Bold text denotes items that you must select or click in the software such as m...

Page 9: ...tions 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 worl...

Page 10: ...oncepts 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 fo...

Page 11: ...s the following information Basic information about the NI 177x Smart Camera hardware Instructions for configuring the NI 177x Smart Camera hardware Basic information about software options for applic...

Page 12: ...ures and components of the NI 177x Smart Camera Figure 1 1 shows the NI 177x Smart Camera Figure 1 1 NI 177x Smart Camera 1 Image Sensor 2 C Mount 3 Lens Cover Mount 4 LED Indicators 5 I O Connector 6...

Page 13: ...ns 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 cu...

Page 14: ...connector and a 17 pin M12 to 25 pin D SUB cable 17 pin M12 Pigtail Cable 153131 03 An open ended cable that you can use to create your own custom cable Refer to the I O Connector section of Chapter 3...

Page 15: ...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 t...

Page 16: ...ect 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 th...

Page 17: ...r Note If the 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...

Page 18: ...guration 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...

Page 19: ...r AI for information about using the NI 177x Smart Camera with Vision Builder AI Refer to Configuring the NI Smart Camera with LabVIEW for information about using the NI 177x Smart Camera with LabVIEW...

Page 20: ...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 power and is connected to an Ethernet port on the...

Page 21: ...ory where Vision Builder AI is the location where Vision Builder AI is installed 4 Click OK to apply the IP configuration settings and download software to the device 5 Click OK to close the Remote Ta...

Page 22: ...ts 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...

Page 23: ...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...

Page 24: ...NI Vision RT and NI IMAQdx RT The software wizard will automatically select any other required software 4 Click Next 5 Verify your software installation choices and click Next 6 When the installation...

Page 25: ...wing information Descriptions and pinout information for the M12 connectors Wiring diagrams and instructions for connecting the NI 177x Smart Camera to external devices Information about acquiring an...

Page 26: ...nectors The following table lists the connectors found on the NI 177x Smart Camera 1 I O Connector 2 100 1G Connector 3 VGA USB Connector Table 3 1 NI 177x Smart Camera Connector Overview Connector Na...

Page 27: ...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...

Page 28: ...nput 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 Smart Camera only with a 12 W 24 VDC 10 UL listed limited p...

Page 29: ...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 po...

Page 30: ...iptions for the 100 1G connector 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 Table 3 3 100 1G...

Page 31: ...A 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 Connector Pin Number Signal Name Function 15 Pin...

Page 32: ...Builder AI 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 Vision Builder AI Selec...

Page 33: ...d 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 Note...

Page 34: ...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...

Page 35: ...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 Th...

Page 36: ...ative 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 Ca...

Page 37: ..._IN input Figure 4 5 Connecting to an External Triggering Device To wire a 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...

Page 38: ...77x 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 g...

Page 39: ...ion 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...

Page 40: ...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 a...

Page 41: ...tive 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...

Page 42: ...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 incr...

Page 43: ...to adjust gain values or enable automatic white balance adjustment MAX Use the settings on the Camera Attributes tab of the device configuration page Vision Builder AI Use the settings on the Advanced...

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

Page 45: ...e 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 co...

Page 46: ...e 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...

Page 47: ...onnecting to a Triggering Device section of Chapter 4 Connecting Lighting and External Devices for information about connecting external signals You can enable triggering in the following software pro...

Page 48: ...is 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 app...

Page 49: ...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 Ac...

Page 50: ...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 R...

Page 51: ...ctionality of the LED indicators on the NI 177x Smart Camera Understanding the LED Indicators The NI 177x Smart Camera includes four multicolor indicators The following figure illustrates the location...

Page 52: ...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 t...

Page 53: ...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 us...

Page 54: ...dicates the status of any network connection The following table describes the behavior of the 100 1G indicator A blinking LED indicates network activity Table 7 4 100 1G LED Indicator Behavior LED Co...

Page 55: ...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 device...

Page 56: ...ra User Manual 8 2 ni com Figure 8 1 Front View of the NI 177x Smart Camera with Dimensions NATIONAL INSTRUMENTS NI 177X SMART CAMERA 1 181 in 30 mm 1 417 in 36 mm 1 299 in 33 mm 4 331 in 110 mm 1 240...

Page 57: ...rporation 8 3 NI 177x Smart Camera User Manual Figure 8 2 Back View of the NI 177x Smart Camera with Dimensions 0 492 in 12 5 mm 3 862 in 98 1 mm 0 234 in 5 95 mm 0 492 in 12 5 mm 1 969 in 50 mm 4X M4...

Page 58: ...Smart Camera User Manual 8 4 ni com Figure 8 3 Bottom View of the NI 177x Smart Camera with Dimensions 2 953 in 75 mm I O 100 1G P o w e r S t a t u s U s e r VGA USB 1 0 0 1 G 0 157 in 4 mm 1 179 in...

Page 59: ...formation National Instruments Corporation 8 5 NI 177x Smart Camera User Manual Figure 8 4 Side View of the NI 177x Smart Camera with Dimensions 1 96 in 49 78 mm 4 331 in 110 mm NATIONAL INSTRUMENTS 3...

Page 60: ...ion 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 comp...

Page 61: ...inking current range 0 to 100 mA Maximum current leakage 10 A On voltage drop 25 mV Maximum inrush current 4 A for 300 s max Off to on responsiveness 250 ns On to off responsiveness 250 ns Controlled...

Page 62: ...aracteristics for each camera Sensor readout Progressive scan Table A 1 NI 177x Smart Camera Sensor Characteristics Camera Model Sensor Optical Format in Active Pixels Pixel Size m Maximum Usable Fram...

Page 63: ...igure A 1 1772 VGA Sensor Spectral Response Curves NI 1772C color Refer to Figure A 2 Figure A 2 1772C VGA Sensor Spectral Response Curves 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 0 1 0 400 500 600 700 900...

Page 64: ...Figure A 3 Figure A 3 1774 SXGA Sensor Spectral Response Curves NI 1774C color Refer to Figure A 4 Figure A 4 1774C SXGA Sensor Spectral Response Curves 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 0 1 0 400 5...

Page 65: ...gure A 5 1776 UXGA Sensor Spectral Response Curves NI 1776C color Refer to Figure A 6 Figure A 6 1776C UXGA Sensor Spectral Response Curves 0 9 0 8 0 7 0 6 0 5 0 4 0 3 0 2 0 1 0 1 0 400 500 600 700 90...

Page 66: ...s Physical Characteristics Lens mount C mount Camera housing Painted aluminium Dimensions without lens cover 11 cm 7 5 cm 4 98 cm 4 33 in 2 95 in 1 96 in Environmental The NI Smart Camera is intended...

Page 67: ...ification column Electromagnetic Compatibility NI 177x Smart Cameras meet the following EMC standards for information technology equipment EN 55022 Emissions Group 1 Class A EN 55024 Immunity Basic Le...

Page 68: ...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...

Page 69: ...s 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 contro...

Page 70: ...the exposure ExposureTime DBL s 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 Spec...

Page 71: ...s 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 Spec...

Page 72: ...GeneratorEnable Bool Enables the specified pulse generator PulseGeneratorMode Enum Single Pulse Rearmed Pulse Pulse Train Gets or sets the mode of the selected pulse generator PulseGeneratorPolarity E...

Page 73: ...Specifies the counter source for the trigger delay TriggerDelayEdgeActivation Enum Rising Edge Falling Edge Specifies the activation for the trigger delay when configured for a delay TriggerMode Enum...

Page 74: ...m 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 Table B 1 Camer...

Page 75: ...m I O cable Table C 1 Power and I O Cables and Accessories Description Part Number Notes Starter Kit for NI 177x Smart Cameras 782043 01 Includes all parts listed in table C 1 Power and I O accessory...

Page 76: ...MP 780033 01 f 1 4 1 MP Ultra low distortion 16 mm lens Computar M1620 MPV 782023 01 f 2 0 2 3 in 3 MP Ultra low distortion 25 mm lens Computar M2518 MPV 782024 01 f 1 8 2 3 in 3 MP Ultra low distorti...

Page 77: ...ted 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 we...

Page 78: ...anufacturer s declaration of conformity This system affords the user protection for electromagnetic compatibility EMC and product safety You can obtain the DoC for your product by visiting ni com cert...

Page 79: ...pixels The number of light sensitive pixels on a CCD sensor B black level The value that corresponds to true black in the image C CCD Charge Coupled Device A chip that converts light into electronic s...

Page 80: ...itute of Electrical and Electronics Engineers A standard setting body I O Input output The transfer of data to from a computer system involving communications channels operator interface devices or da...

Page 81: ...ction by using a light emitter to transmit signals to a light receiver which then enables a signal current P pixel pitch The distance between the centers of adjacent pixels in either the horizontal or...

Page 82: ...not flow through an intermediate router SXGA sensor Super eXtended Graphics Array SXGA may refer to multiple resolutions SXGA sensors used with NI 177x Smart Cameras feature a resolution of 1 280 960...

Page 83: ...on of 640 480 pixels VI 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 W white level The...

Page 84: ...devices 4 1 NPN devices 4 3 outputs 4 3 power 1 3 sinking devices 4 4 sourcing devices 4 3 connectors 3 1 100 1G 3 4 I O 3 2 overview 3 1 power 3 2 3 4 VBA USB 3 5 conventions used in the manual ix D...

Page 85: ...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 M mounting information 8 1 N National Instruments support and services D 1 network c...

Page 86: ...g 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 Au...

Reviews: