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_modulesGetModulesGetModulesget_modules
returns the modules UsedModulesUsedModulesUsedModulesusedModulesused_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 ModuleKeyModuleKeyModuleKeymoduleKeymodule_key
. Each operator belongs
to exactly one module.
The information which modules where used can be reset by calling
set_systemset_systemSetSystemSetSystemset_system
with the '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
UsedModulesUsedModulesUsedModulesusedModulesused_modules
(output_control) string-array →
HTupleSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Names of used modules.
ModuleKeyModuleKeyModuleKeymoduleKeymodule_key
(output_control) integer →
HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Key for license manager.
Module
Foundation