Static IP Network Configuration - PC

Caution

The correct instructions for network configuration will depend on your SDK version. Choose your SDK version in the bottom left drop-down.

This guides you through how to set the static IP of the network card that interfaces your camera. You can configure it to match the default configuration of the camera, or to a custom static IP. If you want to configure it to a custom IP outside the subnet range of the camera, you first have to configure the camera to match this.

Single camera

Navigate to:

Control PanelNetwork and InternetNetwork and Sharing CenterChange adapter settings

../../../_images/adapter-settings-windows.png

Right click on your network connection and chose Properties.

Then, find Internet Protocol Version 4 (TCP/IPv4) and open its Properties.

../../../_images/ipv4-properties-windows.png

Select Use the following IP address and configure your network interface (card/adapter), and choose an IP address that is in the same subnet as the camera. E.g. for a camera with default configuration, this would be:

  • IP address: 172.28.60.2

  • Subnet mask: 255.255.255.0

    ../../../_images/set-ip-address-windows.png

Caution

You might need to bring down and up your network interface after this step. Right click on your network connection, choose Disable, right click again and choose Enable.

Note

Capture time on Windows can occasionally be longer (about 1 second longer than normal) due to ethernet packet loss leading to data re-transmits. You can reduce the occurrence of packet loss by increasing receive and transmit buffers.

Navigate to Device ManagerNetwork adapters. Right click on your network adapter and press Properties. Under Advanced, increase Receive Buffers and Transmit Buffers.

../../../_images/windows_network_adapter_buffer_size.png

Once you have configured the static IP of your PC to be in the same subnet as your camera, go back to Discovering and connecting to the camera.

Multiple cameras

The configuration for multiple cameras extends the single camera configuration, so make sure you have understood how to configure for a single camera before going forward.

There are two cases in the multiple camera setup:

  • Multiple cameras connected to multiple network cards

  • Multiple cameras connected to the same network card via a switch

Tip

Two cameras connected to two separate network interface cards can potentially provide higher speed. This is because they will not have to share network bandwidth. There may be a bottleneck on the PC driver/application side, but at least the cameras do not share the same physical network.

In both cases, you also have to do a custom configuration of the cameras. Follow Static IP Network Configuration - Camera to do this.

Network configuration for two Zivid Two cameras connected to two separate network interface cards.

If you use multiple cameras connected to multiple network interface cards then they should not exist on the same subnet. For example, if the subnet mask is 255.255.255.0, at least one bit in the first 24 bits must be different. Using the default configuration as an example, the network card configurations would be:

Network interface card one:

  • Address to: 172.28.60.2

  • Netmask to: 255.255.255.0

Network interface card two:

  • Address to: 172.28.61.2

  • Netmask to: 255.255.255.0

If the camera has the default IP address 172.28.60.5, it must be configured while connected to a network interface card with the IP address 172.28.60.2. Hence, at least one network interface card must first be configured to 172.28.60.2. You may follow the same procedure for each combination of network interface card and camera, but you may also configure all cameras via one network interface card. For the latter case you must remember which IP address you assign to which camera, and move the physical connection to the relevant network interface card after configuration.

Once you have configured the static IP of your PC to be in the same subnet as your cameras, go back to Discovering and connecting to the camera.