Skip to main content

Configuration & Usage


Configuration Setup

File Locations

After installation, the configuration file VxConfig.conf and VxExposure.yaml will be located at:

  • Windows:

    C:\Users\{UserName}\AppData\Local\Programs\Python{version}\Lib\site-packages\pyvizionsdk\VxConfig.conf
    C:\Users\{UserName}\AppData\Local\Programs\Python{version}\Lib\site-packages\pyvizionsdk\VxExposure.yaml

  • Linux, NXP-iMX, NVIDIA-Jetpack6.x and later:

    ~/.local/lib/python{version}/site-packages/pyvizionsdk/VxConfig.conf
    ~/.local/lib/python{version}/site-packages/pyvizionsdk/VxExposure.yaml

File Descriptions

  • VxConfig: A configuration file used by pyvizionsdk to recognize TechNexion camera series.
  • VxExposure: A YAML file defining the default minimum and maximum exposure time values for each sensor and resolution.
tip

You can also customize the location of VxConfig.conf and VxExposure.yaml by setting the VIZIONSDK_CONFIG_PATH environment variable.


Usage

Import the pyvizionsdk library and test if the installation is successful:

import pyvizionsdk

# Test the library import
pyvizionsdk.HelloVizionSDK()
# Output:
# Hello VizionSDK!
# Version: {VizionSDK Version}

For more detailed information and advanced usage, please refer to the API documentation or the examples on GitHub.