Package: pygigev
PyGigE-VMinimal Python wrapper for Teledyne DALSA's GigE-V FrameworkA python wrapper for some of the GigE-V Framework API methods which work withTeledyne Dalsa Cameras.
This is meant for use on Linux systems. I am not sure if this would work on other operating systems.
This was forked fromjcramer/pyGigE-V.
This fork fixes some bugs and ports the code to python3.
The code tested to work on python3, Ubuntu 18.04, Genie Nano camera, and GigE-V-Framework_2.10.0.0157Installing GigE-V Framework for LinuxGo to Teledyne Dalsa's download page for the GigE-V Framework for Linux athttps://www.teledynedalsa.com/en/support/downloads-center/software-development-kits/132/Last accessed on 22 Feb 2019 version 2.10.0.0157Download the GigE-V Framework (includes documentation) file.Once you have downloaded the file extract it.In the folder you should see a bunch of implementations for different architectures mainlyaarch64 64-bit ARMv8 is used in NVIDIA's JetsonARMhf (arm hard float) 32-bit ARMv7.This refers to ARM processors with hardware floating point support. Beaglebone Black is one exampleARMsf (arm soft float) 32-bit ARMv7. this refers to arm processors without hardware floating point, these processors emulates floats in softwarex86 this refers to Intel and AMD processors both 32bits and 64bitsExtract the appropriate DALSA folder into home directoryYou will need to install the following prerequisite libraries. On Ubuntu:$ sudo apt install gcc g++ make libx11-dev libxext-dev libgtk-3-dev libglade2-0 libglade2.dev libpcap0.8 libcap2 ethtoolOnce you have installed the libraries navigate to home$ cd ~
$ cd DALSARun the install script this should be sufficient for installation./corinstallCheck if your installation works by running you should see$ lsgev
[MACADDRESS]@[IPADDRESS] on eth0=[IPADDRESS]  # FOR EXAMPLEIf environment variables are not added, you may add them manually. Access .bashrc if you are using bash and add the following variables at the end of the file. Save and restart the shell and the changes should take effect.# DALSA Environment Variables
export GENICAM_ROOT_V3_0="/opt/genicam_v3_0"
export GENICAM_CACHE_V3_0="/var/opt/genicam/xml/cache"
export GENICAM_LOG_CONFIG_V3_0="/opt/genicam_v3_0/log/config-unix"
export GIGEV_XML_DOWNLOAD="/usr/dalsa/GigeV"If you cannot connect to your camera if it is connected via ethernet you will need to edit the network settings. Under IPv4 settings > IPv4 Method, set the connection type as Link Local Only. Under IPv6 settings > IPv6 Method select disable. Give it some time and the camera should eventually be detected. Don't forget to select the connection. Check if the cameras are detected using lsgev command$ lsgevInstalling Python Package from PYPIpip install pygigevInstalling Python Package from source repoDownload this repository locallyMake sure you have the build tools readRunpython setup.py installat the repo's root dirTest by runningpython test.pyexampleExtending this module using Cython (for developemnt)Install GigE-V framework 2.02https://www.teledynedalsa.com/imaging/products/software/linux-gige-v/Download this repository locallyInstall cython viapip install CythonChange the USE_CYTHON flag toTruein the setup.py fileBuild the module usingpython setup.py build_ext --inplacetest by runningpython test.pyexample