Please enable JavaScript to view this site.

IDS peak 2.10.0 / uEye+ firmware 3.34

IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.

You can find information on setting up PyCharm at https://www.jetbrains.com/help/pycharm/getting-started.html

Requirements

1.Install IDS peak.

oWindows
The installation of the IDS peak runtime setup is sufficient for the exclusive use of Python. If you also want to use IDS peak Cockpit, you must install the IDS peak standard setup.

oLinux
If you use the archive package (tgz file), you must execute the {ARCHIVE_INSTALL_ROOT}/local/scripts/ids_install_udev_rule.sh script with administrator privileges (sudo) to set the appropriate permissions for USB access.
Without the udev rules you have to execute the scripts with sudo -E LD_LIBRARY_PATH=... python3 script.py (-E to obtain the environment, but this does not work for the LD_LIBRARY_PATH).

2.Install the Python bindings for IDS peak.

Creating a project

hint_info

PyCharm uses a "virtual environment" for Python, which isolates the environment from the system or user installation.

1.Open PyCharm.

2.Create a new project in PyCharm.

Fig. 275: New project in PyCharm

Fig. 275: New project in PyCharm

3.Replace the automatically created main.py e.g. with the quick start example of the ids_peak package or with your own code.

4.Linux: Edit the project configuration.

5.Install the IDS peak Python bindings.

6.After the packages have been successfully installed, click on the run icon pycharm-icon-run-main in the top right of the main bar to execute the script.

Possible error sources under Linux

© 2024 IDS Imaging Development Systems GmbH