The installation of pylon for Linux is described in the INSTALL text document.



Similar documents
Installation Guide for Basler pylon 2.3.x for Linux

Configuring Your Computer and Network Adapters for Best Performance

Interfacing Basler GigE Cameras With Cognex VisionPro 7.2

The Elements of GigE Vision

APPLICATION NOTE. How to build pylon applications for ARM

General system requirements

ebus Player Quick Start Guide

Quick Start Guide GigE Vision Single-Head Controller

User Manual Gigabit Ethernet Vision Quick Start Guide

BASLER ACE QUICK INSTALLATION GUIDE

Technical Support Information Belkin internal use only

GEVPlayer. Quick Start Guide

How To Install A Basler Aviator Gige Camera

System Requirements - filesmart

COGNEX. Cognex Vision Software. GigE Vision Cameras. User s Guide

Wavelink Client License Server Version 4.0 Reference Guide

Cognex Vision Software

Network/Floating License Installation Instructions

PMOD Installation on Linux Systems

Overview. Proven Image Quality and Easy to Use Without a Frame Grabber. Your benefits include:

Basler scout AREA SCAN CAMERAS

pco.interface GigE & USB Installation Guide

Sockets vs. RDMA Interface over 10-Gigabit Networks: An In-depth Analysis of the Memory Traffic Bottleneck

CREW - FP7 - GA No Cognitive Radio Experimentation World. Project Deliverable D7.5.4 Showcase of experiment ready (Demonstrator)

FREQUENTLY ASKED QUESTIONS

DE4 NetFPGA Packet Generator Design User Guide

IX Support Tool Setting Manual

new Business Online Technical Troubleshooting Guide

Basler pilot AREA SCAN CAMERAS

PMOD Installation on Windows Systems

Basler. Line Scan Cameras

Konica Minolta s Optimised Print Services (OPS)

Basler. Area Scan Cameras

Configuring MailArchiva with Insight Server

USB 2.0 Flash Drive User Manual

Configuring Windows 7 64 bit for AutoVISION

Dell SupportAssist Version 2.0 for Dell OpenManage Essentials Quick Start Guide

10 STEPS TO YOUR FIRST QNX PROGRAM. QUICKSTART GUIDE Second Edition

Zing Vision. Answering your toughest production Java performance questions

APPLICATION NOTE. Getting Started with pylon and OpenCV

c. Securely insert the Ethernet cable from your cable or DSL modem into the Internet port (B) on the WGT634U. Broadband modem

HP Photosmart Wireless series - B109

Advantech WebAccess Device Driver Guide. BwSNMP Advantech WebAccess to SNMP Agent (Simple Network Management Protocol) Device Driver Guide

