AVT相机arm版本SDK

This commit is contained in:
zhangpeng
2025-04-30 09:26:04 +08:00
parent 837c870f18
commit 78a1c63a95
705 changed files with 148770 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,69 @@
<?xml version="1.0" standalone="no" ?>
<Settings>
<!--
Use this to activate logging and set filename for logging (path can be absolute or relative to TL)
Default behavior if omitted: Logging is deactivated
-->
<!-- <LogFileName>&#37;TEMP&#37;\VimbaUSBTL.log</LogFileName> -->
<!--
Append messages to log file or reset log file at each transport layer restart (if logging is enabled)
True: Always append log messages
False: Reset log file at each transport layer restart
Default behavior if omitted: Reset log file at each transport layer restart
-->
<!-- <AppendLog>True</AppendLog> -->
<!--
Activate less pedantic function parameter checks (needed for some TL consumers)
True: Tolerant function parameter checks
False: Pedantic function parameter checks
Default behavior if omitted: Pedantic function parameter checks (GenTL compliant behavior)
-->
<TolerateTypeNullptr>True</TolerateTypeNullptr>
<!--
Emulate unsupported device access modes (needed for some TL consumers)
True: Emulation on
False: Emulation off
Default behavior if omitted: Emulation off (GenTL compliant behavior)
-->
<EmulateAccessModes>True</EmulateAccessModes>
<!--
Use manual maximum transfer count for USB transfers
Decimal and hexadecimal numbers (prefixed with "0x") can be used
Default behavior if omitted: Windows: 64
Linux: 31
-->
<!-- <MaxTransferCount>64</MaxTransferCount> -->
<!--
Use manual maximum transfer size (in bytes) for USB transfers
Decimal and hexadecimal numbers (prefixed with "0x") can be used
Default behavior if omitted: 262144
-->
<!-- <MaxTransferSize>262144</MaxTransferSize> -->
<!--
Number of frames to use for intermediate frame buffering. Values
greater than 0 mean that no zero copy is possible anymore.
Decimal and hexadecimal numbers (prefixed with "0x") can be used
Default behavior if omitted: 0 (No intermediate frame buffering)
-->
<!-- <DriverBuffersCount>3</DriverBuffersCount> -->
<!--
Set the folder in which remote device XML files will be cached
Default behavior if omitted: No XML files will be cached
-->
<!-- <XMLCacheFolder>XMLCache</XMLCacheFolder> -->
</Settings>

View File

