ClassesClasses | | Operators

set_systemset_systemSetSystemSetSystem (Operator)

Name

set_systemset_systemSetSystemSetSystem — Set HALCON system parameters.

Signature

set_system( : : SystemParameter, Value : )

Herror set_system(const char* SystemParameter, const char* Value)

Herror T_set_system(const Htuple SystemParameter, const Htuple Value)

void SetSystem(const HTuple& SystemParameter, const HTuple& Value)

static void HSystem::SetSystem(const HTuple& SystemParameter, const HTuple& Value)

static void HSystem::SetSystem(const HString& SystemParameter, const HString& Value)

static void HSystem::SetSystem(const char* SystemParameter, const char* Value)

static void HOperatorSet.SetSystem(HTuple systemParameter, HTuple value)

static void HSystem.SetSystem(HTuple systemParameter, HTuple value)

static void HSystem.SetSystem(string systemParameter, string value)

Description

The operator set_systemset_systemSetSystemSetSystemSetSystem allows to change different system parameters.

Parallelization information: Note that some of these parameters are set exclusively only, meaning they block other threads until no other operators are accessing the HALCON library.

Available system parameters:

Attention

Note that despite the information under 'Parallelization' concerning the multithreading type, not all parameters are reentrant. Operators that are followed by '*)' are set exclusively only.

Execution Information

Parameters

