get_modulesT_get_modulesGetModulesGetModulesget_modules (Operator)

Name

get_modulesT_get_modulesGetModulesGetModulesget_modules — Query of used modules and the module key.

Signature

get_modules( : : : UsedModules, ModuleKey)

Herror T_get_modules(Htuple* UsedModules, Htuple* ModuleKey)

void GetModules(HTuple* UsedModules, HTuple* ModuleKey)

static HTuple HSystem::GetModules(Hlong* ModuleKey)

static void HOperatorSet.GetModules(out HTuple usedModules, out HTuple moduleKey)

static HTuple HSystem.GetModules(out int moduleKey)

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

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