Skip to content

get_modulesGetModulesGetModulesget_modulesT_get_modules🔗

Short description🔗

get_modulesGetModulesGetModulesget_modulesT_get_modules — Query of used modules and the module key.

Signature🔗

get_modules( out string UsedModules, out integer ModuleKey )void GetModules( HTuple* UsedModules, HTuple* ModuleKey )static void HOperatorSet.GetModules( out HTuple usedModules, out HTuple moduleKey )def get_modules( ) -> Tuple[Sequence[str], int]

Herror T_get_modules( Htuple* UsedModules, Htuple* ModuleKey )

static HTuple HSystem::GetModules( Hlong* ModuleKey )

static HTuple HSystem.GetModules( out int moduleKey )

Description🔗

get_modulesGetModules returns the modules UsedModulesusedModulesused_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 ModuleKeymoduleKeymodule_key. Each operator belongs to exactly one module. The information which modules where used can be reset by calling set_systemSetSystem with the 'reset_used_modules'"reset_used_modules" parameter.

Execution information🔗

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🔗

UsedModulesusedModulesused_modules (output_control) string-array → (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)

Names of used modules.

ModuleKeymoduleKeymodule_key (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Key for license manager.

Module🔗

Foundation