Provides classes and functions to discover and enumerate devices, interfaces, and GenTL producer libraries, allowing users to query available hardware and system modules.
More...
Provides classes and functions to discover and enumerate devices, interfaces, and GenTL producer libraries, allowing users to query available hardware and system modules.
◆ CollectCTIPaths()
| std::vector< std::string > peak::core::EnvironmentInspector::CollectCTIPaths |
( |
| ) |
|
|
inlinestatic |
Collects producer library paths found in the current environment.
Select a *.cti file from this list of paths and use it with ProducerLibrary::Open().
- Note
- This function depends on the architecture your application is compiled for. This means you are getting the paths for the 32-bit producer libraries if your application is compiled for a 32-bit system and the paths for the 64-bit producer libraries if your application is compiled for a 64-bit system.
- Returns
- Producer library paths found in the current environment
- Since
- 1.0
- Exceptions
-
| InternalErrorException | An internal error has occurred. |
| NotFoundException | The environment variable GENICAM_GENTL32_PATH / GENICAM_GENTL64_PATH was not found or was empty when scanning for environment ProducerLibraries. |