@@ -0,0 +1,128 @@
===========================================================================
Vimba USB Transport Layer - Release Notes
Version: 1.4.1
Date: December 2021
===========================================================================
--------------------------------
Components and Version Reference
--------------------------------
Drivers
------
Vimba USB Driver 1.0.0
Vimba GenICam Transport Layer modules
-----------------------------------
USB Transport Layer (VimbaUSBTL.cti) 1.4.1*
Tools
-----
Vimba Driver Installer (VimbaDriverInstaller.exe) 1.1.9
---------------------
Hardware Requirements
---------------------
PC or laptop with 1 GHz 32-bit (x86) or 64-bit (x64) processor or better.
ARMv8-compatible 64-bit embedded system, for example, Jetson TX2.
Additionally, a built-in USB 3.0 controller for PCI Express bus is required.
Remark:
Testing has been performed on host controllers that are based on Intel chip
sets and Renesas chip sets. The driver may run on host controllers that
are based on chip sets from other vendors, too. Nevertheless for best
performance we highly recommend Intel chip sets.
However, if there are any problems please feel free to contact our Technical
Software Support (see below).
------------
Installation
------------
The Vimba USB Transport Layer is part of the Vimba SDK. For instructions on how
to install this module, please refer to the Vimba User Manual.
-------------------------------------------------------
Correlations with other Allied Vision Software Packages
-------------------------------------------------------
Please refer to the Vimba SDK Release Notes.
-------------------------------------------------------
Known issues
-------------------------------------------------------
MSI Uninstallation by new Windows 10 dialog "Apps&Features" is not supported by now.
Please use the old "Programs and Features" dialog.
---------------------------
Changes and release history
---------------------------
Changes in version 1.4.1:
-------------------------
- Fixed: software trigger for multiple cameras (error applied to Windows only)
Changes in version 1.4.0:
-------------------------
- Fixed: Reset cameras streaming state when opened (Endpoint Halt)
- New: Zero-Copy for Linux/libusb for better performance
- Updated 3rd-party libraries
Changes in version 1.3.0:
-------------------------
- Increased default MaxTransferSize value for better performance with current Linux versions
- Improved camera detection on Linux systems (plugin event handling)
Changes in version 1.2.2:
-------------------------
- Solved conflicts between customers' boost version and the internally used version
- Other internal bug fixes
Changes in version 1.2.1:
-------------------------
- Improved visibility of USB camera status
- Other bug fixes
Vimba Driver Installer
- Internal changes
Changes in version 1.2.0:
-------------------------
- GenTL 1.5 support
Changes in version 1.1.1:
-------------------------
USB Transport Layer
- Minor bug fixes
Installer and driver
- New certificates for installer and driver (Windows 7, Windows 8, and Windows 8.1)
Changes in version 1.1.0:
-------------------------
USB Transport Layer
- Minor bug fixes
- Added transport layer XML file caching
Changes in version 1.0.3:
-------------------------
USB Transport Layer
- Minor bug fixes
- Interface features DeviceDriverPath and DeviceLocation added
----------------------------------------
Allied Vision Technical Support
----------------------------------------
Contact us:
https://www.alliedvision.com/contact

65
Vimba_6_0/VimbaUSBTL/Install.sh Executable file
View File

@@ -0,0 +1,65 @@
#!/bin/sh
#==============================================================================
# Copyright (C) 2013 - 2017 Allied Vision Technologies. All Rights Reserved.
#
# Redistribution of this file, in original or modified form, without
# prior written consent of Allied Vision Technologies is prohibited.
#
#------------------------------------------------------------------------------
#
# File: Install.sh
#
# Description: Setup script for creating a startup script that exports the
# GENICAM_GENTL32_PATH and GENICAM_GENTL64_PATH variable
#
#------------------------------------------------------------------------------
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE,
# NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#==============================================================================
CWD=$(dirname $(readlink -f $0))
UNAME=$(uname -m)
if [ ${UNAME} = amd64 ] || [ ${UNAME} = x86_64 ]
then
ARCH=x86
elif [ ${UNAME} = aarch64 ]
then
ARCH=arm
else
echo "Error: Incompatible system architecture found." 1>&2
exit 1
fi
# Make sure our script is only being run with root privileges
if [ "$(id -u)" != "0" ];
then
echo "Error: This script must be run with root privileges." 1>&2
exit 1
fi
TL_NAME=VimbaUSBTL
PROFILE_FOLDER=/etc/profile.d
UDEV_FOLDER=/etc/udev/rules.d
TL_SCRIPT_64BIT=${PROFILE_FOLDER}/${TL_NAME}_64bit.sh
TL_PATH_64BIT=$CWD/CTI/${ARCH}_64bit
echo "Registering GENICAM_GENTL64_PATH"
printf "#!/bin/sh\n\n#Do not edit this file manually because it may be overwritten automatically.\nexport GENICAM_GENTL64_PATH=\$GENICAM_GENTL64_PATH:\"%s\"" $TL_PATH_64BIT > $TL_SCRIPT_64BIT
chmod +x $TL_SCRIPT_64BIT
UDEV_SCRIPT=${UDEV_FOLDER}/99-${TL_NAME}.rules
echo "Registering $TL_NAME device types"
printf "SUBSYSTEM==\"usb\", ACTION==\"add\", ATTRS{idVendor}==\"1ab2\", ATTRS{idProduct}==\"0001\", MODE=\"0666\"\nSUBSYSTEM==\"usb\", ACTION==\"add\", ATTRS{idVendor}==\"1ab2\", ATTRS{idProduct}==\"ff01\", MODE=\"0666\"\n" > $UDEV_SCRIPT
echo "Done"
echo "Please reboot before using the USB transport layer"

