get_system_infoget_system_infoGetSystemInfoGetSystemInfoget_system_info (Operator)
Name
get_system_infoget_system_infoGetSystemInfoGetSystemInfoget_system_info
— Get current value of system information without requiring a license.
Signature
def get_system_info(query: MaybeSequence[str]) -> Sequence[Union[int, float, str]]
def get_system_info_s(query: MaybeSequence[str]) -> Union[int, float, str]
Description
The operator get_system_infoget_system_infoGetSystemInfoGetSystemInfoGetSystemInfoget_system_info
returns information concerning the
currently activated HALCON system parameters. Unlike the very similar
get_systemget_systemGetSystemGetSystemGetSystemget_system
, get_system_infoget_system_infoGetSystemInfoGetSystemInfoGetSystemInfoget_system_info
can be called without a valid
license.
get_system_infoget_system_infoGetSystemInfoGetSystemInfoGetSystemInfoget_system_info
supports a subset of the parameters supported by
get_systemget_systemGetSystemGetSystemGetSystemget_system
. The list of available parameters can be obtained by
calling get_system_infoget_system_infoGetSystemInfoGetSystemInfoGetSystemInfoget_system_info
with the parameter
'available_parameters'"available_parameters""available_parameters""available_parameters""available_parameters""available_parameters". For more information about the parameters,
please refer to the reference documentation of get_systemget_systemGetSystemGetSystemGetSystemget_system
and
set_systemset_systemSetSystemSetSystemSetSystemset_system
.
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
QueryQueryQueryQueryqueryquery
(input_control) attribute.name(-array) →
HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Desired system parameter.
Default value:
'available_parameters'
"available_parameters"
"available_parameters"
"available_parameters"
"available_parameters"
"available_parameters"
List of values: '3d_model_dir'"3d_model_dir""3d_model_dir""3d_model_dir""3d_model_dir""3d_model_dir", 'available_license_files'"available_license_files""available_license_files""available_license_files""available_license_files""available_license_files", 'available_parameters'"available_parameters""available_parameters""available_parameters""available_parameters""available_parameters", 'bundle_version'"bundle_version""bundle_version""bundle_version""bundle_version""bundle_version", 'byte_order'"byte_order""byte_order""byte_order""byte_order""byte_order", 'current_license_info'"current_license_info""current_license_info""current_license_info""current_license_info""current_license_info", 'disabled_operators'"disabled_operators""disabled_operators""disabled_operators""disabled_operators""disabled_operators", 'edition'"edition""edition""edition""edition""edition", 'example_dir'"example_dir""example_dir""example_dir""example_dir""example_dir", 'expiration_date'"expiration_date""expiration_date""expiration_date""expiration_date""expiration_date", 'failed_license_rechecks'"failed_license_rechecks""failed_license_rechecks""failed_license_rechecks""failed_license_rechecks""failed_license_rechecks", 'file_version'"file_version""file_version""file_version""file_version""file_version", 'halcon_64'"halcon_64""halcon_64""halcon_64""halcon_64""halcon_64", 'halcon_arch'"halcon_arch""halcon_arch""halcon_arch""halcon_arch""halcon_arch", 'halcon_dir'"halcon_dir""halcon_dir""halcon_dir""halcon_dir""halcon_dir", 'halcon_xl'"halcon_xl""halcon_xl""halcon_xl""halcon_xl""halcon_xl", 'help_dir'"help_dir""help_dir""help_dir""help_dir""help_dir", 'hostids'"hostids""hostids""hostids""hostids""hostids", 'hostname'"hostname""hostname""hostname""hostname""hostname", 'image_dir'"image_dir""image_dir""image_dir""image_dir""image_dir", 'is_license_valid'"is_license_valid""is_license_valid""is_license_valid""is_license_valid""is_license_valid", 'language'"language""language""language""language""language", 'last_update'"last_update""last_update""last_update""last_update""last_update", 'library_fullname'"library_fullname""library_fullname""library_fullname""library_fullname""library_fullname", 'licensed_hostid'"licensed_hostid""licensed_hostid""licensed_hostid""licensed_hostid""licensed_hostid", 'licensed_modules'"licensed_modules""licensed_modules""licensed_modules""licensed_modules""licensed_modules", 'licensed_version'"licensed_version""licensed_version""licensed_version""licensed_version""licensed_version", 'operating_system'"operating_system""operating_system""operating_system""operating_system""operating_system", 'operating_system_version'"operating_system_version""operating_system_version""operating_system_version""operating_system_version""operating_system_version", 'parallel_halcon'"parallel_halcon""parallel_halcon""parallel_halcon""parallel_halcon""parallel_halcon", 'product_edition'"product_edition""product_edition""product_edition""product_edition""product_edition", 'revision'"revision""revision""revision""revision""revision", 'unlicensed_operators'"unlicensed_operators""unlicensed_operators""unlicensed_operators""unlicensed_operators""unlicensed_operators", 'version'"version""version""version""version""version"
InformationInformationInformationInformationinformationinformation
(output_control) attribute.value(-array) →
HTupleSequence[Union[int, float, str]]HTupleHtuple (integer / real / string) (int / long / double / string) (Hlong / double / HString) (Hlong / double / char*)
Current value of the system parameter.
Result
The operator get_system_infoget_system_infoGetSystemInfoGetSystemInfoGetSystemInfoget_system_info
returns the value 2 (H_MSG_TRUE) if the parameters
are correct. Otherwise an exception is raised.
See also
get_systemget_systemGetSystemGetSystemGetSystemget_system
Module
none