Software Environment Configuration

Install Client

The SDK has 2 installation packages for different environment: (x86_64 and i386). You should select suitable installation package according to actual hardware environment. For details, contact the technical support.
Installation Steps:
  1. Get the system root authority before client installation: sudo su or su root.
  2. Installation packages in two packeting modes are provided: xxxx.deb and xxxx.tar.gz. The installation methods are as follows:
    a. xxxx.deb: Open the folder where the MVS installation package locates, and use sudo dpkg -i xxxx.deb to install the client.
    b. xxxx.tar.gz: Open the folder where the client installation package locates, and use tar –xzvf xxxx.tar.gz to unzip the installation package. Then open the unzipped folder, and run the installation script source ./setup.sh .
  3. The client is installed in the path /opt/(software name). After the installation, the client folder will contain the following files: bin, doc, driver, include, lib, logserver, MVFG, Samples (might be different for different versions).
  4. Run (software name).sh in the folder /bin to check if the client is installed properly.

Development Folder Contents

By default, the client is installed in the path of /opt. After installation, folder client contains the folder Development, of which the contents are as below:
  • bin (Executable file)
  • doc (Programming documents)
  • driver (GigE camera drive files)
  • Include (Header files)
  • Lib (lib files)
  • license (License file)
  • logserver (Log server)
  • MVFG (Frame grabber files and sample programs)
  • Samples (Sample programs)

Install the Driver

The GigE camera driver and frame grabber driver will be installed simultaneously when installing the client. You can also install or uninstall it in the following ways:
  1. Install the driver: Run ./load.sh in /driver/gige .
    Run ./load.sh in /driver/pcie to install frame grabber driver.
  2. Uninstall the driver: Run ./unload.sh in /driver/gige .
    Run ./unload.sh in /driver/pcie to uninstall frame grabber driver.

Disable Firewall

If cameras cannot be enumerated in Linux operating system, you should disable the firewall. Refer to the following methods to disable firewall in different Linux systems:
  1. Ubuntu
    The firewall on Ubuntu is disabled by default.
  2. Centos7
    Disable temporarily: service firewalld stop or systemctl stop firewalld
    Disable permanently: chkconfig firewalld off
  3. RedHat7
    Disable temporarily: service firewalld stop or systemctl stop firewalld
    Disable permanently: chkconfig firewalld off

NIC Configuration

It is recommended to enable jumbo frame in Linux. Refer to the following methods (only for reference):
  1. Enable temporarily: ifconfig eth0 mtu 9000
  2. Enable permanently: write "ifconfig eth0 mtu 9000" to the last line of /opt/run_driver.sh, and it takes effect after restarting.

Attention
eth0 is a NIC name, and varies in different systems.
9000 indicates the maximum size of the received packet, and the packet with maximum size may not be received by older NIC, you should set the size according to actual situation, and set the GevSCPSPacketSize node set to the actual size.

Script Description

  1. set_env_path.sh:Set environment variable, and add dynamic link library to PATH environment variable.
  2. set_rp_filter.sh:Disable rpfilter to enumerate the camera when the camera and PC are in different IP segments.
  3. set_socket_buffer_size.sh:For GigE packet loss, you can increase socket buffer to reduce the packet loss.
  4. set_usb_priority.sh:Set udev rule to use USB 3.0 device when the user has no administrator permission.
  5. set_usbfs_memory_size.sh:Set USB buffer to connect multiple USB 3.0 devices with ultra HD resolution.
  6. set_sdk_version.sh:Generate SDK soft links.
Attention
  • For GigE camera, it is recommended to enable jumbo frame, set MTU to 9000 and increase socket buffer (set_socket_buffer_size.sh).
  • For USB 3.0 camera, it is recommended to set the USB buffer (set_usbfs_memory_size.sh).