View File

@@ -0,0 +1,69 @@
#!/bin/sh
#==============================================================================
# Copyright (C) 2017 Allied Vision Technologies. All Rights Reserved.
#
# Redistribution of this file, in original or modified form, without
# prior written consent of Allied Vision Technologies is prohibited.
#
#------------------------------------------------------------------------------
#
# File: SetGenTLPath.sh
#
# Description: This script sets the GENICAM_GENTL32_PATH and
# GENICAM_GENTL64_PATH environment variable for the current shell
# only.
# This can become necessary when running a Vimba application under
# a not logged-in user like a service.
#
# Note: This script needs to be executed sourced. That is, using the
# same shell the application will be launched in. This is done
# by calling the script with the built-in shell command source
# or . (period), e.g. . SetGenTLPath.sh
#
#------------------------------------------------------------------------------
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE,
# NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#==============================================================================
CWD=$(dirname $(readlink -f $_))
UNAME=$(uname -m)
if [ ${UNAME} = aarch64 ]
then
ARCH=arm
elif [ ${UNAME} = amd64 ] || [ ${UNAME} = x86_64 ]
then
ARCH=x86
else
echo "
Error: Incompatible system architecture found." 1>&2
exit 1
fi
if [ "$_" = "$0" ]
then
echo "
Please asure to run this script using the 'source' shell command.
This is done through: '. SetGenTLPath.sh'
Please note the whitespace.
Further help can be found by typing 'help source' or 'help .' in your shell.
"
exit 1
fi
TL_PATH_64BIT=$CWD/CTI/${ARCH}_64bit
echo "
Setting the GENICAM_GENTL64_PATH to $TL_PATH_64BIT for this shell only."
export GENICAM_GENTL64_PATH=:$TL_PATH_64BIT
echo " Done
"

View File

@@ -0,0 +1,71 @@
#!/bin/sh
#==============================================================================
# Copyright (C) 2013 - 2017 Allied Vision Technologies. All Rights Reserved.
#
# Redistribution of this file, in original or modified form, without
# prior written consent of Allied Vision Technologies is prohibited.
#
#------------------------------------------------------------------------------
#
# File: Uninstall.sh
#
# Description: Setup script for deleting a startup script that exports the
# GENICAM_GENTL32_PATH and GENICAM_GENTL64_PATH variable
#
#------------------------------------------------------------------------------
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE,
# NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#==============================================================================
CWD=$(dirname $(readlink -f $0))
UNAME=$(uname -m)
if [ ${UNAME} = amd64 ] || [ ${UNAME} = x86_64 ]
then
ARCH=x86
elif [ ${UNAME} = aarch64 ]
then
ARCH=arm
else
echo "Error: Incompatible system architecture found." 1>&2
exit 1
fi
# Make sure our script is only being run with root privileges
if [ "$(id -u)" != "0" ];
then
echo "Error: This script must be run with root privileges." 1>&2
exit 1
fi
TL_NAME=VimbaUSBTL
PROFILE_FOLDER=/etc/profile.d
UDEV_FOLDER=/etc/udev/rules.d
TL_SCRIPT_64BIT=${PROFILE_FOLDER}/${TL_NAME}_64bit.sh
if [ -f $TL_SCRIPT_64BIT ]; then
echo "Unregistering GENICAM_GENTL64_PATH"
rm $TL_SCRIPT_64BIT
else
echo "Could not unregister $TL_NAME 64bit because it was not registered"
fi
UDEV_SCRIPT=${UDEV_FOLDER}/99-${TL_NAME}.rules
if [ -f $UDEV_SCRIPT ]; then
echo "Unregistering USB device types"
rm $UDEV_SCRIPT
else
echo "Could not unregister $TL_NAME device types because they were not registered"
fi
echo "Done"