Troubleshooting the Smart Camera in Measurements & Automation Explorer (MAX)

Publish Date: Mar 06, 2017 | 2 Ratings | 4.50 out of 5 | Print | 1 Customer Review | Submit your review

Overview

This tutorial explains common troubleshooting steps when using the Smart Camera in Measurements & Automation Explorer (MAX). Topics covered include: the Smart Camera not powering on, the Smart Camera not appearing in MAX, the Smart Camera needs configuring in MAX, and the Smart Camera cannot acquire images.

Table of Contents

  1. Smart Camera Does Not Power on Properly
  2. Smart Camera does not appear in Measurement & Automation Explorer (MAX)
  3. Smart Camera appears in MAX with IP address 0.0.0.0
  4. Interface Name does not appear when the smart camera sub tree is expanded
  5. Smart Camera Status LED Displays an Error Code
  6. Related Links

1. Smart Camera Does Not Power on Properly

There are five LEDs on the top of the smart camera. The Power LED glows green when power is applied to the smart camera. If the Power LED does not turn on, follow the instructions in the cases below.

Case 1: Incorrect or Insufficient Power Supply

Make sure that the power supply being used is 24V DC and can provide at least 450 mA of current (800 mA of current when using the Direct Drive lighting). Also make sure that the power supply has reverse polarity protection enabled. For more information, refer to the Getting Started with the 17xx Smart Camera document.

Case 2:  Incorrectly Wired Power Supply

Make sure that the correct pins on the DSUB connector are wired. For reference, use Figure 1.


Figure 1. DSUB connector for 17xx Smart Camera

Case 3: Smart Camera requires repair

Your smart camera might be damaged. If cases 1 and 2 do not fix your problem, please contact National Instruments for further assistance.

 

Back to Top

2. Smart Camera does not appear in Measurement & Automation Explorer (MAX)

When you open MAX, you can expand the Remote Systems sub-tree to find the smart camera. If a smart camera is detected, it will appear under this sub-tree. Follow the instructions below if your computer is unable to detect the smart camera.

Case 1:  Smart Camera and development computer are on different subnets

In order for MAX to auto-detect the Smart Camera, it must be on the same subnet as the host computer. If the Smart Camera is on a different subnet from the host computer, then it is possible to add it in MAX if you know the IP address or host name of the Smart Camera.

To add the IP or host name of the Smart Camera manually in MAX, simply right click on Remote systems and choose Create New. Refer to Figure 2 for more details on this operation.


Figure 2. Adding the Smart Camera manually in MAX

When the Create New window opens, select Remote Device (not on local subnet) and click Next.  At the next window, enter the IP address or the host name of the Smart Camera.  Refer to Figure 3 for information on adding the host name or IP address of the Smart Camera.


Figure 3.  Adding the information to find the Smart Camera on the network

After clicking finish, MAX will begin to search for the Smart Camera. MAX will automatically add the Smart Camera under the “Remote Systems” tab after the Smart Camera has been located on the network.

If the IP address and the host name of the Smart Camera are unknown, then you must bring the Smart Camera to the same subnet as the host computer for initial setup.

Case 2: The Correct Software is Not Installed on the Host Computer:

In order for the Smart Camera to be recognized by MAX on the host computer, you need to first install NI-IMAQ 4.0 (or later), which is part of Vision Acquisition Software 8.5.1, on the host computer. Download the most recent Vision Acquisition Software bundle here.

Case 3:  Ethernet cable is plugged into wrong port:

By default, Ethernet Port 1 (the one closest to the 15-pin DSUB connector on the bottom of the Smart Camera) is used to connect the camera to the network or directly to a host computer.  MAX will not detect your smart camera if it is connected to the host computer through the Ethernet port 2. See Figure 4 or Figure 5 to determine if the correct Ethernet port is being used for the correct connection method.


Figure 4. Connecting the Smart Camera to a hub


Figure 5. Connecting the Smart Camera directly to a development computer

Case 4:  Smart Camera is Still Booting

The Smart Camera can take up to 60 seconds to fully boot. The Smart Camera will not show up in MAX if it is still booting. During the booting procedure, the LED’s on the smart camera will scroll back and forth until it is finished booting. When the status light is solid green, the camera is booted and ready to be found by MAX.

 

Back to Top

3. Smart Camera appears in MAX with IP address 0.0.0.0

The Smart Camera will have an IP address of 0.0.0.0 when it is powered on for the first time. It can be found by MAX with this IP but it will have to be configured in MAX before it can be used. 

Case 1: IP Reset switch is set to ON

Set the IP Reset DIP switch to the off position. The DIP Switches are located on the bottom left of the Smart Camera as shown in Figure 6. Move the IP Reset DIP Switch to the OFF position which is the opposite direction that the arrow to the right of the DIP switches is pointing.


Figure 6. DIP Switch location on the Smart Camera

Case 2: IP address has not been set

The first time the camera is powered on and every time the IP Reset switch is used, the Smart Camera will appear in MAX with the default IP configuration of 0.0.0.0 after it has finished booting. The IP information can be configured in MAX by selecting the smart camera under the Remote Systems tab in MAX. If a DHCP connection is desired, check “Obtain IP Address from DHCP Server” under the IP Settings frame. This will tell the Smart Camera to acquire an IP from the DHCP server. A screenshot of MAX is shown in Figure 7 that shows where to see the IP Settings frame.

 
Figure 7. MAX screenshot showing IP information