SystemParameterSystemParameterSystemParameterSystemParametersystemParameter (input_control)  attribute.name(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Name of the system parameter to be changed.

Default value: 'init_new_image' "init_new_image" "init_new_image" "init_new_image" "init_new_image"

List of values: '3d_model_dir'"3d_model_dir""3d_model_dir""3d_model_dir""3d_model_dir", 'add_progress_callback'"add_progress_callback""add_progress_callback""add_progress_callback""add_progress_callback", 'alloctmp_max_blocksize'"alloctmp_max_blocksize""alloctmp_max_blocksize""alloctmp_max_blocksize""alloctmp_max_blocksize", 'alloctmp_min_blocksize'"alloctmp_min_blocksize""alloctmp_min_blocksize""alloctmp_min_blocksize""alloctmp_min_blocksize", 'avx2_enable'"avx2_enable""avx2_enable""avx2_enable""avx2_enable", 'avx512bw_enable'"avx512bw_enable""avx512bw_enable""avx512bw_enable""avx512bw_enable", 'avx512cd_enable'"avx512cd_enable""avx512cd_enable""avx512cd_enable""avx512cd_enable", 'avx512dq_enable'"avx512dq_enable""avx512dq_enable""avx512dq_enable""avx512dq_enable", 'avx512er_enable'"avx512er_enable""avx512er_enable""avx512er_enable""avx512er_enable", 'avx512f_enable'"avx512f_enable""avx512f_enable""avx512f_enable""avx512f_enable", 'avx_enable'"avx_enable""avx_enable""avx_enable""avx_enable", 'backing_store'"backing_store""backing_store""backing_store""backing_store", 'border_shape_models'"border_shape_models""border_shape_models""border_shape_models""border_shape_models", 'cancel_draw_result'"cancel_draw_result""cancel_draw_result""cancel_draw_result""cancel_draw_result", 'clip_region'"clip_region""clip_region""clip_region""clip_region", 'clock_mode'"clock_mode""clock_mode""clock_mode""clock_mode", 'current_runlength_number'"current_runlength_number""current_runlength_number""current_runlength_number""current_runlength_number", 'database'"database""database""database""database", 'default_font'"default_font""default_font""default_font""default_font", 'do_low_error'"do_low_error""do_low_error""do_low_error""do_low_error", 'empty_region_result'"empty_region_result""empty_region_result""empty_region_result""empty_region_result", 'example_dir'"example_dir""example_dir""example_dir""example_dir", 'extern_alloc_funct'"extern_alloc_funct""extern_alloc_funct""extern_alloc_funct""extern_alloc_funct", 'extern_free_funct'"extern_free_funct""extern_free_funct""extern_free_funct""extern_free_funct", 'filename_encoding'"filename_encoding""filename_encoding""filename_encoding""filename_encoding", 'flush_file'"flush_file""flush_file""flush_file""flush_file", 'flush_graphic'"flush_graphic""flush_graphic""flush_graphic""flush_graphic", 'global_mem_cache'"global_mem_cache""global_mem_cache""global_mem_cache""global_mem_cache", 'graphic_stack_size'"graphic_stack_size""graphic_stack_size""graphic_stack_size""graphic_stack_size", 'height'"height""height""height""height", 'help_dir'"help_dir""help_dir""help_dir""help_dir", 'icon_name'"icon_name""icon_name""icon_name""icon_name", 'image_cache_capacity'"image_cache_capacity""image_cache_capacity""image_cache_capacity""image_cache_capacity", 'image_dir'"image_dir""image_dir""image_dir""image_dir", 'image_dpi'"image_dpi""image_dpi""image_dpi""image_dpi", 'init_new_image'"init_new_image""init_new_image""init_new_image""init_new_image", 'int2_bits'"int2_bits""int2_bits""int2_bits""int2_bits", 'int_zooming'"int_zooming""int_zooming""int_zooming""int_zooming", 'language'"language""language""language""language", 'legacy_handle_mode'"legacy_handle_mode""legacy_handle_mode""legacy_handle_mode""legacy_handle_mode", 'lut_dir'"lut_dir""lut_dir""lut_dir""lut_dir", 'max_connection'"max_connection""max_connection""max_connection""max_connection", 'mmx_enable'"mmx_enable""mmx_enable""mmx_enable""mmx_enable", 'neighborhood'"neighborhood""neighborhood""neighborhood""neighborhood", 'no_object_result'"no_object_result""no_object_result""no_object_result""no_object_result", 'ocr_trainf_version'"ocr_trainf_version""ocr_trainf_version""ocr_trainf_version""ocr_trainf_version", 'opengl_compatibility_mode_enable'"opengl_compatibility_mode_enable""opengl_compatibility_mode_enable""opengl_compatibility_mode_enable""opengl_compatibility_mode_enable", 'opengl_context_cache_enable'"opengl_context_cache_enable""opengl_context_cache_enable""opengl_context_cache_enable""opengl_context_cache_enable", 'opengl_hidden_surface_removal_enable'"opengl_hidden_surface_removal_enable""opengl_hidden_surface_removal_enable""opengl_hidden_surface_removal_enable""opengl_hidden_surface_removal_enable", 'parallelize_operators'"parallelize_operators""parallelize_operators""parallelize_operators""parallelize_operators", 'pregenerate_shape_models'"pregenerate_shape_models""pregenerate_shape_models""pregenerate_shape_models""pregenerate_shape_models", 'read_halcon_files_encoding_fallback'"read_halcon_files_encoding_fallback""read_halcon_files_encoding_fallback""read_halcon_files_encoding_fallback""read_halcon_files_encoding_fallback", 'reentrant'"reentrant""reentrant""reentrant""reentrant", 'remove_progress_callback'"remove_progress_callback""remove_progress_callback""remove_progress_callback""remove_progress_callback", 'seed_rand'"seed_rand""seed_rand""seed_rand""seed_rand", 'sse2_enable'"sse2_enable""sse2_enable""sse2_enable""sse2_enable", 'sse3_enable'"sse3_enable""sse3_enable""sse3_enable""sse3_enable", 'sse41_enable'"sse41_enable""sse41_enable""sse41_enable""sse41_enable", 'sse42_enable'"sse42_enable""sse42_enable""sse42_enable""sse42_enable", 'sse_enable'"sse_enable""sse_enable""sse_enable""sse_enable", 'ssse3_enable'"ssse3_enable""ssse3_enable""ssse3_enable""ssse3_enable", 'store_empty_region'"store_empty_region""store_empty_region""store_empty_region""store_empty_region", 'temporary_mem_cache'"temporary_mem_cache""temporary_mem_cache""temporary_mem_cache""temporary_mem_cache", 'temporary_mem_reservoir'"temporary_mem_reservoir""temporary_mem_reservoir""temporary_mem_reservoir""temporary_mem_reservoir", 'temporary_mem_reservoir_size'"temporary_mem_reservoir_size""temporary_mem_reservoir_size""temporary_mem_reservoir_size""temporary_mem_reservoir_size", 'thread_num'"thread_num""thread_num""thread_num""thread_num", 'thread_pool'"thread_pool""thread_pool""thread_pool""thread_pool", 'timer_mode'"timer_mode""timer_mode""timer_mode""timer_mode", 'tsp_alloctmp_max_blocksize'"tsp_alloctmp_max_blocksize""tsp_alloctmp_max_blocksize""tsp_alloctmp_max_blocksize""tsp_alloctmp_max_blocksize", 'tsp_alloctmp_min_blocksize'"tsp_alloctmp_min_blocksize""tsp_alloctmp_min_blocksize""tsp_alloctmp_min_blocksize""tsp_alloctmp_min_blocksize", 'tsp_cancel_draw_result'"tsp_cancel_draw_result""tsp_cancel_draw_result""tsp_cancel_draw_result""tsp_cancel_draw_result", 'tsp_clip_region'"tsp_clip_region""tsp_clip_region""tsp_clip_region""tsp_clip_region", 'tsp_current_runlength_number'"tsp_current_runlength_number""tsp_current_runlength_number""tsp_current_runlength_number""tsp_current_runlength_number", 'tsp_empty_region_result'"tsp_empty_region_result""tsp_empty_region_result""tsp_empty_region_result""tsp_empty_region_result", 'tsp_height'"tsp_height""tsp_height""tsp_height""tsp_height", 'tsp_init_new_image'"tsp_init_new_image""tsp_init_new_image""tsp_init_new_image""tsp_init_new_image", 'tsp_legacy_handle_mode'"tsp_legacy_handle_mode""tsp_legacy_handle_mode""tsp_legacy_handle_mode""tsp_legacy_handle_mode", 'tsp_neighborhood'"tsp_neighborhood""tsp_neighborhood""tsp_neighborhood""tsp_neighborhood", 'tsp_no_object_result'"tsp_no_object_result""tsp_no_object_result""tsp_no_object_result""tsp_no_object_result", 'tsp_store_empty_region'"tsp_store_empty_region""tsp_store_empty_region""tsp_store_empty_region""tsp_store_empty_region", 'tsp_temporary_mem_cache'"tsp_temporary_mem_cache""tsp_temporary_mem_cache""tsp_temporary_mem_cache""tsp_temporary_mem_cache", 'tsp_temporary_mem_reservoir'"tsp_temporary_mem_reservoir""tsp_temporary_mem_reservoir""tsp_temporary_mem_reservoir""tsp_temporary_mem_reservoir", 'tsp_thread_num'"tsp_thread_num""tsp_thread_num""tsp_thread_num""tsp_thread_num", 'tsp_width'"tsp_width""tsp_width""tsp_width""tsp_width", 'update_lut'"update_lut""update_lut""update_lut""update_lut", 'use_window_thread'"use_window_thread""use_window_thread""use_window_thread""use_window_thread", 'width'"width""width""width""width", 'write_halcon_files_encoding'"write_halcon_files_encoding""write_halcon_files_encoding""write_halcon_files_encoding""write_halcon_files_encoding", 'x_package'"x_package""x_package""x_package""x_package"

ValueValueValueValuevalue (input_control)  attribute.value(-array) HTupleHTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)

New value of the system parameter.

Default value: 'true' "true" "true" "true" "true"

Suggested values: 'true'"true""true""true""true", 'false'"false""false""false""false", 0, 4, 8

Result

The operator set_systemset_systemSetSystemSetSystemSetSystem returns the value 2 (H_MSG_TRUE) if the parameters are correct. Otherwise an exception will be raised.

Possible Predecessors

reset_obj_dbreset_obj_dbResetObjDbResetObjDbResetObjDb, get_systemget_systemGetSystemGetSystemGetSystem, set_checkset_checkSetCheckSetCheckSetCheck

See also

get_systemget_systemGetSystemGetSystemGetSystem, set_checkset_checkSetCheckSetCheckSetCheck, count_secondscount_secondsCountSecondsCountSecondsCountSeconds

Module

Foundation


ClassesClasses | | Operators