| Table of Contents / System / Parameters | Operators |
get_system — Get current value of HALCON system parameters.
get_system( : : Query : Information)
The operator get_system returns information concerning the currently activated HALCON system parameters.
Readable and Writable Parameters
get_system returns information about all parameters that are set with set_system except for the parameter 'graphic_colors'. For more information on read- and writeable parameters, please refer to the reference documentation of set_system.
Read-Only Parameters
The following system parameters can be queried:
Versions:
The currently used variant of HALCON: HALCON XL, which allows images larger than 32767 x 32767 ('true') or HALCON, which restricts the maximal image size to 32767 x 32767 ('false').
HALCON version number, e.g.: 10.0.
Creation date of the HALCON library.
Revision number of the HALCON library, e.g.: 1.
Upper Limits:
Maximum number of input parameters.
Maximum number of output parameters.
Maximum number of input control parameters.
Maximum number of output control parameters.
Maximum number of windows.
Maximum number of window systems.
Maximum number of HALCON procedures (system defined + user defined).
Graphic:
Returns the value that may have been set with set_window_attr('window_title',...). If nothing has been set yet, the string 'default' is returned.
Parallelization:
Returns the number of processors that HALCON has found on the hardware it is running on.
Returns the number of threads the last operator was using for automatic parallelisation. Only operators that were run by the calling thread and support automatic parallelization are considered. Note that using this parameter in HDevelop works only in run mode, not in single step mode.
Returns all split levels the last operator was using for automatic parallelisation. Only operators that were run by the calling thread and support automatic parallelization are considered. If the last operator was not parallelized, the string 'false' is returned. Note that using this parameter in HDevelop works only in run mode, not in single step mode.
Other:
The host IDs of the computer that can be used for licensing HALCON.
Total number of the available HALCON procedures ('num_sys_proc' + 'num_user_proc').
Number of the system procedures (supported procedures).
Number of the user defined procedures (see also 'Extension Package Programmer's Manual').
Byte order of the processor ('msb_first' or 'lsb_first').
Name of the operating system of the computer on which the HALCON process is being executed. Note that for all Windows versions, 'Windows NT' is returned. Use the parameter 'operating_system_version' to query the precise version.
Version number of the operating system of the computer on which the HALCON process is being executed. To decode the Windows version numbers, please refer to the website information on operating systems and version numbers provided by Microsoft.
Name of the HALCON architecture of the running HALCON process.
Path to the currently loaded HALCON library including the file name.
Amount of temporary memory used by the last operator in byte. The return value is only defined if set_check('memory') was called before.
Flag, if the processor supports MMX operations ('true') or not ('false').
Flag, if the processor supports SSE2 operations ('true') or not ('false').
Desired system parameter.
Default value: 'width'
List of values: 'alloctmp_max_blocksize', 'backing_store', 'border_shape_models', 'byte_order', 'cancel_draw_result', 'clip_region', 'clock_mode', 'current_runlength_number', 'database', 'default_font', 'do_low_error', 'empty_region_result', 'extern_alloc_funct', 'extern_free_funct', 'filename_encoding', 'flush_file', 'flush_graphic', 'global_mem_cache', 'halcon_arch', 'halcon_xl', 'height', 'help_dir', 'hostids', 'icon_name', 'image_cache_capacity', 'image_dir', 'image_dpi', 'init_new_image', 'int2_bits', 'int_zooming', 'language', 'last_update', 'library_fullname', 'lut_dir', 'max_connection', 'max_inp_ctrl_par', 'max_inp_obj_par', 'max_outp_ctrl_par', 'max_outp_obj_par', 'max_proc', 'max_window', 'max_window_types', 'mmx_enable', 'mmx_supported', 'neighborhood', 'no_object_result', 'num_graphic_2', 'num_graphic_4', 'num_graphic_6', 'num_graphic_8', 'num_graphic_percentage', 'num_gray_4', 'num_gray_6', 'num_gray_8', 'num_gray_percentage', 'num_proc', 'num_sys_proc', 'num_user_proc', 'ocr_trainf_version', 'operating_system', 'operating_system_version', 'parallelize_operators', 'pregenerate_shape_models', 'processor_num', 'reentrant', 'revision', 'sse2_enable', 'sse2_supported', 'store_empty_region', 'temp_mem', 'temporary_mem_cache', 'thread_num', 'thread_pool', 'timer_mode', 'tsp_cancel_draw_result', 'tsp_clip_region', 'tsp_current_runlength_number', 'tsp_empty_region_result', 'tsp_height', 'tsp_init_new_image', 'tsp_neighborhood', 'tsp_no_object_result', 'tsp_store_empty_region', 'tsp_thread_num', 'tsp_used_split_levels', 'tsp_used_thread_num', 'tsp_width', 'update_lut', 'version', 'width', 'window_name', 'x_package'
Current value of the system parameter.
The operator get_system returns the value 2 (H_MSG_TRUE) if the parameters are correct. Otherwise an exception is raised.
Foundation
| Table of Contents / System / Parameters | Operators |
| HALCON Reference Manual 10.0.2 | Copyright © 1996-2011 MVTec Software GmbH |