Note that if a DHCP server is not present and this setting is chosen, the Smart Camera will reboot every 60 seconds if it fails to obtain an IP address from the DHCP Server. After the third reboot, the camera will enter the unconfigured state of 0.0.0.0 as it was before the configuration was done.

If the Smart Camera is needs to use a static IP, the IP settings can be put in manually by selecting the “Edit the IP Settings” radio button.

 

Back to Top

4. Interface Name does not appear when the smart camera sub tree is expanded

Once you have discovered the smart camera by expanding Remote Systems, you can expand its sub-tree. When you expand the smart camera you should see the interface name. It is identified as Img0: 17xx. Click on the interface name to access the properties of the smart camera. Follow the instructions below if you do not see the interface name.

Case 1:  The Wrong Version of the Software Is Installed on Development Computer or Smart Camera

Make sure that Vision Acquisition 8.5.1 or later is installed on the development computer. For instructions on how to install the Vision Acquisition Software bundle, refer to ni.com/support. Also make sure that you have Vision RT 8.5 or later and IMAQ RT 4.0 or later installed on the Smart Camera. An example working software configuration window is shown in Figure 8.


Figure 8. Working software configuration on the Smart Camera

If the right software is not installed on the Smart Camera, Right click on the software tab under the Smart Camera and choose “Add/Remove Software.” When the Software window appears, right click on “NI-Vision RT 8.5” and choose install. Additionally choose to install “NI-IMAQ RT 4.0.0.” This procedure and the selections for the installation are also shown in Figure 9.


Figure 9. Installing software on the Smart Camera

Case 2: The IP address of the Smart Camera is not compatible with the network

The smart camera does not have an IP address that lets the host establish a connection. If the smart camera is on a network that supports DHCP, make sure the smart camera is assigned an IP address through the DHCP server. If you are on a corporate network that does not support DHCP, please contact your Network Administrator for a list of valid IP addresses and manually assign one of those IP addresses to the smart camera.

Case 3: Smart camera experienced an error

An operation has caused the Smart Camera to experience an error. The particular error being reported can be determined by examining the status LED. Please follow the instructions in the error codes section for further explanation of the different error codes.

 

Back to Top

5. Smart Camera Status LED Displays an Error Code

When the smart camera encounters an internal error or wishes to notify the user to a certain condition on the smart camera, it flashes the status LED in a predetermined pattern. The section below shows you the meaning of each of the patterns.

Case 1:  Status light flashes green once repeatedly

The Smart Camera’s IP address or software is unconfigured. The Smart Camera ships from the factory unconfigured. It also can enter an unconfigured state if it is configured to acquire an IP from a DHCP server and no DHCP server is present. To fix, connect to the camera in MAX and set the IP settings to match your application’s requirements.

 Case 2:  Status light flashes green twice repeatedly

The Smart Camera detects an error in the software configuration and has automatically booted into safe mode, regardless of if the Safe Mode DIP switch is ON or OFF. This can occur when an attempt to upgrade software fails or if system files are deleted from the Smart Camera.

To fix, reinstall the software on the Smart Camera by going to MAX and right-clicking on the software tab under the Smart Camera configuration and click “Add/Remove Software” as shown in Figure 10.


Figure 10. How to reinstall software on the Smart Camera

After the wizard appears, click on the icon to the left of the software name, and choose “Reinstall software.” This is shown in Figure 11.


Figure 11. Reinstalling software on the Smart Camera

Case 3: Status light flashes green three times repeatedly

The Smart Camera is in Safe Mode because the Safe Mode DIP switch is in the ON position. To return to normal operation, put the Safe Mode DIP switch into the OFF position. The DIP switches are found on the bottom of the Smart Camera.

Case 4:  Status light flashes green four times repeatedly

The Smart Camera has experienced two consecutive software exceptions. The Smart Camera will automatically restart after an exception. After the second straight exception, the Smart Camera remains in the exception state, alerting the user to resolve the problem.

To fix, reinstall the software on the Smart Camera by following the instructions on how to perform this in Case 3 of this section. If the error persists after a complete reinstall of all of the software, please contact National Instruments for further assistance.

Case 5:  Status light flashes green five times repeatedly

This error state occurs because the Smart Camera detects a critical error. To fix, reinstall the software on the Smart Camera by following the instructions on how to perform this in Case 3 of this section. If the error persists after a complete reinstall of all of the software, please contact National Instruments for further assistance.

Case 6:  Status Light flashes red constantly:

The Smart Camera detects a software crash or hang. To fix, format the Smart Camera and reinstall the software.  If the error persists, please contact National Instruments for further assistance.

Case 7:  Status light is solid red constantly

The Smart Camera detects a critical boot ROM error. Please contact National Instruments for further assistance.

 

Back to Top

6. Related Links

 

Back to Top

Customer Reviews
1 Review | Submit your review

Configure IP address not working  - May 27, 2008

Need better system of assigning IP address to Smart Camera. This the second time I have had problems linking to the same Camera. This problem is very frustrating and time consuming. I have wasted over two hours and followed all the instructions without any success. Max does not recognize the Smart Camera, nor does the Vision Builder AI, even after a IP Address is assigned. I think I will have to retyrn all this software and hardware unless a fix is immediately available.

Bookmark & Share


Ratings

Rate this document

Answered Your Question?
Yes No

Submit