get_modulesT_get_modulesGetModulesGetModulesget_modules (Operator)
Name
get_modulesT_get_modulesGetModulesGetModulesget_modules
— Query of used modules and the module key.
Signature
def get_modules() -> Tuple[Sequence[str], int]
Description
get_modulesget_modulesGetModulesGetModulesGetModulesget_modules
returns the modules UsedModulesUsedModulesUsedModulesUsedModulesusedModulesused_modules
that were used
up to this point in the HALCON session. Based on the used modules, a key
is generated that is returned in ModuleKeyModuleKeyModuleKeyModuleKeymoduleKeymodule_key
. Each operator belongs
to exactly one module.
The information which modules where used can be reset by calling
set_systemset_systemSetSystemSetSystemSetSystemset_system
with the 'reset_used_modules'"reset_used_modules""reset_used_modules""reset_used_modules""reset_used_modules""reset_used_modules" parameter.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
UsedModulesUsedModulesUsedModulesUsedModulesusedModulesused_modules
(output_control) string-array →
HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of used modules.
ModuleKeyModuleKeyModuleKeyModuleKeymoduleKeymodule_key
(output_control) integer →
HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Key for license manager.
Module
Foundation