DHCP or Link Local IP Network Configuration - Camera
Caution
The correct instructions for network configuration will depend on your SDK version. Choose your SDK version in the top left drop-down.
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 ~45 seconds).
Caution
When configuring, ensure that you don’t physically connect multiple cameras with the same IP address at a time.
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
Open a terminal/Command Prompt.
Connect a Zivid Two camera.
Verify that your camera is found by running:
C:\> ZividListCameras.exe
$ ZividListCameras
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-2234AB12:
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-2234AB12
$ ZividNetworkCameraConfigurator set-config 172.28.60.5 --dhcp --hostname zivid-2234AB12
Note
The hostname (optional) is limited to maximum 15 characters.
Disconnect the camera.
If you are configuring IP addresses of multiple cameras, repeat steps 2 to 5.
If you are using Cameras.yml
It is highly recommended to use hostnames when using a dynamic IP. If not you have to list all possible IP addresses in
Cameras.yml
, or find the IP address assigned to the camera and list them. When you use hostnames you only have to list the expected hostnames, and it doesn’t matter if the IP address is reassigned.Go to Cameras.yml and how to restrict discoverable cameras for more information about
Cameras.yml
.Before you connect the camera
Make sure a DHCP is not active on the network.
Connect your camera(s), and then wait > 45 seconds.
Make sure a DHCP is active on the network. You can host your own, see DHCP Network Configuration - PC.
Connect your camera(s).
You have now configured the camera for either link-local or DHCP. If you haven’t configured the PC for either link-local or DHCP, go to Link Local IP Network Configuration - PC or DHCP Network Configuration - PC before going onwards. If you have done that, go to Discovering and connecting to the camera.