Configuration & Usage
Configuration Setup
File Locations
After installation, the configuration file VxConfig.conf and VxExposure.yaml will be located at:
{PYTHON_SITEPAKAGES_PATH}\pyvizionsdk\VxConfig.conf
{PYTHON_SITEPAKAGES_PATH}\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.