• Choose version
  • Knowledge base
  • Products
  • Downloads
  • Webshop
  • Zivid.com
Logo

Getting Started

  • User Guide
  • Software Installation
    • Zivid Two Network Configuration
      • Default configuration
      • How does Zivid SDK find the camera?
      • Custom configuration, single or multiple cameras
        • Static
        • Dynamic
          • DHCP or Link Local IP Network Configuration - Camera
            • Help/Menu
            • Enable DHCP mode on the camera
          • Link Local IP Network Configuration - PC
          • DHCP Network Configuration - PC
    • About GPU
    • Software Upgrade
  • Quick Capture Tutorial
  • Studio Guide

Academy

  • Camera
  • Applications

Software

  • Wrappers
  • Capture Tutorial
  • Samples
  • API Reference

Reference Articles

  • Camera Settings
  • Calculators
  • Hardware
  • General Camera Topics
  • General 3D Topics

Support

  • FAQ
  • Troubleshooting
  • Contact Us
  • KB Version History
ZIVID KNOWLEDGE BASE
  • »
  • Software Installation »
  • Zivid Two Network Configuration »
  • DHCP or Link Local IP Network Configuration - Camera

DHCP or Link Local IP Network Configuration - Camera

  • Help/Menu

  • Enable DHCP mode on the camera

The CLI tool ZividNetworkCameraConfigurator allows you to change the camera network configuration of one camera at a time. This tool is installed alongside the Zivid SDK on Windows, and with the zivid-tools package on Ubuntu. If you are unsure whether this tool has been installed, follow the Software Installation guide. The camera can be configured in static IP mode or DHCP mode (defaults to link-local after ~15 seconds).

Caution

When configuring, ensure that you physically connect only one camera with the same IP at a time.

Help/Menu

To view the help text with information about all inputs and outputs, type

C:\> ZividNetworkCameraConfigurator.exe -h
$ ZividNetworkCameraConfigurator -h

Enable DHCP mode on the camera

  1. Open a terminal/Command Prompt.

  2. Connect a Zivid Two camera.

  3. Verify that your camera is found by running:

    C:\> ZividListCameras.exe
    
    $ ZividListCameras
    
  4. Enable DHCP mode on camera:

    To set the camera in DHCP mode, type:

    C:\> ZividNetworkCameraConfigurator.exe set-config <host> --dhcp [--hostname <hostname>]
    
    $ ZividNetworkCameraConfigurator set-config <host> --dhcp [--hostname <hostname>]
    

    For example, changing to DHCP with hostname zivid-two:

    Note

    The default hostname has the following format: zivid-serialnumber, e.g., zivid-2234AB12.

    C:\> ZividNetworkCameraConfigurator.exe set-config 172.28.60.5 --dhcp --hostname zivid-two
    
    $ ZividNetworkCameraConfigurator set-config 172.28.60.5 --dhcp --hostname zivid-two
    

    Note

    The hostname (optional) is limited to maximum 15 characters.

  5. Disconnect the camera.

  6. If you are configuring IP addresses of multiple cameras, repeat steps 2 to 5.

    For multiple cameras, we recommend that you give each camera a unique hostname. Make sure each hostname is listed in Cameras.yml.

    For example:

    __version__: 1
    Cameras:
        NetworkCameras:
            - NetworkCamera:
                Host: zivid-two
            - NetworkCamera:
                Host: zivid-two-alt-1
            - NetworkCamera:
                Host: zivid-two-alt-2
            - NetworkCamera:
                Host: zivid-two-2022C0DE
    

    Path to Cameras.yml

    mkdir %LOCALAPPDATA%\Zivid\API
    move %HOMEPATH%\Downloads\Cameras.yml %LOCALAPPDATA%\Zivid\API\
    

    Path to Cameras.yml

    mkdir --parents $XDG_CONFIG_HOME/Zivid/API
    mv ~/Downloads/Cameras.yml $XDG_CONFIG_HOME/Zivid/API/
    

    Caution

    If $XDG_CONFIG_HOME is not set use $HOME/.config.

    Caution

    Zivid configuration files must use .yml file extension ( not .yaml).

  7. Before you connect the camera

    1. Make sure a DHCP is not active on the network.

    2. Connect your camera(s), and then wait > 15 seconds.

    1. Make sure a DHCP is active on the network. You can host your own, see DHCP Network Configuration - PC.

    2. Connect your camera(s).

  8. Verify that your camera is found by running:

    C:\> ZividListCameras.exe
    
    $ ZividListCameras
    

    Alternatively, run the info command to try to connect to an IP or hostname. If successful it prints serial number and MAC address.

    C:\> ZividNetworkCameraConfigurator.exe info <host>
    
    $ ZividNetworkCameraConfigurator info <host>
    

Once you have configured both the camera and the PC (Link-Local or DHCP) you can open Zivid Studio and the camera will be found automatically.

Tip

In case you cannot find your camera after IP configuration, do a network reset.

  1. Locate the reset button below the power connector.

  2. Use the pointed end of a paper clip or something similar to press and hold the button for 5 to 10 (no longer!) seconds until the LED goes from red to green.

  3. The camera will go back to its factory default IP 172.28.60.5.

Do not hold the reset button too long (more than 10 seconds) because that will reset the camera firmware. In case of an unwanted firmware reset, you might have to do a Firmware Update.

Previous Next

© Copyright Copyright 2015-2022 (C) Zivid AS.

Built with Sphinx using a theme provided by Read the Docs.

Links

  • Knowledge base
  • Products
  • Downloads
  • Webshop

Follow Us

  • Twitter
  • Facebook
  • LinkedIn
  • YouTube

Contact us

  • Zivid.com
  • Gjerdrums vei 10A
  • NO0484 Oslo, Norway
  • +47 21 02 24 72