How To Use A Gigabit Network Camera With A Microsoft Memory Card With A Memory Card For A Microtune On A Microsatellite (Solar Microtron) With A Power Card On A Mini-Turbine (A

Analyze Traffic with Monitoring Interfaces and Packet Forwarding

Network Projector Operation Guide

General Pipeline System Setup Information

Host Configuration (Linux)

Digi Port Authority- Remote. Setup Guide _A

Scope of operation and highlight of the microenable GigE Vision frame grabber family

Visio Enabled Solution: One-Click Switched Network Vision

1000Mbps Ethernet Performance Test Report

Release Notes for Epilog for Windows Release Notes for Epilog for Windows v1.7/v1.8

Troubleshooting Guide

TECHNICAL NOTE. Technical Note P/N REV 03. EMC NetWorker Simplifying firewall port requirements with NSR tunnel Release 8.

INTERNAL USE ONLY (Set it to white if you do not need it)

Practice Fusion API Client Installation Guide for Windows

Tue Apr 19 11:03:19 PDT 2005 by Andrew Gristina thanks to Luca Deri and the ntop team

11.1. Performance Monitoring

How to install PowerChute Network Shutdown on VMware ESXi 3.5, 4.0 and 4.1

Eclipse installation, configuration and operation

ebus SDK 3.0 General Availability (GA) Release Notes Introduction What s New in Release 3.0?

dnstap: high speed DNS logging without packet capture Robert Edmonds Farsight Security, Inc.

Basler racer. Line Scan Cameras. Next generation CMOS sensors with 2k to 12k resolution and up to 80 khz line rate

Windows Vista /Windows 7 Installation Guide

CDH installation & Application Test Report

EXPLORING LINUX KERNEL: THE EASY WAY!

LAB THREE STATIC ROUTING

Basler beat AREA SCAN CAMERAS. High-resolution 12 MP cameras with global shutter

HP Photosmart C4700 series

Network Licensing. White Paper 0-15Apr014ks(WP02_Network) Network Licensing with the CRYPTO-BOX. White Paper

Measure wireless network performance using testing tool iperf

SmartPTT File Transfer User's Guide. Version 2.0

VMWARE WHITE PAPER 1

The Monitis Monitoring Agent ver. 1.2

PATROL Console Server and RTserver Getting Started

Moxa Device Manager 2.0 User s Guide

Quareo ICM Server Software

The full setup includes the server itself, the server control panel, Firebird Database Server, and three sample applications with source code.

OPTOFORCE INSTALLATION GUIDE

Partek Flow Installation Guide

Network Diagnostic Tools. Jijesh Kalliyat Sr.Technical Account Manager, Red Hat 15th Nov 2014

Supermicro Ethernet Switch Performance Test Straightforward Public Domain Test Demonstrates 40Gbps Wire Speed Performance

Ekran System Help File

Signiant Agent installation

Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013

LOREX CLIENT 2.2 Integrated Remote Agent Software

Guideline for setting up a functional VPN

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Adobe LiveCycle Data Services 3 Performance Brief

Yamaha Audio Network Monitor User Guide

Installing an Omnicast System Omnicast version 3.5

Quick Guide: Troubleshooting Info from SNAP PAC Systems

Hacking. Aims. Naming, Acronyms, etc. Sources

Network Imaging Package for Sapera LT

Iomega ix2-dl Users Guide D

QUICK START LINUX AGENT INSTALLATION, CONFIGURATION AND TROUBLESHOOTING GUIDELINES

Transcription:

pylon 4 Camera Software Suite for Linux for Use with Basler Gigabit Ethernet(GigE) and Basler USB 3.0 Cameras (U3V) ==== System Requirements ==== GigE ---- A GigE network adapter that supports jumbo frames is recommended. For best performance, we recommend using an adapter from the Intel PRO 1000 series. Although the pylon software will work with any GigE network adapter, we observed a significantly higher CPU load when grabbing image data with network adapters other than from the recommended Intel PRO 1000 series. USB --- For U3V devices a USB3-capable USB controller is necessary. For best performance and stability we highly recommend a kernel version >= 3.13.x Installation The installation of pylon for Linux is described in the INSTALL text document. Performance Optimization ========= To increase performance and to minimize CPU usage when grabbing images, the following settings should be considered: GigE Devices ------------ * Enable Jumbo Frames. Many GigE network adapters support so-called jumbo frames, i.e., network packets larger than the usual 1500 bytes. To enable jumbo frames, the maximum transfer unit (MTU) size of the PC's network adapter must be set to a high value (see the description in the INSTALL document). We recommend using a value of 8192. * Increase the packet size. When jumbo frames are enabled, the camera's packet size must be increased to benefit from the larger packets. The 'Optimizing Packet Size' section of the INSTALL document describes how to set the packet size. * Real-time Priority The GigE Vision implementation of Basler pylon software uses a thread for receiving image data. Basler pylon tries to set the thread priority for the receive thread to real-time thread priority. This requires certain permissions. The 'Permissions for Real-time Thread Priorities' section of the INSTALL document describes how to grant the required permissions. U3V Devices ----------- * Increasing Packet Size For faster USB transfers you should increase the packet size. You can do this by changing the "Stream Parameters" -> "Maximum Transfer Size" value from inside the pylon Viewer or by setting the corresponding value via the API. After increasing the package size you will likely run out of kernel space and see corresponding error messages on the console. The default value set by the kernel is 16 MB. To set the value (in this example to 1000 MB) you can execute as root: echo 1000 > /sys/module/usbcore/parameters/usbfs_memory_mb This would assign a maximum of 1000 MB to the USB stack. * Zerocopy

The current linux kernel (3.14) requires one copy operation to transfer USB data from the device to user-memory. On slower devices this leads to significant cpu overhead. To overcome this issue Basler prepared a kernel patch, which allows direct transfer of USB data to user memory (Zerocopy). This patch is currently in experimental state and we will provide patched kernel packages for selected distributions. Ask our support team (support.europe@baslerweb.com) for binaries and/or the patch if you would like to test zerocopy functionality. Documentation The installation archive includes a "doc" sub-folder containing the pylon Programmer's Guide and API reference documentation. Open the index.html file with an internet browser. Sample Programs The installation archive includes a set of sample programs. These sample programs are simple command line programs showing the basic pylon use cases. They are located in the "Samples" folder. The folder contains a top-level Makefile that can be used to build the different sample programs. Before calling "make" you must setup your environment for pylon to find the necessary dependencies: cd Samples source <path to pylon>/bin/pylon-setup-env.sh <path to pylon> make Camera Emulator In addition to the GigE Vision transport layer, this release contains a transport layer able to create simple camera emulator devices that allow you to develop applications without having a physical camera device attached. The emulator has very limited functionality, but is able to create test images for different bit depths. The number of available emulator devices can be controlled by exporting the PYLON_CAMEMU environment variable. For example, export PYLON_CAMEMU=2 will provide two emulator devices. These devices are accessible both by using the pylon API and the pylon Viewer program. When PYLON_CAMEMU is not set, no emulator devices are provided. Troubleshooting GigE Devices ------------ * Problem: I can't see my camera in the pylon Viewer, even after waiting for more than one minute. (Note: Depending on the camera's and adapter's IP configuration it can take up to one minute until a valid IP address is assigned to the camera.) Solution: Start the Basler IP Configurator (/opt/pylon4/bin/ipconfigurator). Is the camera shown by the IP Configurator? If "yes", the camera's IP address is in a different subnet than the network adapter's IP address. Both, the camera and the network adapter, must use IP addresses within the same subnet. Refer to the INSTALL document for the IP address setup.

If "no", the most likely reason is an enabled firewall. As described in the INSTALL document, disable the firewall for those network adapters cameras will be connected to. If you don't have a firewall, enabled reverse-path filtering in the kernel may prevent detection of the camera. Refer to the next problem description for further details. * Problem: The IP Configurator can't see my camera. I'm not able to reconfigure the camera to make it visible again. Solution: First make sure you don't have a firewall enabled on your network interface the camera is connected to. If you still can't see the camera, reverse path filtering in the kernel may prevent the IP Configurator to detect the camera. On some Linux distributions reverse path filtering may prevent the discovery of GigE Vision cameras. This can happen if the camera's IP is not within the same subnet as the network adapter the camera is attached to. Normally the IP Configurator can handle this by using broadcasts to discover the camera on any subnet. Reverse-path filtering may prevent the IP Configurator to receive the answer from the broadcast which in turn prevents the IP Configurator from detecting the camera. To check whether filtering is turned on, run the following command: sysctl -a 2>/dev/null grep '\.rp_filter' in the output look for the following lines: net.ipv4.conf.all.rp_filter=1 net.ipv4.conf.eth1.rp_filter=1 where "eth1" is the network adapter the camera is connected to. The "net.ipv4.conf.all.rp_filter" is a global switch which must be turned off. The "net.ipv4.conf.eth1.rp_filter" tells whether filtering for the specified network adapter is activated. To disable filtering, you must first turn off filtering for "all" and the specific network interface (in this sample "eth1"). Use the following commands to change the filtering behavior at runtime: sudo sysctl net.ipv4.conf.all.rp_filter=0 sudo sysctl net.ipv4.conf.eth1.rp_filter=0 Restart the IP Configurator and check whether the camera(s) are detected. Reconfigure the camera(s) and use "Write Configuration" to make your changes persistent. You can re-enable filtering by executing the same commands but set a value of 1. If you want to turn off filtering permanently, you can edit the same values in /etc/sysctl.conf. * Problem: When grabbing images, the CPU load is higher than expected. Solution: Ensure that jumbo frames are enabled and large network packets are used as described above in the 'Performance Optimization' section. * Problem: Grabbing images leads to errors with error code 0x81010014. This error code indicates that the PC received incomplete images, i.e., network packets have been dropped. Solution 1: Ensure that jumbo frames are enabled as described above in the 'Performance Optimization' section. Also make sure that the camera's packet size is set to a high value, if possible 8192. Solution 2: Increase the maximum UDP receive buffer size to a value that is large enough, e.g. by issuing the sudo sysctl net.core.rmem_max = 2097152 command. This allows pylon to increase the socket buffer size to 2 MB to ensure a stable image acquisition. To make this setting persistent, you can add the net.core.rmem_max setting to the /etc/sysctl.conf file. Solution 3: Ensure that the application has the required permissions to set the pylon receive thread's priority to real-time thread priority as described in the INSTALL document. Solution 4: Check the cable. For GigE, Cat 5e cables are recommended. Poor cable quality or damaged cables can lead to unrecoverable transmission errors.

Solution 5: The amount of data produced by the camera(s) exceeds the amount of bandwidth the network adapter(s) or the PC can provide. Reduce the camera frame rate by increasing the camera's "Inter Packet Delay" parameter. When using the pylon API, the inter packet delay is controlled via the GevSCPD parameter. * Problem: The pylon Viewer seems to acquire images but no images are displayed. Solution 1: Start the pylon Viewer from the command line to see if the viewer prints out any messages. Solution 2: The viewer only receives incomplete frames. In that case, error messages such as "Failed to grab image: GX status 0x81010014" are displayed. Please refer to the previous problem for tips about how to solve this issue. Solution 3: No error messages are printed out. All data packets transmitted from the camera seem to be discarded. Make sure that the camera's current packet size doesn't exceed the network adapter's MTU size. If the packet size is less than or equal to the MTU size, but greater than 1500, stop image acquisition and set the camera's packet size to 1500. Restart image acquisition. If an image is displayed using this packet size, either jumbo frames are not enabled on the network adapter or the adapter doesn't support jumbo frames. Solution 3: Grabbing images is failing for other reasons. Please report the error messages printed out by the viewer to Basler technical support. U3V Devices ----------- * Problem: The camera is not found during enumeration. Solution: Check the user permissions on the device. You must have read/write permissions. See the output of ls -lr /dev/bus/usb to check if you have read/write permissions. To setup the correct udev rules, execute:./setup-usb.sh from within the directory containing this README. Known Issues ============ * Same IP address for camera and network interface. If the camera has been assigned a permanent IP address that equals the address assigned to the network adapter, the camera will not be accessible, even when using the IP Configurator. Either change the network adapter's address or use a different PC to assign a different IP address to the camera. * Error messages are printed by the pylon Viewer when image acquisition is stopped. When the pylon Viewer is started from a command line and image acquisition is stopped, the Viewer prints out error messages such as "Failed to grab image: GX status 0x81010017". This diagnostic output indicates that image buffers have been cancelled by the pylon GigE vision library on user request instead of being filled with image data. This is expected behavior. Version Infos The pylon libraries have been built using the following tools. Linux x86 32bit/64bit:

These binaries are build with the Linux standard base (lsb) SDK version 4.1 This is roughly the equivalent to: libc-2.4.so libstdc++.so.6.0.6 Linux armel (soft float): Architecture: armv5t libc-2.8.so libstdc++.so.6.0.10 Linux armhf (hard float): Architecture: armv6 libc-2.9.so libstdc++.so.6.0.13